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)

ToolDescription
neutron_authenticateVerify credentials
neutron_get_accountAccount details
neutron_get_walletsAll wallet balances
neutron_create_transactionCreate any transaction type
neutron_confirm_transactionConfirm a quoted transaction
neutron_get_transactionCheck transaction status
neutron_list_transactionsQuery transaction history
neutron_create_lightning_invoiceGenerate invoice with QR
neutron_create_webhookRegister a webhook
neutron_list_webhooksList registered webhooks
neutron_update_webhookUpdate webhook config
neutron_delete_webhookRemove a webhook
neutron_get_rateCurrent 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