Skip to content
VS Code

agentpay for VS Code

io.github.up2itnow0822/agentpay

Non-custodial x402 payment MCP server for AI agents. Wallets and payments on 17 chains.

client:VS Code transport:stdio runtime:npm

Install agentpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agent-private-key",
      "description": "AGENT_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "base-rpc-url",
      "description": "BASE_RPC_URL",
      "password": true
    }
  ],
  "servers": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentpay-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "${input:agent-private-key}",
        "BASE_RPC_URL": "${input:base-rpc-url}"
      }
    }
  }
}

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