Skip to content
VS Code

agentpay for VS Code

io.github.kar69-96/agentpay

AI agent payments with human approval. Local-first, encrypted credentials, budget controls.

client:VS Code transport:stdio runtime:npm

Install agentpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentpay-passphrase",
      "description": "AGENTPAY_PASSPHRASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anthropic-api-key",
      "description": "ANTHROPIC_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@useagentpay/mcp-server"
      ],
      "env": {
        "AGENTPAY_PASSPHRASE": "${input:agentpay-passphrase}",
        "ANTHROPIC_API_KEY": "${input:anthropic-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

agentpay in other clients