mcpbeat Sign in

Agentpay MCP Server

local only

Agentpay runs on your own machine — the client starts it, so there is no endpoint to ping. 461 installs a week from npm. Last commit 1 Nov 2026.

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

Installs per day peak 247 · avg 37 · +529% w/w
a month agotoday
461
Installs / week
npm · agentpay-mcp
8
Stars
25 open issues
1 Nov 2026
Last commit
4 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 22 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation src/tools/otel-budget.ts:405
  let drop = 0
  while (drop < ring.length && ring[drop]!.timestamp < cutoff) drop++
  if (drop > 0) {
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Touches key and credential files .github/workflows/daily-repair.yml:463
          excluded.push('.github/**', '.git/**', '**/.npmrc', '.gitmodules', '.gitattributes', '.husky/**');

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add agentpay -e 'AGENT_PRIVATE_KEY=<AGENT_PRIVATE_KEY>' -- npx -y agentpay-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "agentpay-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.agentpay]
command = "npx"
args = ["-y", "agentpay-mcp"]
env = { AGENT_PRIVATE_KEY = "<AGENT_PRIVATE_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "agentpay-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "agentpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentpay-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>"
      }
    }
  }
}

Put your own value in place of <AGENT_PRIVATE_KEY> (Private key for the agent wallet (hex string)). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: BASE_RPC_URL (Base RPC URL for on-chain operations).

Alternatives to Agentpay

same job, measured the same way
Clawpay
by up2itnow0822

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

local only
Xenarch MCP
by xenarch-ai

Xenarch — x402 MCP server for AI agent payments. Non-custodial, USDC on Base L2.

145 installs/wk local only
A
agents.u.cash
by uantum

Non-custodial HTTP-402 crypto payments for AI agents. 77-tool MCP server.

local only
A
agents.u.cash
by uxdevo

Non-custodial HTTP-402 crypto payments for AI agents. 79-tool MCP server.

local only
M2mcent
by evozim

x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.

48 installs/wk local only
ClawPay MCP — Non-Custodial x402 Payments for AI Agents
by up2itnow0822

Non-custodial x402 payments for AI agents. Sign locally, spend limits, Base network.

64 installs/wk local only
GotSOL.app
by gotsol

USDC wallets, payment links and x402 payments on Solana for AI agents.

13 tools answering
XDC AI
by 0xbeny

Wallet and payments for AI agents: auto-pay x402 APIs in USDC on XDC, within on-chain limits.

answering

Agentpay — questions

Answers built from our own checks of this server.

Why is there no uptime for Agentpay?
Agentpay runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package agentpay-mcp was installed 461 times last week.
How do I connect Agentpay?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls agentpay-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Agentpay?
The npm package agentpay-mcp was installed 461 times in the last week. Week over week that is +529%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Agentpay open source?
Yes — it is published under the MIT licence, written in TypeScript, 8 stars on GitHub and 25 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.