agentpay

Official registry Finance and payments

Enforced budgets for agents paying x402 APIs: the gateway holds the wallet, not the agent.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package agentpay-gateway
Claude Code
claude mcp add agentpay -e 'AGENTPAY_URL=http://127.0.0.1:4020' -e 'AGENTPAY_API_KEY=<your agentpay_api_key>' -- npx -y agentpay-gateway@0.9.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "agentpay": {
            "command": "npx",
            "args": [
                "-y",
                "agentpay-gateway@0.9.0"
            ],
            "env": {
                "AGENTPAY_URL": "http://127.0.0.1:4020",
                "AGENTPAY_API_KEY": "<your agentpay_api_key>"
            }
        }
    }
}

Environment variables

  • AGENTPAY_URL agentpay gateway URL
  • AGENTPAY_API_KEY secret Agent key from POST /admin/keys

Frequently asked questions

What is agentpay?

Enforced budgets for agents paying x402 APIs: the gateway holds the wallet, not the agent.

How do I install agentpay?

It runs on your machine. In Claude Code: claude mcp add agentpay -e 'AGENTPAY_URL=http://127.0.0.1:4020' -e 'AGENTPAY_API_KEY=<your agentpay_api_key>' -- npx -y agentpay-gateway@0.9.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does agentpay need an API key?

Yes. It expects AGENTPAY_API_KEY, which you set in its configuration.

Is agentpay open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains agentpay?

It is published by Hellotravisss. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.