Feedback

Phoenixd MCP Server

@sharmaz Claim

Basic information

Category
License
MIT
Transports
stdio
Author
sharmaz
Submitted by
Community
Quality
20

About Phoenixd MCP Server

Connect a phoenixd bitcoin lightning wallet to your LLM.

Phoenixd MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by Sharmaz. It exposes 17 tools, including get-balance, get-node-info, list-channels, close-channel and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: bitcoin, lightning, phoenixd.

Setup

{
    "mcpServers": {
        "phoenixd-mpc-server": {
            "command": "npx",
            "args": [
                "-y",
                "phoenixd-mcp-server"
            ],
            "env": {
                "HTTP_PROTOCOL": "<http or https>",
                "HTTP_HOST": "<your_host>",
                "HTTP_PORT": "<your_phoenixd_port>",
                "HTTP_PASSWORD": "<phoenixd_http_password>"
            }
        }
    }
}

Phoenixd MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "phoenixd-mpc-server": {
            "command": "npx",
            "args": [
                "-y",
                "phoenixd-mcp-server"
            ],
            "env": {
                "HTTP_PROTOCOL": "<http or https>",
                "HTTP_HOST": "<your_host>",
                "HTTP_PORT": "<your_phoenixd_port>",
                "HTTP_PASSWORD": "<phoenixd_http_password>"
            }
        }
    }
}

Phoenixd MCP Server tools

  • get-balance — Get the balance of the node
    (no parameters)
  • get-node-info — Get the node info
    (no parameters)
  • list-channels — List the node channels
    (no parameters)
  • close-channel — Close a channel by ID, sending the funds to a specified address on chain, with a specified fee rate
    channelId:string*, address:string*, feerateSatByte:number*
  • decode-invoice — Decode an bolt11 invoice, the output amount is in milisatoshis
    invoice:string*
  • decode-offer — Decode an bolt12 offer the output amount is in milisatoshis
    offer:string*
  • create-invoice — Create a bolt11 invoice with a specified amount and description
    description:string, descriptionHash:string, amountSat:number, expirySeconds:number, externalId:string, webhookUrl:string
  • pay-invoice — Pay a bolt11 invoice with a specified amount and description
    invoice:string*, amountSat:number, sendAll:boolean
  • create-offer — Create a bolt12 offer with an optional description and amount
    description:string, amountSat:number
  • pay-offer — Pay a bolt12 offer
    offer:string*, amountSat:number, sendAll:boolean, message:string
  • pay-lightning-address — Pays an email-like Lightning address, either based on BIP-353 or LNURL
    address:string*, amountSat:number, sendAll:boolean, message:string
  • pay-on-chain — Pay an on-chain address with a specified amount and fee rate
    amountSat:number*, address:string*, feerateSatByte:number*
  • bump-fee — Makes all your unconfirmed transactions use a higher fee rate, using CPFP. Returns the ID of the child transaction
    feerateSatByte:number*
  • list-incoming-payments — List the incoming payments
    from:string, to:string, limit:number, offset:number, all:boolean, externalId:string
  • get-incoming-payment — Get the incoming payment by payment hash
    paymentHash:string*
  • list-outgoing-payments — List the outgoing payments
    from:string, to:string, limit:number, offset:number, all:boolean
  • get-outgoing-payment — Get the outgoing payment by payment id
    paymentId:string*

Overview

What is Phoenixd MCP Server?

Phoenixd MCP Server connects a phoenixd Bitcoin Lightning wallet to an LLM via the Model Context Protocol. It uses the MCP TypeScript SDK and the Phoenixd API, enabling AI assistants to manage Lightning payments and node operations programmatically.

How to use Phoenixd MCP Server?

Configure the server in claude_desktop_config.json using npx -y phoenixd-mcp-server and set the environment variables HTTP_PROTOCOL, HTTP_HOST, HTTP_PORT, and HTTP_PASSWORD. Once connected, the LLM can call any of the server’s tools to interact with the phoenixd wallet.

Key features of Phoenixd MCP Server

  • Create and manage Lightning invoices and offers
  • Send and receive Lightning, on‑chain, and Lightning Address payments
  • Query node balance, channels, and payment history
  • Decode invoices and offers for inspection
  • Bump fees for unconfirmed on‑chain transactions

Use cases of Phoenixd MCP Server

  • Allow an AI assistant to pay for services over Lightning
  • Automatically create invoices for e‑commerce checkouts
  • Monitor incoming payments and reconcile them with external IDs
  • Close channels and adjust node liquidity from an LLM

Frequently asked questions

1 What is needed to run the server?

A running phoenixd instance with its HTTP API enabled, and the environment variables HTTP_PROTOCOL, HTTP_HOST, HTTP_PORT, and HTTP_PASSWORD set correctly.

2 Is the `create-offer` tool functional?

No – the README explicitly marks create-offer as “[Not Available]”.

3 What are the default values for `HTTP_PROTOCOL` and `HTTP_PORT`?

HTTP_PROTOCOL defaults to http, and HTTP_PORT defaults to 9740 if not provided.

4 What authentication does the server use?

The server requires the HTTP_PASSWORD environment variable, which must match the phoenixd HTTP password.

5 Where does payment data live?

All payment and node data is managed by the phoenixd wallet itself; the MCP server only acts as a bridge between the LLM and the wallet’s HTTP API.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬