XFuel for Grok
io.github.xfuel-lab/xfuel-mcp
Submit AI inference to XFuel, pay per task (USDC via x402 or TFUEL), fetch/verify ZK proofs.
client:Grok
transport:stdio
runtime:npm
Install XFuel in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"xfuel-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xfuel-mcp"
],
"env": {
"XFUEL_API_URL": "<XFUEL_API_URL>",
"XFUEL_API_KEY": "<XFUEL_API_KEY>",
"XFUEL_MCP_AUTH_TOKEN": "<XFUEL_MCP_AUTH_TOKEN>",
"XFUEL_RPC_URL": "<XFUEL_RPC_URL>",
"ZK_VERIFIER_ADDRESS": "<ZK_VERIFIER_ADDRESS>",
"XFUEL_PAYER_PRIVATE_KEY": "<XFUEL_PAYER_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