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 分