zoxide-doctor

io.github.jiankn由 GitHub 帳號 jiankn 發布v0.1.2更新於 Oct 24, 2026

Read-only local zoxide diagnostics for MCP clients.

已驗證STDIO僅桌面開發者工具

概覽

AI 產生的概覽

唯讀的本機 MCP 伺服器,用來診斷 zoxide 安裝與 shell 設定,並回傳附有對應設定指南的 JSON 報告。

可以做什麼
  • 檢查 zoxide 及選用的 fzf 是否在 PATH 中
  • 驗證 zoxide init 是否能產生 shell 初始化程式碼
  • 回傳機器可讀的 JSON 報告,並附上對應的設定與疑難排解指南
  • 在啟用 scan_config 時讀取一般 shell 設定檔
適用情境
適合在協助排查 zoxide 目錄跳轉失效的原因,或驗證新安裝的 zoxide 與 bash、zsh、fish、PowerShell 等 shell 的初始化設定時使用。
執行需求
以本機 stdio 程序執行,透過 npx 從 npm 套件啟動;需要 Node.js 以及本機已安裝的 zoxide 供檢查。未宣告任何驗證、API 金鑰或環境變數。僅支援桌面用戶端。
安裝前請注意
唯讀:不會安裝 zoxide,也不會修改 shell 設定。將 scan_config 設為 true 時會讀取一般 shell 設定檔,其中可能含有敏感內容,請僅在需要時開啟。它是獨立的社群整合,與 zoxide 官方專案無關。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 zoxide-doctor,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

zoxide-doctor MCP server

@agoes/zoxide-doctor-mcp gives MCP clients one local, read-only tool for diagnosing zoxide installation and shell setup. It wraps the published zoxide-doctor diagnostic core; it does not install zoxide or modify shell configuration files.

This is an independent community integration. It is not affiliated with or endorsed by the official zoxide project.

What it does

  • Checks whether zoxide and optional fzf are on PATH.
  • Checks that zoxide init produces shell initialization code.
  • Returns a machine-readable JSON report, including the matching zoxide.org setup and troubleshooting guides.
  • Reads conventional shell profile paths only when the MCP caller sets scan_config: true.

Install for an MCP client

Use an MCP client configuration that starts the local stdio server with npx:

json
{  "mcpServers": {    "zoxide-doctor": {      "command": "npx",      "args": ["-y", "@agoes/zoxide-doctor-mcp"]    }  }}

The server exposes one tool:

text
diagnose_zoxide({ shell?: "bash" | "zsh" | "fish" | "powershell" | "nushell" | "elvish" | "tcsh" | "xonsh" | "posix", scan_config?: boolean })

scan_config is opt-in because it reads conventional shell-profile files. The tool never writes files or changes shell state.

Development

bash
npm installnpm run lintnpm testnpm run validate:metadatanpm run pack:checknpm run smoke

server.json is kept version-locked to package.json and sets the MCP Registry websiteUrl to the zoxide-doctor guide.

License

MIT

來源:README.md,提交 e9429c4

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分