Nostr MCP 服务器

Nostr MCP 服务器

一个为大型语言模型(如 Claude)提供 Nostr 功能的 Model Context Protocol (MCP) 服务器。

快速入门

  1. 克隆仓库: git clone https://github.com/austinkelsay/nostr-mcp-server.git cd nostr-mcp-server

  2. 安装依赖: npm install

  3. 构建项目: npm run build

  4. 配置并连接到支持的应用程序(如 Claude 或 Cursor),编辑配置文件添加以下内容: { "mcpServers": { "nostr": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/nostr-mcp-server/build/index.js"] } } }

  5. 重启应用程序。

  6. 使用示例命令测试功能,例如:

    • 显示某个用户的资料信息
    • 获取某用户最近的文章或 Zaps 数据