M2mcent MCP server
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
0 stars59 downloads/wk
Reviews
Write oneNobody has reviewed M2mcent yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
M2mcent tools (2, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
execute_m2mcent_toolwrite actionExecute any of the 1,004 M2MCent microservices. Fee varies per node (e.g. $0.01 - $0.50 USDC).
search_m2mcent_catalogSearch the M2MCent Universal Catalog of 1,004+ Agentic Services
Public scan report
scanner v0.1.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 79 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How M2mcent compares
Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 50% of 1,761 Finance servers
- Tools
- 2
- the typical Finance server has 8
- Tools that change things
- 50%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 59
- more than 55% of 421 Finance servers with a package
What its tools let an agent do: 1 read · 1 run or deploy
Install M2mcent in Claude Code, Cursor or VS Code
Runs npx -y m2mcent-sdk on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add m2mcent -- npx -y m2mcent-sdk
What the publisher says
From the M2mcent repository's README, as published. We do not edit it. Read it on GitHub
🛰️ M2MCent SDK — x402 Payment Wrapper for AI Agents
Ultra-lightweight x402 payment interceptor for AI Agents and MCP Servers. Monetize any API in 3 lines of code.
🚀 Quick Start
npm install m2mcent-sdkimport { X402Handler } from 'm2mcent-sdk';
const x402 = new X402Handler({
rpcUrl: 'https://mainnet.base.org',
privateKey: process.env.RELAYER_PRIVATE_KEY!,
recipient: process.env.TREASURY_ADDRESS!
});
// Protect any Express endpoint with a USDC paywall
app.post('/api/analyze', x402.requirePayment("100000"), (req, res) => {
res.json({ result: "Premium analysis complete", receipt: req.paymentTx });
});📐 How It Works
M2MCent implements the x402 Payment Protocol — a machine-native payment standard inspired by HTTP 402:
- Agent requests a protected endpoint
- Server responds with 402 Payment Required + payment metadata (Base64 encoded)
- Agent signs an EIP-712 typed data authorization (gasless for the payer)
- Server settles atomically on-chain via the M2MCent Escrow contract
- Agent receives the premium response + transaction receipt
Agent ──► API Server ──► 402 + metadata
Agent ◄── signs EIP-712 authorization
Agent ──► API Server + Payment-Signature header
└──► Escrow.settle() on Base L2
Agent ◄── Premium Response + tx hash⚙️ Configuration
🔒 Security
- Non-custodial: Funds flow directly from payer → treasury via on-chain escrow
- Gasless for payers: Uses EIP-3009 transferWithAuthorization (USDC native)
- Zero-Leak: No agent data is retained after settlement
- Atomic: Payment and service delivery happen in a single request cycle
🌐 Network Details
🧩 MCP Server Integration
Perfect for Model Context Protocol servers:
import express from 'express';
import { X402Handler } from 'm2mcent-sdk';
const app = express();
const x402 = new X402Handler({
rpcUrl: process.env.BASE_RPC_URL!,
privateKey: process.env.RELAYER_PRIVATE_KEY!,
recipient: process.env.TREASURY_ADDRESS!
});
// Any MCP tool endpoint becomes monetizable
app.post('/api/tools/analyze', x402.requirePayment("50000"), async (req, res) => {
const result = await runMCPTool(req.body);
res.json({ ...result, paymentTx: req.paymentTx });
});📊 Ecosystem
M2MCent powers 100+ production MCP servers on Base Mainnet, processing real USDC micro-payments for AI-to-AI commerce.
📄 License
MIT © M2MCent
Nothing above is checked by us. What we check is on the safety report.
M2mcent: common questions
- Is M2mcent MCP server safe?
- Mostly: it is graded B (75/100). Read the M2mcent safety report
- How do I install M2mcent?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does M2mcent need an API key?
- Yes. The registry entry asks for
RELAYER_PRIVATE_KEY. - Is M2mcent maintained?
- The last commit was 80 days ago (2026-08-16). The latest release is v1.0.5.
- What can I use instead of M2mcent?
- Servers from other publishers that do the same job: Agent402.Tools: pay-per-call web tools MCP server, three.ws Agent Payments MCP server and X402 List MCP server.
- How does M2mcent compare with other Finance MCP servers?
- safety score 75/100 (higher than 50% of 1,761 Finance servers); tools 2 (the typical Finance server has 8); tools that change things 50% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to M2mcent
Same job from other publishers: the closest match first, then the best rated.
- Agent402.Tools: pay-per-call web toolsAgentic Finance: 500+ agent tools, multi-chain USDC over x402 or MPP, or free via proof-of-worknot reviewedEstablishedA
- three.ws Agent PaymentsGoverned x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.not reviewedEstablishedB
- X402 ListFind and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.not reviewedEstablishedA
- Coinbase CommerceMCP server for Coinbase Commerce — crypto merchant payments (BTC/ETH/USDC); settle crypto or fiatnot reviewedGrowingB
- Pulsefeed X402Verify x402 payment endpoints before an AI agent pays: scam scan, on-chain checks, trust scores.not reviewedGrowingA