Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Nwc Mcp Server

    Connect a bitcoin lightning wallet to your LLM using Nostr Wallet Connect and Model Context Protocol

    12 stars
    TypeScript
    Updated Sep 1, 2025

    Table of Contents

    • Quick Start
    • Use the Alby-Hosted MCP Server
    • Add to Claude Desktop
    • Add to Goose
    • Add to Cline
    • Add to N8N via SSE
    • Add to N8N via STDIO (Community Node)
    • Modes
    • STDIO
    • HTTP
    • From Source
    • Prerequisites
    • Installation
    • Building
    • Add your NWC connection
    • Inspect the tools (use/test without an LLM)
    • Supported Tools

    Table of Contents

    • Quick Start
    • Use the Alby-Hosted MCP Server
    • Add to Claude Desktop
    • Add to Goose
    • Add to Cline
    • Add to N8N via SSE
    • Add to N8N via STDIO (Community Node)
    • Modes
    • STDIO
    • HTTP
    • From Source
    • Prerequisites
    • Installation
    • Building
    • Add your NWC connection
    • Inspect the tools (use/test without an LLM)
    • Supported Tools

    Documentation

    ⚠️ DEPRECATED ⚠️

    **Please use Alby MCP instead!**

    This repository has been deprecated in favor of Alby MCP, which includes all the NWC tools along with additional Lightning tools.

    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

    See also the Alby MCP server which includes additional useful tools.

    Quick Start

    Use the Alby-Hosted MCP Server

    If your agent supports SSE (e.g. N8N) or HTTP Streamable transports, you can connect to Alby's MCP server.

    • SSE: https://mcp.getalby.com/sse
    • HTTP Streamable: https://mcp.getalby.com/mcp

    Both require providing an NWC connection secret as Bearer authentication.

    Add to Claude Desktop

    Add this to your claude_desktop_config.json:

    json
    {
      "mcpServers": {
        "nwc": {
          "command": "npx",
          "args": ["-y", "@getalby/nwc-mcp-server"],
          "env": {
            "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
          }
        }
      }
    }

    Add to Goose

    1. Type goose configure

    2. Add extension -> Command Line Extension

    3. Call it nwc

    4. What command should be run: npx -y @getalby/nwc-mcp-server

    5. Timeout: 30

    6. Description: no

    7. environment variables: yes

    8. environment variable name: NWC_CONNECTION_STRING

    9. environment variable value: nostr+walletconnect://... (your NWC connection secret here)

    Add to Cline

    Copy the below and paste it into a cline prompt. It should prompt you to update the connection string.

    json
    Add the following to my MCP servers list:
    
    "nwc": {
      "command": "npx",
      "args": ["-y", "@getalby/nwc-mcp-server"],
      "env": {
        "NWC_CONNECTION_STRING": "nostr+walletconnect://..."
      },
      "disabled": false,
      "autoApprove": []
    }

    Add to N8N via SSE

    You can use the native N8N MCP Client tool connected to an AI agent. Enter your SSE endpoint, set authentication to "Bearer" and paste your NWC connection secret.

    Tested with OpenRouter + anthropic/claude-3.7-sonnet

    See the N8N workflow for a simple example

    Add to N8N via STDIO (Community Node)

    Currently this MCP server only works via command line (STDIO).

    You can install the n8n-nodes-mcp community node and run n8n with tools enabled e.g.

    bash
    N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true npx n8n

    Create a blank workflow and add an AI agent node. Configure your LLM model and add a new tool "MCP Client" (which will have a cube next to it showing it's a community node).

    Configure the MCP Client by adding a credential with Command Line (STDIO) selected.

    command: npx

    arguments: -y @getalby/nwc-mcp-server

    environments NWC_CONNECTION_STRING=nostr+walletconnect://your_key_here (create the whole line in a text editor and paste it in, since the password field cannot be switched to plaintext)

    See the N8N paid chat workflow for a full example

    Modes

    STDIO

    By default NWC MCP Server runs locally in STDIO mode.

    HTTP

    You can set the following environment variable: MODE=HTTP which will enable Streamable HTTP (http://localhost:3000/mcp) and SSE (http://localhost:3000/sse Note: SSE is deprecated).

    HTTP requires bearer authorization, where the token is a wallet's NWC connection secret.

    From Source

    Prerequisites

    • Node.js 20+
    • Yarn
    • A connection string from a lightning wallet that supports NWC

    Installation

    bash
    yarn install

    Building

    bash
    yarn build

    Add your NWC connection

    Copy .env.example to .env and update your connection string

    Inspect the tools (use/test without an LLM)

    yarn inspect

    Supported Tools

    See the tools directory

    Similar MCP

    Based on tags & features

    • ME

      Metmuseum Mcp

      TypeScript·
      14
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11
    • MC

      Mcp Wave

      TypeScript00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • ME

      Metmuseum Mcp

      TypeScript·
      14
    • MC

      Mcp Ipfs

      TypeScript·
      11
    • LI

      Liveblocks Mcp Server

      TypeScript·
      11
    • MC

      Mcp Wave

      TypeScript00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k