drain mcp for Grok
io.github.kimbo128/drain-mcp
Pay for AI inference with USDC micropayments on Polygon. No API keys needed.
client:Grok
transport:stdio
runtime:npm
Install drain mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"drain-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"drain-mcp"
],
"env": {
"DRAIN_PRIVATE_KEY": "<DRAIN_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