nwc-mcp-server

nwc-mcp-server

11

The NWC MCP Server allows users to connect a bitcoin lightning wallet to their LLM via Nostr Wallet Connect, utilizing the official MCP TypeScript SDK. It provides instructions for integration with various platforms like Claude Desktop, Goose, Cline, and N8N, and supports installation and usage from source.

NWC MCP Server

Connect a bitcoin lightning wallet to your LLM using Nostr Wallet Connect (NWC or NIP-47). This MCP server uses the official MCP TypeScript SDK.

Quick Start

  • Add to Claude Desktop: Update claude_desktop_config.json with specific command and environment variables.
  • Add to Goose: Configure Goose with command line extension and environment variables.
  • Add to Cline: Set up MCP server configuration within Cline.
  • Add to N8N: Install community node and configure AI agent nodes with command line tools.

From Source

Prerequisites

  • Node.js 20+
  • Yarn
  • A NWC-supportive lightning wallet connection string

Installation & Building

  • Install with yarn install
  • Build with yarn build
  • Set up connection by creating .env from .env.example