Skip to content
VS Code

astral mcp for VS Code

io.github.davidmosiah/astral-mcp

Precision-audited astrology MCP: natal charts, transits, synastry, moon phases. No API key.

client:VS Code transport:stdio runtime:npm

Install astral mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "astral-mcp-transport",
      "description": "ASTRAL_MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "astral-mcp-host",
      "description": "ASTRAL_MCP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "astral-mcp-port",
      "description": "ASTRAL_MCP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "astral-mcp-allowed-origin",
      "description": "ASTRAL_MCP_ALLOWED_ORIGIN",
      "password": true
    }
  ],
  "servers": {
    "astral-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "astral-mcp"
      ],
      "env": {
        "ASTRAL_MCP_TRANSPORT": "${input:astral-mcp-transport}",
        "ASTRAL_MCP_HOST": "${input:astral-mcp-host}",
        "ASTRAL_MCP_PORT": "${input:astral-mcp-port}",
        "ASTRAL_MCP_ALLOWED_ORIGIN": "${input:astral-mcp-allowed-origin}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

astral mcp in other clients