Agent Clinic for VS Code
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:VS Code
transport:stdio
runtime:npm
Install Agent Clinic in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "agent-private-key",
"description": "AGENT_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "max-spend-usd-per-call",
"description": "MAX_SPEND_USD_PER_CALL",
"password": true
},
{
"type": "promptString",
"id": "max-spend-usd-per-day",
"description": "MAX_SPEND_USD_PER_DAY",
"password": true
},
{
"type": "promptString",
"id": "network",
"description": "NETWORK",
"password": true
},
{
"type": "promptString",
"id": "clinic-url",
"description": "CLINIC_URL",
"password": true
},
{
"type": "promptString",
"id": "spend-file",
"description": "SPEND_FILE",
"password": true
}
],
"servers": {
"agent-clinic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-clinic-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "${input:agent-private-key}",
"MAX_SPEND_USD_PER_CALL": "${input:max-spend-usd-per-call}",
"MAX_SPEND_USD_PER_DAY": "${input:max-spend-usd-per-day}",
"NETWORK": "${input:network}",
"CLINIC_URL": "${input:clinic-url}",
"SPEND_FILE": "${input:spend-file}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs