Rootpilot SSH Diagnose MCP server
io.github.Easton-OU/rootpilot-ssh-diagnose·v0.1.2·1 starsRead-only SSH server diagnostics via a fixed 38-command whitelist; secrets redacted, no write path.
1 stars36 downloads/wk
Reviews
Write oneNobody has reviewed Rootpilot SSH Diagnose yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Rootpilot SSH Diagnose tools (5, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
collectwrite actionRun up to … whitelisted commands on a host and return their (redacted, truncated) output.
collect_baseShortcut: run the base group (docker_ps, df, df_inode, free, uptime, dmesg_oom, docker_daemon) — a cheap first look at a host.
container_deep_diveShortcut: for one container, run docker_logs, docker_inspect (redacted), container_state and docker_stats.
get_whitelistReturn every command this server can run: key, purpose, shell template, and whether it needs a container argument. This is the complete set — nothing outside it can be executed.
list_hostsList the hosts defined in your hosts.json, with an optional reachability probe (TCP + SSH banner). Returns names to use with the other tools.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan8 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 75 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Rootpilot SSH Diagnose compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 70% of 48,255 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 20%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 36
- more than 26% of 12,191 servers with a package
What its tools let an agent do: 4 read · 1 change
Install Rootpilot SSH Diagnose in Claude Code, Cursor or VS Code
Runs npx -y @rootpilot/mcp-ssh-diagnose on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add rootpilot-ssh-diagnose -- npx -y @rootpilot/mcp-ssh-diagnose
What the publisher says
From the Rootpilot SSH Diagnose repository's README, as published. We do not edit it. Read it on GitHub
rootpilot-ssh-diagnose
This is the open-source, bring-your-own-LLM taste of RootPilot. The full product adds calibrated diagnosis (89.7% across 29 standard failure scenarios, zero false alarms on healthy hosts), alert-triggered auto-diagnosis, history, and multi-host management → rootpilotx.com · deployment repo: rootpilot-release
An MCP server that lets any MCP client — Claude Desktop, Claude Code, or your own — safely collect read-only diagnostics from your servers over SSH. It gathers evidence from a fixed whitelist of read-only commands; your model does the reasoning. The server never runs anything outside the whitelist, and never makes a change to your hosts.
Why
When a server misbehaves, you end up SSH-ing in and running the same twenty commands — df -h, docker ps, dmesg | grep -i oom, free -m — then eyeballing the output. This server turns that into a conversation: your LLM asks for exactly the evidence it needs, gets structured, secret-redacted output back, and reasons about the root cause. You stay in control; nothing leaves your machine except SSH to your own hosts.
Security model (read this first)
- Read-only whitelist. There are exactly 38 built-in commands (get_whitelist lists them all). There is no tool that runs an arbitrary command — not even with a confirmation prompt. Every command only inspects state.
- The only injectable value is a container name, validated against ^[a-zA-Z0-9_.-]+$ before it is ever placed in a command. web; rm -rf / is rejected, not escaped.
- Secrets are redacted from output before it reaches your model: KEY=value secrets, Bearer/Basic tokens, sk-/ghp_/AKIA… key shapes, PEM private-key blocks, and credentials embedded in URLs. docker inspect env values are scrubbed.
- Per-command timeout (15s) and output truncation guard against hangs and floods.
- Credentials stay local. Host definitions live in a file you control; passwords are never logged.
30-second setup
Add the server to your MCP client. For Claude Desktop (claudedesktopconfig.json):
{
"mcpServers": {
"rootpilot-ssh-diagnose": {
"command": "npx",
"args": ["-y", "@rootpilot/mcp-ssh-diagnose"],
"env": {
"RP_HOSTS": "/Users/me/.rootpilot-mcp/hosts.json"
}
}
}
}Then create hosts.json (see hosts.example.json):
[
{ "name": "prod-1", "host": "1.2.3.4", "port": 22, "user": "rootpilot",
"auth": { "type": "key", "keyPath": "~/.ssh/rootpilot_key" } },
{ "name": "prod-2", "host": "10.0.0.5", "user": "ops",
"auth": { "type": "password", "password": "..." } }
]Restart your client. Ask it: "Diagnose prod-1" (or run the diagnose-host prompt).
Use a least-privilege account. Create a dedicated read-only SSH user for diagnostics rather than reusing root. The commands only read state, but the account should reflect that.
Tools
Two prompts ship built-in: diagnose-host (evidence-first root-cause walkthrough) and health-check (a light sweep).
Configuration
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Rootpilot SSH Diagnose: common questions
- Is Rootpilot SSH Diagnose MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Rootpilot SSH Diagnose safety report
- How do I install Rootpilot SSH Diagnose?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Rootpilot SSH Diagnose need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Rootpilot SSH Diagnose maintained?
- The last commit was 114 days ago (2026-07-13). The latest release is v0.1.2.
- What can I use instead of Rootpilot SSH Diagnose?
- Servers from other publishers that do the same job: SSH Manager MCP server.
- How does Rootpilot SSH Diagnose compare with other MCP servers?
- safety score 85/100 (higher than 70% of 48,255 servers); tools 5 (the typical server has 7); tools that change things 20% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Rootpilot SSH Diagnose
Same job from other publishers: the closest match first, then the best rated.
- SSH ManagerSSH for AI agents: commands, files, backups and health, with approval, a vault and an audit trailnot reviewedEstablishedA