Skip to content
Docs / Other MCP clients

Other MCP clients

Any client that speaks MCP can use Astron. Use the hosted URL when the client supports streamable HTTP, and the stdio bridge when it does not.

HTTP or stdio

HTTP: point the client at https://mcp.astron.design with an Authorization: Bearer header. Stdio: run npx -y @astron/mcp with ASTRON_KEY in its environment. Both expose the same six tools.

Windsurf

~/.codeium/windsurf/mcp_config.jsonjson
{
  "mcpServers": {
    "astron": {
      "serverUrl": "https://mcp.astron.design",
      "headers": { "Authorization": "Bearer ${env:ASTRON_KEY}" }
    }
  }
}

Zed

~/.config/zed/settings.jsonjson
{
  "context_servers": {
    "astron": {
      "command": { "path": "npx", "args": ["-y", "@astron/mcp"], "env": { "ASTRON_KEY": "ast_live_…" } }
    }
  }
}

VS Code

.vscode/mcp.jsonjson
{
  "servers": {
    "astron": {
      "type": "http",
      "url": "https://mcp.astron.design",
      "headers": { "Authorization": "Bearer ${env:ASTRON_KEY}" }
    }
  }
}

Anything else

Most clients accept this shape for a stdio server:

mcp configjson
{
  "astron": {
    "command": "npx",
    "args": ["-y", "@astron/mcp"],
    "env": { "ASTRON_KEY": "ast_live_…" }
  }
}