Claude Desktop Bridge

io.github.KiMiGuel由 GitHub 账号 KiMiGuel 发布v1.0.0更新于 Oct 24, 2026

Shared local knowledge vault MCP server for Claude Desktop (Chat + Code)

发布方自己的服务:Claude Platform Docs

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,为 Claude Desktop 的 Chat 与 Code 标签页提供共享的持久化 SQLite 笔记库,助手可保存、搜索和更新笔记。

可以做什么
保存带标题、内容、可选标签和可选项目标记的新笔记,并可后续更新已有笔记的字段。按 id、标签或项目检索笔记,按时间倒序返回。对笔记标题和内容进行全文搜索。按 id 永久删除笔记。按项目区分笔记,使多个代码库的工作互不混淆。
适用场景
适合在 Claude Desktop 的 Chat 与 Code 标签页之间切换时,希望上下文、决定或代码片段得以延续而无需重新推导的场景。也适合在多个代码库之间按项目保存笔记。
运行要求
作为本地进程在用户机器上运行,以 Claude Desktop 扩展形式安装;Desktop 自带 Node 运行时,最终用户无需安装 Node。从源码构建需要 Node.js 22+。笔记库是本地 SQLite 文件,默认位于用户主目录下,可通过 VAULT_DIR 环境变量指定位置。无需网络访问,也无需身份验证。
安装前请注意
笔记以明文形式存放在本地 SQLite 中,卸载扩展后仍会保留,直到用删除工具删除或手动移除文件。删除工具会永久删除笔记。由助手自行决定保存或搜索什么,敏感内容可能在未明确要求的情况下被写入笔记库。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Claude Desktop Bridge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Claude-Desktop-Bridge

Local MCP server that gives Claude Desktop's Chat and Code tabs a shared, persistent note vault. Claude pulls only what it needs via five tools — save_note, get_notes, search_notes, update_note, delete_note — instead of re-deriving context after every tab switch.

Install

  1. Download claude-desktop-bridge.mcpb from Releases.
  2. Drag it onto the Claude Desktop window — or Settings → Extensions → Advanced settings → Install Extension…
  3. No configuration. The vault lives at ~/.claude-bridge/vault.db.

Tools

ToolDescription
save_noteSave a new note (title, content, optional tags, optional project)
get_notesRetrieve notes by id, tags, or project, most recent first
search_notesFull-text search over note titles and content
update_noteUpdate an existing note's title, content, tags, or project
delete_notePermanently delete a note by id

Notes carry an optional project field, so work across multiple codebases stays separated — each project's notes filter independently.

Use it

Talk normally in either tab — Claude calls the tools on its own when useful. You never invoke anything manually.

  • Proactive, not automatic-automatic. Claude decides what's worth saving or searching — it's not logging every message. Say "remember this for later" when you want something kept.
  • Tag by project when working across codebases, so a search in one repo's context doesn't surface another's notes.
  • Chat tab "Projects" don't auto-link to a Code tab folder. Put it in that Project's Custom Instructions: "This project corresponds to the my-repo codebase; use Claude-Desktop-Bridge with project: 'my-repo'."

Where this works

SurfaceWorks out of the box?
Claude Desktop — Chat tab✅ Yes
Claude Desktop — Code tab (local sessions)✅ Yes
Standalone claude CLI (terminal, Desktop not required)⚠️ Needs one extra step
Claude Code on the Web / cloud sessions❌ Not available (local-only server)

The standalone CLI doesn't read Desktop's extension config. Register it explicitly:

bash
# macOS or WSL — imports every MCP server Desktop has configuredclaude mcp add-from-claude-desktop
# Any platform, including Linux — register this repo's built server:claude mcp add --scope user claude-desktop-bridge -- node /path/to/claude-desktop-bridge/server/index.js

--scope user makes it available in every terminal project. It reads the same ~/.claude-bridge/vault.db as the Desktop extension, so notes are shared.

Want notes to cost fewer tokens? cdb-companion compresses content before it hits save_note/update_note.

Building from source

bash
npm installnpm run build   # bundles src/index.ts -> server/index.jsnpm run pack     # produces claude-desktop-bridge.mcpb

Requires Node.js 22+ (built-in node:sqlite). Claude Desktop's own Node runtime runs the extension — end users need no Node install. Gates: npm ci + npm test (see .github/workflows/npm-project.yml).

Configuration

  • Vault → ~/.claude-bridge/vault.db (local SQLite). Uninstalling the extension keeps the file; notes persist until deleted via delete_note or by removing the file.
  • Network → none. No server component, no outbound requests, no analytics or telemetry.

Contribute

Open an issue to discuss before a PR. Edit src/index.ts — server/index.js is generated. PRs must pass npm ci + npm test.

License

MIT

来源:README.md,提交 419827a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Claude 集成