Continue.dev Integration
Add Bitcoin payment capabilities to your VS Code AI assistant.
Prerequisites
Before you begin, make sure you have:
- VS Code with Continue extension installed
- Node.js 18+ installed
- A Lightning wallet to fund your account
Installation
Continue stores configuration in:
Add the experimental MCP section to your config.json:
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
Check Balance
Create Deposit Invoice
Pay L402 APIs
Alternative: Pre-configured API Key
If you already have an API key, you can configure it via environment variable:
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.