rootpilot-ssh-diagnose
v0.1.2Read-only SSH server diagnostics via a fixed 38-command whitelist; secrets redacted, no write path.
Values you need
| Variable | What it is | |
|---|---|---|
RP_HOSTS | required | Path to your hosts.json (see hosts.example.json in the repo) |
RP_PROBE_URL | optional | Target URL for the outbound-connectivity / DNS probes (default: https://cloudflare.com) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add rootpilot-ssh-diagnose -e 'RP_HOSTS=<RP_HOSTS>' -- npx -y --package=@rootpilot/mcp-ssh-diagnose@0.1.2 rootpilot-ssh-diagnoseAdd to
claude_desktop_config.json{
"mcpServers": {
"rootpilot-ssh-diagnose": {
"args": [
"-y",
"--package=@rootpilot/mcp-ssh-diagnose@0.1.2",
"rootpilot-ssh-diagnose"
],
"command": "npx",
"env": {
"RP_HOSTS": "<RP_HOSTS>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"rootpilot-ssh-diagnose": {
"args": [
"-y",
"--package=@rootpilot/mcp-ssh-diagnose@0.1.2",
"rootpilot-ssh-diagnose"
],
"command": "npx",
"env": {
"RP_HOSTS": "<RP_HOSTS>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "RP_HOSTS",
"id": "rp-hosts",
"password": true,
"type": "promptString"
}
],
"servers": {
"rootpilot-ssh-diagnose": {
"args": [
"-y",
"--package=@rootpilot/mcp-ssh-diagnose@0.1.2",
"rootpilot-ssh-diagnose"
],
"command": "npx",
"env": {
"RP_HOSTS": "${input:rp-hosts}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.rootpilot-ssh-diagnose]
command = "npx"
args = ["-y", "--package=@rootpilot/mcp-ssh-diagnose@0.1.2", "rootpilot-ssh-diagnose"]
env = { "RP_HOSTS" = "<RP_HOSTS>" }For AI agents
- Ask the user for: RP_HOSTS. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_hosts, get_whitelist, collect, collect_base, container_deep_dive.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json