Skip to content
VS Code

agent pay for VS Code

io.github.joepangallo/agent-pay

Payment gateway for AI agents with tool discovery, provisioning, metering, and reliability tools.

client:VS Code transport:stdio runtime:npm

Install agent pay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentpay-gateway-key",
      "description": "AGENTPAY_GATEWAY_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentpay-admin-key",
      "description": "AGENTPAY_ADMIN_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentpay-url",
      "description": "AGENTPAY_URL",
      "password": true
    }
  ],
  "servers": {
    "agent-pay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-agentpay"
      ],
      "env": {
        "AGENTPAY_GATEWAY_KEY": "${input:agentpay-gateway-key}",
        "AGENTPAY_ADMIN_KEY": "${input:agentpay-admin-key}",
        "AGENTPAY_URL": "${input:agentpay-url}"
      }
    }
  }
}

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

agent pay in other clients