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 整合