Continue.dev Integration

Add Bitcoin payment capabilities to your VS Code AI assistant.

Note: Continue.dev MCP support may vary by version. Check the Continue docs for the latest configuration format.

Prerequisites

Before you begin, make sure you have:

Installation

1 Install the MCP Server
npm install -g lightning-faucet-mcp
2 Locate Continue Config

Continue stores configuration in:

# macOS/Linux ~/.continue/config.json # Windows %USERPROFILE%\.continue\config.json
3 Add MCP Configuration

Add the experimental MCP section to your config.json:

{ "experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "npx", "args": ["lightning-faucet-mcp"] } } ] } }
4 Reload VS Code

Reload VS Code window (Cmd/Ctrl + Shift + P → "Reload Window").

Using Lightning Faucet Tools

Once configured, you can ask Continue to use the Lightning Faucet tools:

Register an Operator

"Use the register_operator tool to create a new Lightning Faucet account"

Check Balance

"What's my Lightning Faucet balance?"

Create Deposit Invoice

"Create a Lightning invoice for 5000 sats deposit"

Pay L402 APIs

"Use pay_l402_api to get a fortune from lightningfaucet.com/api/l402/fortune"

Alternative: Pre-configured API Key

If you already have an API key, you can configure it via environment variable:

{ "experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "npx", "args": ["lightning-faucet-mcp"], "env": { "LIGHTNING_FAUCET_API_KEY": "your-api-key-here" } } } ] } }
Security: Don't commit API keys to version control. Consider using environment variables from your shell instead.

Troubleshooting

Tools not showing up

Make sure MCP is enabled in Continue settings. Check the Continue output panel for errors.

Connection errors

Verify Node.js 18+ is installed and npx is accessible from your terminal.

Permission denied

On some systems, you may need to run: npm config set prefix ~/.npm-global and add ~/.npm-global/bin to your PATH.

← Back to Documentation