MCP Server Studio

AgentPay MCP server

Agent payments, API key vaulting, and governed mandates. Agents spend within user-defined limits.

Registry name: io.github.Rumblingb/agentpay

Publisher
Rumblingb
Runs
Local or hosted
Package
npm
Version
0.2.0
Category
AI & agents
Updated
2026-06-07

Source code on GitHub

Set up AgentPay (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agentpayxyz/mcp-server@0.2.0"
      ],
      "env": {
        "AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>",
        "AGENTPAY_MERCHANT_ID": "<AGENTPAY_MERCHANT_ID>",
        "AGENTPAY_API_URL": "<AGENTPAY_API_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add agentpay -e AGENTPAY_API_KEY='<AGENTPAY_API_KEY>' -e AGENTPAY_MERCHANT_ID='<AGENTPAY_MERCHANT_ID>' -e AGENTPAY_API_URL='<AGENTPAY_API_URL>' -- npx -y @agentpayxyz/mcp-server@0.2.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agentpayxyz/mcp-server@0.2.0"
      ],
      "env": {
        "AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>",
        "AGENTPAY_MERCHANT_ID": "<AGENTPAY_MERCHANT_ID>",
        "AGENTPAY_API_URL": "<AGENTPAY_API_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@agentpayxyz/mcp-server@0.2.0"
      ],
      "env": {
        "AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>",
        "AGENTPAY_MERCHANT_ID": "<AGENTPAY_MERCHANT_ID>",
        "AGENTPAY_API_URL": "<AGENTPAY_API_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "@agentpayxyz/mcp-server@0.2.0"
      ],
      "env": {
        "AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>",
        "AGENTPAY_MERCHANT_ID": "<AGENTPAY_MERCHANT_ID>",
        "AGENTPAY_API_URL": "<AGENTPAY_API_URL>"
      }
    }
  }
}

Set up AgentPay (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.agentpay.so/api/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http agentpay https://api.agentpay.so/api/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "agentpay": {
      "url": "https://api.agentpay.so/api/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "agentpay": {
      "type": "http",
      "url": "https://api.agentpay.so/api/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "agentpay": {
      "serverUrl": "https://api.agentpay.so/api/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
AGENTPAY_API_KEYYesAgentPay merchant API key used for authenticated tool calls
AGENTPAY_MERCHANT_IDNoOptional AgentPay merchant ID for intent creation and attribution
AGENTPAY_API_URLNoOptional override for the AgentPay API base URL

More ai & agents MCP servers