Agent Clinic for Zed
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:Zed
transport:stdio
runtime:npm
Install Agent Clinic in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"agent-clinic": {
"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>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs