Agent Clinic for Grok
io.github.mohammedalmohaish-cyber/agent-clinic
House calls for AI agents: pay once in USDC over x402, run the instructions on your own model.
client:Grok
transport:stdio
runtime:npm
Install Agent Clinic in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"agent-clinic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-clinic-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
"MAX_SPEND_USD_PER_CALL": "<MAX_SPEND_USD_PER_CALL>",
"MAX_SPEND_USD_PER_DAY": "<MAX_SPEND_USD_PER_DAY>",
"NETWORK": "<NETWORK>",
"CLINIC_URL": "<CLINIC_URL>",
"SPEND_FILE": "<SPEND_FILE>"
}
}
}
}
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