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
{
"mcpServers": {
"astron": {
"serverUrl": "https://mcp.astron.design",
"headers": { "Authorization": "Bearer ${env:ASTRON_KEY}" }
}
}
}Zed
{
"context_servers": {
"astron": {
"command": { "path": "npx", "args": ["-y", "@astron/mcp"], "env": { "ASTRON_KEY": "ast_live_…" } }
}
}
}VS Code
{
"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:
{
"astron": {
"command": "npx",
"args": ["-y", "@astron/mcp"],
"env": { "ASTRON_KEY": "ast_live_…" }
}
}