Skip to main content
Glama

NWC MCP Server

by getAlby

NWC MCP 服务器

使用 Nostr Wallet Connect( NWCNIP-47 )将比特币闪电钱包连接到您的 LLM。

此 MCP 服务器使用官方 MCP TypeScript SDK

快速入门

添加到 Claude 桌面

将其添加到您的 claude_desktop_config.json 中:

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

添加到鹅

  1. 类型goose configure
  2. 添加扩展 -> 命令行扩展
  3. 称之为nwc
  4. 应该运行什么命令: npx -y @getalby/nwc-mcp-server
  5. 超时:30
  6. 描述:无
  7. 环境变量:是
  8. 环境变量名称: NWC_CONNECTION_STRING
  9. 环境变量值: nostr+walletconnect://... (此处为你的 NWC 连接密钥)

添加到克莱恩

复制以下内容并将其粘贴到命令行提示符中。它会提示您更新连接字符串。

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": [] }

添加到 N8N(社区节点)

目前,此 MCP 服务器仅通过命令行(STDIO)工作。

您可以安装n8n-nodes-mcp社区节点并启用工具运行 n8n,例如

N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true npx n8n

创建一个空白工作流并添加一个 AI 代理节点。配置你的 LLM 模型并添加一个新工具“MCP 客户端”(旁边会有一个立方体,显示它是一个社区节点)。

通过添加选择命令行(STDIO)的凭证来配置 MCP 客户端。

命令: npx参数: -y @getalby/nwc-mcp-server环境NWC_CONNECTION_STRING=nostr+walletconnect://your_key_here (在文本编辑器中创建整行并粘贴,因为密码字段无法切换为纯文本)

请参阅N8N 付费聊天工作流程以获取完整示例

来自源

先决条件

  • Node.js 20+
  • 支持 NWC 的闪电钱包的连接字符串

安装

yarn install

建筑

yarn build

添加您的 NWC 连接

.env.example复制到.env并更新连接字符串

检查工具(无需 LLM 即可使用/测试)

yarn inspect

支持的工具

查看工具目录

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

使用 Nostr Wallet Connect 将比特币闪电钱包连接到您的 LLM,从而实现 Claude 等语言模型中的支付功能。

  1. 快速入门
    1. 添加到 Claude 桌面
    2. 添加到鹅
    3. 添加到克莱恩
    4. 添加到 N8N(社区节点)
  2. 来自源
    1. 先决条件
    2. 安装
    3. 建筑
    4. 添加您的 NWC 连接
    5. 检查工具(无需 LLM 即可使用/测试)
    6. 支持的工具

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    A server that adds Bitcoin payment capabilities to LLMs, enabling sending/receiving payments, creating charges, managing wallets, and performing other Bitcoin Lightning Network operations.
    Last updated -
    4
    TypeScript
    • Apple
    • Linux
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that enables LLMs to access Binance Smart Chain data, perform blockchain queries, and create Four.meme tokens.
    Last updated -
    TypeScript
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    Enables interaction with lightning addresses and common lightning tools via your LLM, providing Lightning Network functionality through natural language.
    Last updated -
    10
    1
    TypeScript
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables LLMs like Claude to interact with the Nostr social network, allowing for fetching user profiles, text notes, and zap payment information.
    Last updated -
    5
    25
    TypeScript
    MIT License
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getAlby/nwc-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server