Skip to content
Grok

alephant mcp for Grok

io.github.alephantai/alephant-mcp

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

client:Grok transport:stdio runtime:npm

Install alephant mcp in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "alephant-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@alephantai/mcp"
      ],
      "env": {
        "ALEPHANT_API_BASE_URL": "<ALEPHANT_API_BASE_URL>",
        "ALEPHANT_VIRTUAL_KEY": "<ALEPHANT_VIRTUAL_KEY>",
        "ALEPHANT_PAT": "<ALEPHANT_PAT>",
        "ALEPHANT_WORKSPACE_ID": "<ALEPHANT_WORKSPACE_ID>",
        "ALEPHANT_RATE_LIMIT_RPM": "<ALEPHANT_RATE_LIMIT_RPM>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

alephant mcp in other clients