NWC MCP 服务器
使用 Nostr Wallet Connect( NWC或NIP-47 )将比特币闪电钱包连接到您的 LLM。
此 MCP 服务器使用官方 MCP TypeScript SDK
快速入门
添加到 Claude 桌面
将其添加到您的 claude_desktop_config.json 中:
添加到鹅
- 类型
goose configure
- 添加扩展 -> 命令行扩展
- 称之为
nwc
- 应该运行什么命令:
npx -y @getalby/nwc-mcp-server
- 超时:30
- 描述:无
- 环境变量:是
- 环境变量名称:
NWC_CONNECTION_STRING
- 环境变量值:
nostr+walletconnect://...
(此处为你的 NWC 连接密钥)
添加到克莱恩
复制以下内容并将其粘贴到命令行提示符中。它会提示您更新连接字符串。
添加到 N8N(社区节点)
目前,此 MCP 服务器仅通过命令行(STDIO)工作。
您可以安装n8n-nodes-mcp社区节点并启用工具运行 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 的闪电钱包的连接字符串
安装
建筑
添加您的 NWC 连接
将.env.example
复制到.env
并更新连接字符串
检查工具(无需 LLM 即可使用/测试)
yarn inspect
支持的工具
查看工具目录
You must be authenticated.
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 等语言模型中的支付功能。
Related MCP Servers
- -securityFlicense-qualityA 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 -4TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to access Binance Smart Chain data, perform blockchain queries, and create Four.meme tokens.Last updated -TypeScript
- -securityFlicense-qualityEnables interaction with lightning addresses and common lightning tools via your LLM, providing Lightning Network functionality through natural language.Last updated -101TypeScript
- AsecurityAlicenseAqualityA 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 -525TypeScriptMIT License