mcpspend / setup / vscode
Setup guide

Set up MCPSpend in VS Code

communitystdiounknown

Real-time cost observability for Model Context Protocol (MCP) tool calls. Wraps any MCP server, attributes spend per tool/project/customer. Free tier 25K calls/mo. EU-hosted


01Configuration
{ "mcpServers": { "mcpspend": { "command": "npx", "args": [ "-y", "@mcpspend/proxy@latest" ] } } }

Add this to .vscode/mcp.json. Generated from the captured install method (npx); the mcpServers shape is shared across Claude Desktop, Cursor, Windsurf, Cline, and VS Code.


02Steps
  1. Make sure VS Code is installed and up to date.
  2. Open .vscode/mcp.json and add the block above (merge into any existing mcpServers).
  3. Provide any required API keys/credentials as environment variables.
  4. Restart VS Code and confirm MCPSpend’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-07-22 08:29Z
sourcesGitHub repo search [p4]

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives

Set up MCPSpend MCP in VS Code — MCPExplorer