Agentpay MCP Server

AgentPay MCP is a stdio Model Context Protocol server for x402 payments and wallet operations. It exposes Agent Wallet SDK functions as MCP tools and loads a caller-controlled signing key from the…

Local serverstdioMIT

What is the Agentpay MCP Server?

Agentpay Mcp is an MCP project maintained in the up2itnow0822/agentpay-mcp repository. The maintainer describes its purpose as “AgentPay MCP is a stdio Model Context Protocol server for x402 payments and wallet operations. It exposes Agent Wallet SDK functions as MCP tools and…”. Read the project documentation for the complete scope.

Installation

The documented npm package is agentpay-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares AGENT_PRIVATE_KEY, AGENT_WALLET_ADDRESS, CHAIN_ID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
GroupExamples
Walletdeploy_wallet, get_wallet_info, queue_approval
Paymentssend_payment, x402_pay, x402 session tools
Policyset_spend_policy, check_budget, OTel budget tools
TokensLookup, custom-token registration, balances, and transfers
ExecutionSwap, USDC bridge, and mutual-stake escrow
TrustERC-8004 identity, reputation, and UAID verification
Historyget_transaction_history for wallet contract events

How to install the Agentpay MCP Server

{
  "mcpServers": {
    "agentpay": {
      "command": "npx",
      "args": [
        "-y",
        "agentpay-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "YOUR_AGENT_PRIVATE_KEY",
        "AGENT_WALLET_ADDRESS": "0x<deployed-wallet-address>",
        "CHAIN_ID": "84532"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
AGENT_PRIVATE_KEYDeclared in the maintainer’s client configuration.Check documentation
AGENT_WALLET_ADDRESSDeclared in the maintainer’s client configuration.Check documentation
CHAIN_IDDeclared in the maintainer’s client configuration.Check documentation