x402 mcp for Grok
io.github.x402node/x402-mcp
Hundreds of x402-paid APIs as MCP tools, auto-discovered from Coinbase Bazaar. USDC on Base+Solana.
client:Grok
transport:stdio
runtime:npm
Install x402 mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"x402-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402node-mcp"
],
"env": {
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
}
}
}
}
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