nostrdb - mcp 是一个为 nostrdb 提供模型上下文协议(MCP)的服务器,它允许大语言模型(LLM)连接工具和系统,让 LLM 能够借助 ndb nostrdb 命令行工具执行本地 nostr 查询。
MCP 是一种允许 LLM 连接工具和系统的协议。nostrdb - mcp 服务器可使 LLM 利用 ndb nostrdb 命令行工具执行本地 nostr 查询。默认情况下,它会使用你的 Notedeck nostrdb 目录,以便搜索 notedeck 已知的笔记。
ndb 命令行工具执行本地 nostr 查询。确保你已经在路径中拥有 ndb,可通过 notstrdb 仓库 进行编译,输入 make ndb 并将其复制到你的路径中。
你可以配置 goose 使用此工具:
$ goose 配置
在添加提供程序时,使用:npx -y nostrdb - mcp
你还可以创建一个临时会话来尝试一下:
$ goose 会议 --with - extension `npm -y nostrdb - mcp`
