M2mcent runs on your own machine — the client starts it, so there is no endpoint to ping. 48 installs a week from npm. Last commit 16 Aug 2026.
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
Today is the operative word: we check M2mcent every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
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.
claude mcp add m2mcent -e 'BASE_RPC_URL=<BASE_RPC_URL>' -e 'RELAYER_PRIVATE_KEY=<RELAYER_PRIVATE_KEY>' -e 'TREASURY_ADDRESS=<TREASURY_ADDRESS>' -- npx -y m2mcent-sdk
{
"mcpServers": {
"m2mcent": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "<BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<TREASURY_ADDRESS>"
}
}
}
}
[mcp_servers.m2mcent]
command = "npx"
args = ["-y", "m2mcent-sdk"]
env = { BASE_RPC_URL = "<BASE_RPC_URL>", RELAYER_PRIVATE_KEY = "<RELAYER_PRIVATE_KEY>", TREASURY_ADDRESS = "<TREASURY_ADDRESS>" }
{
"mcpServers": {
"m2mcent": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "<BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<TREASURY_ADDRESS>"
}
}
}
}
{
"servers": {
"m2mcent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "<BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<TREASURY_ADDRESS>"
}
}
}
}
Put your own values in place of
<BASE_RPC_URL> (Base Mainnet RPC endpoint URL), <RELAYER_PRIVATE_KEY> (Relayer wallet private key for on-chain settlement), <TREASURY_ADDRESS> (Treasury wallet address to receive payments).
The author’s registry entry marks them as required.
Xenarch — x402 MCP server for AI agent payments. Non-custodial, USDC on Base L2.
X402 payment MCP for AI agents. Auto-pay 300+ APIs with USDC on Base and Solana.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.
Non-custodial x402 payment MCP server for AI agents. Wallets and payments on 17 chains.
USDC wallets, payment links and x402 payments on Solana for AI agents.
MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.
Pay-per-call USDA nutrition for AI agents (x402 micropayments in USDC on Base).
Answers built from our own checks of this server.