x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Ultra-lightweight x402 payment interceptor for AI Agents and MCP Servers. Monetize any API in 3 lines of code.
M2MCent implements the x402 Payment Protocol β a machine-native payment standard inspired by HTTP 402:
402 Payment Required + payment metadata (Base64 encoded)| Parameter | Description | Required |
|---|---|---|
rpcUrl | Base Mainnet RPC endpoint | β |
privateKey | Relayer wallet private key (for settlement) | β |
recipient | Treasury address to receive payments | β |
transferWithAuthorization (USDC native)| Parameter | Value |
|---|---|
| Network | Base Mainnet (Chain ID: 8453) |
| USDC Contract | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| Escrow Contract | 0xf3c3416A843d13C944554A54Ac274BB7fF264BcC |
| Settlement | Atomic, sub-second finality |
Perfect for Model Context Protocol servers:
M2MCent powers 100+ production MCP servers on Base Mainnet, processing real USDC micro-payments for AI-to-AI commerce.
MIT Β© M2MCent
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/m2mcent)<a href="https://allmcps.com/mcp/m2mcent"><img src="https://allmcps.com/api/badge/m2mcent?style=directory" alt="M2mcent on AllMCPs" /></a>