x402 api for Grok
io.github.fernsugi/x402-api
DeFi data API for AI agents — pay-per-call via x402/USDC on Base
client:Grok
transport:stdio
runtime:npm
Install x402 api in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"x402-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@x402-api/mcp-server"
],
"env": {
"X402_API_BASE_URL": "<X402_API_BASE_URL>"
}
}
}
}
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