Skip to content
VS Code

mcp cost tracker router for VS Code

io.github.dbsectrainer/mcp-cost-tracker-router

Real-time cost awareness for MCP agent workflows

client:VS Code transport:stdio runtime:npm

Install mcp cost tracker router in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "your-api-key",
      "description": "YOUR_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "mcp-cost-tracker-router": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-cost-tracker-router"
      ],
      "env": {
        "YOUR_API_KEY": "${input:your-api-key}"
      }
    }
  }
}

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

mcp cost tracker router in other clients