x402 mcp server for Grok
io.github.jmthomasofficial/x402-mcp-server
JMT x402: 35 pay-per-call Base/USDC tools for agents, auto-paid via x402 v2. No API key.
client:Grok
transport:stdio
runtime:npm
Install x402 mcp server in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"x402-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jmthomasofficial/x402-mcp-server"
],
"env": {
"JMT_X402_PRIVATE_KEY": "<JMT_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