Skip to content
VS Code

ProxyStacks Relay for VS Code

com.proxystacks/relay-mcp

Live 21-model USD & off-peak rates, coding cost calculator, and CLI config generator.

client:VS Code transport:stdio runtime:npm

Install ProxyStacks Relay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "relay-api-key",
      "description": "RELAY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "relay-region",
      "description": "RELAY_REGION",
      "password": true
    }
  ],
  "servers": {
    "relay-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@proxystacks/mcp-server"
      ],
      "env": {
        "RELAY_API_KEY": "${input:relay-api-key}",
        "RELAY_REGION": "${input:relay-region}"
      }
    }
  }
}

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

ProxyStacks Relay in other clients