Skip to content
VS Code

alephant mcp for VS Code

io.github.alephantai/alephant-mcp

Alephant MCP server for AI cost control, BYO-key routing, 50+ providers, and 320+ models.

client:VS Code transport:stdio runtime:npm

Install alephant mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "alephant-api-base-url",
      "description": "ALEPHANT_API_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alephant-virtual-key",
      "description": "ALEPHANT_VIRTUAL_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alephant-pat",
      "description": "ALEPHANT_PAT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alephant-workspace-id",
      "description": "ALEPHANT_WORKSPACE_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "alephant-rate-limit-rpm",
      "description": "ALEPHANT_RATE_LIMIT_RPM",
      "password": true
    }
  ],
  "servers": {
    "alephant-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "${input:alephant-api-base-url}",
        "ALEPHANT_VIRTUAL_KEY": "${input:alephant-virtual-key}",
        "ALEPHANT_PAT": "${input:alephant-pat}",
        "ALEPHANT_WORKSPACE_ID": "${input:alephant-workspace-id}",
        "ALEPHANT_RATE_LIMIT_RPM": "${input:alephant-rate-limit-rpm}"
      }
    }
  }
}

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

alephant mcp in other clients