drain mcp for VS Code
io.github.kimbo128/drain-mcp
Pay for AI inference with USDC micropayments on Polygon. No API keys needed.
client:VS Code
transport:stdio
runtime:npm
Install drain mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "drain-private-key",
"description": "DRAIN_PRIVATE_KEY",
"password": true
}
],
"servers": {
"drain-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"drain-mcp"
],
"env": {
"DRAIN_PRIVATE_KEY": "${input:drain-private-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs