
M2mcent
Wrap MCP tools and AI agents with x402 micropayments and settle USDC on Base L2 from your own relayer and treasury setup.
Overview
m2mcent is a MCP server for the Build phase that wraps x402 payments for AI agents and MCP servers with USDC settlement on Base L2.
What is this MCP server?
- stdio MCP via npm package m2mcent-sdk (catalog versions 1.0.2 package / 1.0.3 server metadata)
- x402 payment wrapper aimed at AI agents and other MCP servers
- USDC settlements on Base L2 with configurable RPC, relayer key, and treasury address
- Requires BASE_RPC_URL, RELAYER_PRIVATE_KEY, and TREASURY_ADDRESS environment variables
- Open-source SDK repository at github.com/Evozim/m2mcent-sdk
- Server metadata version 1.0.3; npm package identifier m2mcent-sdk at version 1.0.2
- 3 required environment variables documented
- 1 stdio transport package on npm
What problem does it solve?
Monetizing MCP tools usually means custom billing code, while agents need a standard way to pay per request on-chain.
Who is it for?
Builders shipping paid agent tools or MCP marketplaces who want Base L2 USDC and a local stdio SDK.
Skip if: Fiat-only checkout, no-crypto products, or teams unwilling to manage relayer private keys on mainnet.
What do I get? / Deliverables
After configuring Base RPC and treasury keys, your MCP stack can enforce x402 flows and settle USDC without a separate payment microservice.
- stdio MCP server with x402 payment wrapping
- Configurable USDC settlement path to treasury on Base L2
Recommended MCP Servers
Journey fit
Payment plumbing for agents is canonical on Build because you integrate settlement before you can safely ship monetized MCP surfaces. Integrations subphase captures x402 wrapper behavior tying on-chain USDC to MCP and agent call paths.
How it compares
On-chain x402 MCP payment layer, not a hosted marketplace catalog or Claude skill.
Common Questions / FAQ
Who is m2mcent for?
Solo builders and small teams integrating micropayments into MCP servers or agent workflows on Base with USDC.
When should I use m2mcent?
Use it while building integrations when you need x402-style charges before tool execution or between agents and MCP services.
How do I add m2mcent to my agent?
Install the m2mcent-sdk npm package, set BASE_RPC_URL, RELAYER_PRIVATE_KEY, and TREASURY_ADDRESS, and register the stdio MCP server in Claude Code or your MCP config.