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
zoxideand optionalfzfare onPATH. - Checks that
zoxide initproduces 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:
{
"mcpServers": {
"zoxide-doctor": {
"command": "npx",
"args": ["-y", "@agoes/zoxide-doctor-mcp"]
}
}
}
The server exposes one tool:
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
npm install
npm run lint
npm test
npm run validate:metadata
npm run pack:check
npm run smoke
server.json is kept version-locked to package.json and sets the MCP Registry websiteUrl to the zoxide-doctor guide.
License
MIT