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
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.Part of MCP Servers
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.
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.
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.
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.