Skip to main content
Glama

Neutron MCP Server

npm version License: MIT

Add Bitcoin Lightning payments to any AI-powered app in 2 minutes. This MCP server connects Neutron's payment API to Claude, Cursor, Windsurf, and any MCP-compatible client.

Setup (2 minutes)

1. Get API Keys

Sign up at portal.neutron.me → API Keys.

2. Add to Your AI Tool

Paste this config into your tool of choice:

{
  "mcpServers": {
    "neutron": {
      "command": "npx",
      "args": ["-y", "neutron-mcp"],
      "env": {
        "NEUTRON_API_KEY": "your_api_key",
        "NEUTRON_API_SECRET": "your_api_secret"
      }
    }
  }
}

Where to paste:

Tool

Config File

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Claude Code

~/.claude.json or project .mcp.json

Cursor

.cursor/mcp.json in your project

Windsurf

Windsurf MCP settings

Cline (VS Code)

Cline MCP settings

3. Start Using

Ask your AI assistant:

"Check my Neutron wallet balances"

That's it. You're connected.


Related MCP server: Alby Bitcoin Payments MCP Server

What Can It Do?

Accept Payments

"Create a Lightning invoice for 50,000 sats"

Your AI creates the invoice, returns the payment string and QR code page. Customer pays instantly.

Send Payments

"Send 10,000 sats to alice@getalby.com"

"Pay this Lightning invoice: lnbc100u1p..."

"Send 0.01 BTC to bc1qxy2kgd..."

Manage Treasury

"Show all wallet balances"

"Convert 0.005 BTC to USDT"

"What's the current BTC/USD rate?"

Fiat Payouts

"Look up bank codes for Vietnam"

"Send 500,000 VND to bank account 0123456789 at institution 970422"

Webhooks

"Set up a webhook at https://myapp.com/payments with secret my-secret-key"


All 20 Tools

Account

Tool

What It Does

neutron_authenticate

Verify API credentials

neutron_get_account

Account info and status

neutron_get_wallets

All wallet balances

neutron_get_wallet

Specific wallet by ID

Payments

Tool

What It Does

neutron_create_lightning_invoice

Generate Lightning invoice to receive BTC (auto-confirms)

neutron_create_transaction

Create any payment: Lightning, on-chain, USDT, fiat

neutron_confirm_transaction

Confirm a quoted transaction to execute it

neutron_get_transaction

Check transaction status

neutron_list_transactions

List/filter transaction history

Receive Addresses

Tool

What It Does

neutron_get_btc_address

Get your Bitcoin on-chain deposit address

neutron_get_usdt_address

Get your USDT deposit address (TRON or Ethereum)

Webhooks

Tool

What It Does

neutron_create_webhook

Register webhook for payment notifications

neutron_list_webhooks

List registered webhooks

neutron_update_webhook

Update webhook URL or secret

neutron_delete_webhook

Remove a webhook

Reference

Tool

What It Does

neutron_get_rate

BTC exchange rates (USD, VND, USDT, etc.)

neutron_get_fiat_institutions

Bank codes by country (for fiat payouts)


Key Concepts

  • Amounts are in BTC, not satoshis. 10,000 sats = 0.0001 BTC.

  • Two-step flow: create_transaction returns a quote → confirm_transaction executes it.

  • Set amount on one side only — source OR destination, not both.

  • create_lightning_invoice is a shortcut that auto-confirms (no second step needed).

  • Fiat payouts require KYC (recipient name + country). Bitcoin (Lightning + on-chain), stablecoins (USDT on TRON/ETH), and swaps require no KYC.


Environment Variables

Variable

Required

Description

NEUTRON_API_KEY

Yes

Your Neutron API key

NEUTRON_API_SECRET

Yes

Your Neutron API secret

NEUTRON_API_URL

No

API URL (default: https://api.neutron.me)


Example: Add Payments to a Web App

Ask your AI assistant:

"Help me add Bitcoin payments to my Next.js checkout. When a user clicks Pay, create a Lightning invoice for the cart total, show a QR code, and redirect to a success page when the webhook fires."

The AI uses neutron_create_lightning_invoice for the invoice, neutron_create_webhook for notifications, and writes the frontend + backend code — all in one conversation.



License

MIT

Available Tools

18 tools
neutron_authenticateA

Verify your Neutron API credentials. Returns your account ID and confirms access is working.

Inputs: no named parameters.

neutron_confirm_transactionB

Confirm a quoted transaction to execute it. Call this after neutron_create_transaction.

Inputs: transactionId (required).

neutron_create_lightning_invoiceA

Create a Lightning invoice to receive Bitcoin. Returns a BOLT11 payment request and QR code page.

Examples:

  • Receive 10,000 sats: amountSats=10000

  • Receive 0.001 BTC: amountBtc=0.001

  • With tracking: amountSats=5000, extRefId="order-123"

Inputs: memo, extRefId, amountBtc, amountSats.

neutron_create_transactionA

Create a transaction. Supports all payment types:

Lightning send: sourceCcy="BTC", sourceMethod="neutronpay", destCcy="BTC", destMethod="lightning", paymentRequest="lnbc..." Lightning Address: sourceCcy="BTC", sourceMethod="neutronpay", destCcy="BTC", destMethod="lnurl", lnurl="user@wallet.com", sourceAmount=0.0001 On-chain send: sourceCcy="BTC", sourceMethod="neutronpay", destCcy="BTC", destMethod="on-chain", address="bc1q..." On-chain receive: sourceCcy="BTC", sourceMethod="on-chain", destCcy="BTC", destMethod="neutronpay", destAmount=0.001 USDT send (TRON): sourceCcy="USDT", sourceMethod="neutronpay", destCcy="USDT", destMethod="tron", address="T..." Internal swap: sourceCcy="BTC", sourceMethod="neutronpay", destCcy="USDT", destMethod="neutronpay", sourceAmount=0.001 Fiat payout: sourceCcy="BTC", sourceMethod="neutronpay", destCcy="VND", destMethod="vnd-instant", bankAcctNum="...", institutionCode="...", recipientName="...", countryCode="VN", recipientPhone="+84912345678" IDR payout example: destCcy="IDR", destMethod="idr-instant", countryCode="ID", recipientPhone="+628123456789" (E.164 format — always include + prefix)

Amounts are in BTC (not sats). 100 sats = 0.00000100 BTC. Set amount on ONE side only (source OR dest), not both. Returns a quoted transaction — call neutron_confirm_transaction to execute.

Inputs: destCcy (required), sourceCcy (required), destMethod (required), sourceMethod (required), +11 more.

neutron_create_webhookB

Register a webhook to receive transaction state change notifications. Requires an HTTPS callback URL.

Inputs: secret (required), callback (required).

neutron_delete_webhookC

Delete a webhook.

Inputs: webhookId (required).

neutron_get_accountB

Get account details: display name, status, country, timezone, and sub-accounts.

Inputs: no named parameters.

neutron_get_btc_addressA

Get your Bitcoin on-chain deposit address. Static, reusable SegWit (bc1q...) address.

Inputs: no named parameters.

neutron_get_fiat_institutionsA

List banks and financial institutions for a country. Returns institution codes needed for fiat payouts.

Inputs: countryCode (required).

neutron_get_rateA

Get current BTC exchange rates against all supported currencies (USD, VND, USDT, etc.).

Inputs: no named parameters.

neutron_get_transactionA

Check transaction status and details. Use to track payment progress after confirmation.

Inputs: transactionId (required).

neutron_get_usdt_addressB

Get your USDT deposit address on TRON (TRC-20) or Ethereum (ERC-20).

Inputs: chain.

neutron_get_walletA

Get a specific wallet by ID. Shows balance, available balance, and currency.

Inputs: walletId (required).

neutron_get_walletsA

List all wallets with balances. Shows each currency (BTC, USDT, fiat) with total and available balance.

Inputs: no named parameters.

neutron_list_transactionsC

List transactions with optional filters. Returns recent transactions by default.

Inputs: limit, method, offset, status, +3 more.

neutron_list_webhooksB

List all registered webhooks.

Inputs: no named parameters.

neutron_subscribe_statusA

Stream real-time transaction status updates via SSE. Use this for agents that cannot receive webhook POSTs (ephemeral agents without a public endpoint). Connects to the Neutron SSE stream and returns updates as they arrive.

Inputs: transactionId (required), timeoutSeconds.

neutron_update_webhookB

Update a webhook's callback URL or secret.

Inputs: webhookId (required), secret, callback.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools target distinct resources and actions, with clear separation between wallet, transaction, address, webhook, and rate operations. The only mild overlap is between neutron_subscribe_status and webhook-based notifications, plus the broad neutron_create_transaction covering several payment flows, but descriptions make the boundaries clear.

    Naming Consistency5/5

    All tools use a consistent neutron_ prefix with snake_case verb_noun naming such as get_wallet, create_transaction, list_webhooks, and delete_webhook. Minor outliers like authenticate and subscribe_status still follow a readable action-oriented convention.

    Tool Count4/5

    At 18 tools, the server is slightly above the typical ideal range but still well-scoped for a payments platform. Each tool maps to a recognizable capability, though a few could potentially be consolidated.

    Completeness4/5

    The surface covers the core payment lifecycle: wallets, addresses, invoices, transaction creation/confirmation/status/listing, webhooks CRUD, rates, authentication, and account lookup. There are minor gaps such as transaction cancellation/voiding and a single-webhook retrieval operation, but the main workflows are represented.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers