关于 silverbullet-ai-mcp
silverbullet-ai-mcp 是一个 MCP 服务,将 SilverBullet 空间中 silverbullet-ai 插件的工具暴露给 MCP 客户端。适合希望在 Claude Code、Claude Desktop 或 Cursor 中使用 SilverBullet 笔记空间的用户。
主要功能
- 01暴露 silverbullet-ai 插件的工具
- 02通过 SB_URL 连接 SilverBullet 服务
- 03通过 npx 方式运行,无需单独安装
- 04要求 Node.js 20 及以上版本
适用场景
- 01在 Claude Code 中操作 SilverBullet 空间内容
- 02在 Claude Desktop 中调用空间工具
- 03在 Cursor 中访问 SilverBullet 空间
MCP 相关
该项目是 MCP 服务,向 Claude Code、Claude Desktop、Cursor 等 MCP 客户端暴露 SilverBullet 空间中的 silverbullet-ai 工具。
配置
本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。
mcp.json · 通用配置
启动命令
npx -y silverbullet-ai-mcp需要配置的环境变量
SB_URLBase URL of your SilverBullet server, or 'desktop' for the SilverBullet+ desktop appSB_AUTH_TOKEN密钥The server's SB_AUTH_TOKEN, if it runs with token authSB_SPACE_IDIn desktop mode, which space to connect to本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。
工具
还没有获取到工具列表
本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。
详细介绍
silverbullet-ai-mcp
MCP 服务,用于向 Claude Code、Claude Desktop 和 Cursor 等 MCP 客户端开放 SilverBullet 空间中的 silverbullet-ai 工具。
完整文档:https://ai.silverbullet.md/MCP%20Server/
要求
- 在 SilverBullet 服务上启用 Runtime API。
- 在空间中安装 silverbullet-ai 插件,建议使用与此软件包相同的版本。
- Node.js 20+。
用法
Claude Code:
claude mcp add silverbullet --env SB_URL=http://localhost:3000 -- npx -y silverbullet-ai-mcp
Claude Desktop(claude_desktop_config.json):
{
"mcpServers": {
"silverbullet": {
"command": "npx",
"args": ["-y", "silverbullet-ai-mcp"],
"env": { "SB_URL": "http://localhost:3000" }
}
}
}
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。