
Delphi Code
io.github.markdorof由 GitHub 帳號 markdorof 發布v0.3.4更新於 Nov 1, 2026
Let coding agents browse code across all your local, GitHub and Bitbucket repos, offline
概覽
本機 MCP 伺服器,為本機、GitHub 與 Bitbucket 儲存庫建立索引,讓編碼助理離線依語意搜尋程式碼。
- 可以做什麼
- 以自然語言查詢一次搜尋所有已索引的儲存庫,可依語言、路徑或結果數量篩選。
- 追蹤並索引本機路徑或遠端 GitHub、Bitbucket 儲存庫,可指定分支或標籤,並只重新同步有變動的內容。
- 列出已追蹤專案、檢視某個專案的索引、停止追蹤某個專案。
- 開啟本機網頁介面進行搜尋、管理專案與檢查安裝,並對模型與儲存空間做診斷。
- 適用情境
- 適合編碼助理需要跨多個儲存庫找出相關檔案、且檔案中並未出現問題原字詞的情況,也適合要求程式碼不離開本機、不依賴雲端服務的情境。
- 執行需求
- 以本機 stdio 程序執行,透過 uvx 或 uv 工具安裝;需 macOS 14 以上、Apple 晶片(Linux 未測試,不支援 Windows)。初始化時需連網下載一次本機嵌入模型。存取私有遠端儲存庫可選用 GITHUB_TOKEN 或 GH_TOKEN,以及 BITBUCKET_APP_PASSWORD 搭配 BITBUCKET_EMAIL 或 BITBUCKET_USERNAME。僅 setup、add 與 sync 會連網。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Delphi Code,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Delphi Code
Let your coding agent browse code across all your repositories. Index local projects and GitHub or Bitbucket repositories, then ask "where does the backend handle the refund the web app requests?" and get the right files from every repository at once, even when no file contains those words.
- Private: your code never leaves your machine. Indexing and search run offline with a local model; no account, cloud provider, or background daemon.
- Fast: the MCP server keeps the model loaded, so repeated searches are near-instant. No GPU needed.
- Works with your agents: Claude Code, Claude Desktop, Codex, Cursor, VS Code, Gemini CLI, and OpenCode.
Install
The script installs uv if needed, then runs setup, which downloads the embedding model once and connects every agent it finds. Options go after sh -s --: --no-setup, --no-connect, --version VERSION. With uv already installed:
Requires macOS 14+ on Apple silicon (Linux is untested, Windows unsupported). delphi-code doctor checks the installation.
Use
Your agent calls the same search through MCP. After installing a new agent, run delphi-code connect. To connect one by hand:
For agents other than Claude Code and Codex, also copy the skill into the agent's skills folder so it knows when to search by meaning instead of grep.
Commands
-p takes a path or an indexed project's name. index and add skip .gitignored files and accept --ignore, --path, and --language. Every command takes --help, and most take --json for scripts. Only setup, add, and sync use the network.
Settings
Data lives in ~/Library/Application Support/delphi-code on macOS and ~/.local/share/delphi-code on Linux.
Upgrade and uninstall
Your model and indexes are kept. If a command fails with index_incompatible, delete the index directory it names and run sync again. See releases for changes.
If the install script installed uv and you don't need it, uninstall uv and its Python too.
License
Apache-2.0. See THIRD_PARTY_NOTICES.md. To contribute, see CONTRIBUTING.md.
來源:README.md,提交 fa3ce26
工具
0版本歷史
3- v0.3.4最新Oct 18, 2026
- v0.3.3Oct 17, 2026
- v0.3.2Oct 17, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分