inference mcp for VS Code
io.github.bsvkey/inference-mcp
Pay-per-token Claude & Grok inference, settled in BSV, via the inference.bsvkey.com gateway.
client:VS Code
transport:stdio
runtime:npm
Install inference mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "bsvkey-api-key",
"description": "BSVKEY_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "bsvkey-base-url",
"description": "BSVKEY_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "bsvkey-wif",
"description": "BSVKEY_WIF",
"password": true
},
{
"type": "promptString",
"id": "bsvkey-funded-sats",
"description": "BSVKEY_FUNDED_SATS",
"password": true
},
{
"type": "promptString",
"id": "bsvkey-receipt-state",
"description": "BSVKEY_RECEIPT_STATE",
"password": true
}
],
"servers": {
"inference-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bsvkey/inference-mcp"
],
"env": {
"BSVKEY_API_KEY": "${input:bsvkey-api-key}",
"BSVKEY_BASE_URL": "${input:bsvkey-base-url}",
"BSVKEY_WIF": "${input:bsvkey-wif}",
"BSVKEY_FUNDED_SATS": "${input:bsvkey-funded-sats}",
"BSVKEY_RECEIPT_STATE": "${input:bsvkey-receipt-state}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs