kx402 for Grok
io.github.kali123411/kx402
Kaspa x402 agent payer — pay x402 v2 services on Kaspa (KAS) per call, no account or API key
client:Grok
transport:stdio
runtime:npm
Install kx402 in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"kx402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kx402"
],
"env": {
"KASPA_X402_KASPA_WASM_MODULE": "<KASPA_X402_KASPA_WASM_MODULE>",
"KASPA_X402_FUNDING_WALLET": "<KASPA_X402_FUNDING_WALLET>",
"KASPA_X402_NETWORK": "<KASPA_X402_NETWORK>"
}
}
}
}
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