m2mcent for Grok
io.github.evozim/m2mcent
x402 payment wrapper for AI Agents and MCP Servers. USDC settlements on Base L2.
client:Grok
transport:stdio
runtime:npm
Install m2mcent in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"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>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs