NWC MCP Server

NWC MCP Server is an MCP server that connects large language models to Bitcoin Lightning wallets using Nostr Wallet Connect (NWC / NIP-47). Built with the official Model Context Protocol TypeScript SDK, the server allows AI agents to interact with a user's Lightning wallet to send transactions, check balances, and handle micropayments. Developers and autonomous agent builders use it to automate Lightning-based payments and integrate financial actions directly into LLM workflows. The server supports multiple transport modes, including standard input/output (STDIO) for local execution, as well as Streamable HTTP and SSE for remote endpoints. While fully functional for wallet control through an NWC connection string, the upstream maintainers note that this project is deprecated in favor of Alby MCP, which packages these NWC capabilities alongside additional Bitcoin Lightning tools.

Category: Finance, Crypto & Payments

Tags: bitcoin, lightning, nostr, payments, wallet

Visit NWC MCP Server

How to install and configure NWC MCP Server

  1. Obtain an NWC connection secret (nostr+walletconnect://...) from your Lightning wallet. 2. Configure your client using the @getalby/nwc-mcp-server package via npx. 3. For Claude Desktop, open claude_desktop_config.json and add the server configuration: json { "mcpServers": { "nwc": { "command": "npx", "args": ["-y", "@getalby/nwc-mcp-server"], "env": { "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE" } } } } 4. For Goose, run goose configure, add a Command Line Extension named nwc, set the command to npx -y @getalby/nwc-mcp-server, and add the NWC_CONNECTION_STRING environment variable. 5. Restart your client to start interacting with your Lightning wallet.

What you can do with NWC MCP Server

  • Sending automated Bitcoin Lightning payments directly from an LLM prompt using Nostr Wallet Connect permissions. - Integrating automated invoice payments into N8N AI workflows via SSE or command-line STDIO execution. - Enabling developer assistants like Goose or Cline to query wallet balances during programmatic tasks. - Powering paid-chat and microtransaction agent services that settle instantly on the Bitcoin Lightning Network.

Key facts

  • Open Source
  • https://github.com/getAlby/nwc-mcp-server
  • Finance, Crypto & Payments
  • bitcoin, lightning, nostr, payments, wallet

Part of MCP Servers

Related MCP servers

  • MCP Mempool — MCP Mempool is an MCP server that exposes the mempool.space WebSocket and REST APIs to AI agents, LLM assistants, and…
  • MCP Options Order Flow Server — MCP Options Order Flow Server is an MCP server that provides real-time options order flow data, institutional bias tracking, and…
  • MCP Orlen Wholesale Price — MCP Orlen Wholesale Price is an MCP server that provides access to Polish Orlen fuel wholesale pricing data directly inside…
  • MCP Payment Server — MCP Payment Server is an MCP server that provides payment link processing capabilities to AI assistants and autonomous agents using…
  • MCP OpenDART — MCP OpenDART is an MCP server that connects AI language models to South Korea's OpenDART (Data Analysis, Retrieval and Transfer…
  • MCP Query Table — MCP Query Table is an MCP server that extracts and queries tabular financial data from online platforms using Playwright browser…

What can NWC MCP Server do?

NWC MCP Server connects language models to Bitcoin Lightning wallets via Nostr Wallet Connect. It allows AI clients to programmatically check balances, generate invoices, and execute payments through standard MCP tool calls.

Which MCP clients work with NWC MCP Server?

The server works with Claude Desktop, Goose, Cline, and N8N workflows. It supports standard command-line STDIO transports locally and HTTP or Server-Sent Events (SSE) for remote agent connections.

Is NWC MCP Server still maintained?

The repository is deprecated by the getAlby team in favor of Alby MCP. While functional, users are advised to migrate to the unified Alby MCP server, which includes these NWC tools plus other Lightning utilities.

Is NWC MCP Server open source?

Yes, NWC MCP Server is an open-source project hosted on GitHub under the getAlby organization. Developers can inspect, build, or fork the TypeScript source code directly from the repository.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories