Skip to content
VS Code

styx mcp server for VS Code

io.github.timmx7/styx-mcp-server

MCP server for Styx — intelligent AI routing across OpenAI, Anthropic, Google, and Mistral.

client:VS Code transport:stdio runtime:npm

Install styx mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "styx-api-key",
      "description": "STYX_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "styx-token",
      "description": "STYX_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "styx-api-url",
      "description": "STYX_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "styx-proxy-url",
      "description": "STYX_PROXY_URL",
      "password": true
    }
  ],
  "servers": {
    "styx-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "styx-mcp-server"
      ],
      "env": {
        "STYX_API_KEY": "${input:styx-api-key}",
        "STYX_TOKEN": "${input:styx-token}",
        "STYX_API_URL": "${input:styx-api-url}",
        "STYX_PROXY_URL": "${input:styx-proxy-url}"
      }
    }
  }
}

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

styx mcp server in other clients