Skip to content
VS Code

gate402 mcp for VS Code

io.github.pgalyen1987/gate402-mcp

x402 pay-per-call agent APIs: LLM inference, Base trading data, SEC filings & scraping

client:VS Code transport:stdio runtime:npm

Install gate402 mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gate402-api-key",
      "description": "GATE402_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gate402-base-url",
      "description": "GATE402_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "gate402-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gate402-mcp"
      ],
      "env": {
        "GATE402_API_KEY": "${input:gate402-api-key}",
        "GATE402_BASE_URL": "${input:gate402-base-url}"
      }
    }
  }
}

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

gate402 mcp in other clients