x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
Use this profile to copy client config, check auth requirements, review tools and resources, and compare related MCP servers before adding it to an AI client.
npx -y m2mcent-sdk{
"BASE_RPC_URL": "YOUR_VALUE_HERE",
"RELAYER_PRIVATE_KEY": "YOUR_SECRET_VALUE",
"TREASURY_ADDRESS": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-evozim-m2mcent": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk"
],
"env": {
"BASE_RPC_URL": "YOUR_VALUE_HERE",
"RELAYER_PRIVATE_KEY": "YOUR_SECRET_VALUE",
"TREASURY_ADDRESS": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
m2mcent is an MCP server for x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y m2mcent-sdk; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y m2mcent-sdk. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y m2mcent-sdk. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y m2mcent-sdk. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y m2mcent-sdk. Add required environment variables before starting Cursor or VS Code.
m2mcent uses STDIO transport. Use the package or command config in Install.
m2mcent inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
m2mcent is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
m2mcent-sdkstdio | npm | 1.0.2 | Env: BASE_RPC_URL required Env: RELAYER_PRIVATE_KEY required secret Env: TREASURY_ADDRESS required |