bolthub for VS Code
ai.bolthub/mcp
The bolthub API marketplace, L402 gateways, and your other MCP servers, on one Lightning budget.
client:VS Code
transport:stdio
runtime:npm
Install bolthub in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "lnd-rest-host",
"description": "LND_REST_HOST",
"password": true
},
{
"type": "promptString",
"id": "lnd-macaroon",
"description": "LND_MACAROON",
"password": true
},
{
"type": "promptString",
"id": "nwc-uri",
"description": "NWC_URI",
"password": true
},
{
"type": "promptString",
"id": "lnbits-url",
"description": "LNBITS_URL",
"password": true
},
{
"type": "promptString",
"id": "lnbits-admin-key",
"description": "LNBITS_ADMIN_KEY",
"password": true
},
{
"type": "promptString",
"id": "phoenixd-url",
"description": "PHOENIXD_URL",
"password": true
},
{
"type": "promptString",
"id": "phoenixd-password",
"description": "PHOENIXD_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "budget-sats",
"description": "BUDGET_SATS",
"password": true
},
{
"type": "promptString",
"id": "bolthub-account-token",
"description": "BOLTHUB_ACCOUNT_TOKEN",
"password": true
}
],
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bolthub/mcp"
],
"env": {
"LND_REST_HOST": "${input:lnd-rest-host}",
"LND_MACAROON": "${input:lnd-macaroon}",
"NWC_URI": "${input:nwc-uri}",
"LNBITS_URL": "${input:lnbits-url}",
"LNBITS_ADMIN_KEY": "${input:lnbits-admin-key}",
"PHOENIXD_URL": "${input:phoenixd-url}",
"PHOENIXD_PASSWORD": "${input:phoenixd-password}",
"BUDGET_SATS": "${input:budget-sats}",
"BOLTHUB_ACCOUNT_TOKEN": "${input:bolthub-account-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs