MCP for AI Agents
Neutron MCP gives AI assistants and coding agents direct access to the Neutron API through the Model Context Protocol. Build Bitcoin payment flows with natural language.
What is MCP?
MCP is an open standard that lets AI models call external tools:
You: "Create a Lightning invoice for 10,000 sats"
AI: [calls neutron_create_lightning_invoice]
Here's your invoice: lnbc100n1p...
Who is it For?
- Vibe coders -- Build payment features by describing what you want in Cursor, Windsurf, or Claude
- AI agents -- Autonomous agents that send and receive Bitcoin
- Prototypers -- Test API flows interactively before writing code
- Developers -- Explore the API conversationally in Claude Desktop
Quick Setup
Add to your AI client's MCP config:
{
"mcpServers": {
"neutron": {
"command": "npx",
"args": ["neutron-mcp"],
"env": {
"NEUTRON_API_KEY": "your-api-key",
"NEUTRON_API_SECRET": "your-api-secret",
"NEUTRON_ACCOUNT_ID": "your-account-id"
}
}
}
}Works with Claude Desktop, Cursor, Windsurf, VS Code, Claude Code, and any MCP-compatible client.
Available Tools (14 total)
| Tool | Description |
|---|---|
neutron_authenticate | Verify credentials |
neutron_get_account | Account details |
neutron_get_wallets | All wallet balances |
neutron_create_transaction | Create any transaction type |
neutron_confirm_transaction | Confirm a quoted transaction |
neutron_get_transaction | Check transaction status |
neutron_list_transactions | Query transaction history |
neutron_create_lightning_invoice | Generate invoice with QR |
neutron_create_webhook | Register a webhook |
neutron_list_webhooks | List registered webhooks |
neutron_update_webhook | Update webhook config |
neutron_delete_webhook | Remove a webhook |
neutron_get_rate | Current exchange rates |
Example Prompts
- "Check my BTC balance"
- "Send 500 sats to [email protected] via Lightning"
- "Create an invoice for $5 worth of Bitcoin"
- "What's the current BTC/USD rate?"
- "Show my last 10 transactions"
- "Set up a webhook to https://myapp.com/payments"
More Details
- MCP Quick Start -- Detailed setup per client
- MCP Tools Reference -- Full parameter docs
- npm: neutron-mcp -- Package page
Updated 9 days ago
