ssh-mcp server
io.github.gelse/ssh-mcp·v0.3.0·8 starsMCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.
8 stars
Reviews
Write oneNobody has reviewed ssh-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
ssh-mcp tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 17 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How ssh-mcp compares
Against every graded Security MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 73/100
- higher than 38% of 915 Security servers
- GitHub stars
- 8
- more than 88% of 587 Security servers
Install ssh-mcp in Claude Code, Cursor or VS Code
claude mcp add ssh-mcp -- docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0
What the publisher says
From the ssh-mcp repository's README, as published. We do not edit it. Read it on GitHub
ssh-mcp
A centralized MCP gateway that gives AI agents controlled SSH access over Streamable HTTP.
What problem does this solve?
Most MCP SSH servers run as local stdio processes — one per client, with no shared state, no centralized authorization, and no audit trail. When multiple AI agents need SSH access, each manages its own SSH keys and runs its own process. This creates:
what it can run
- No centralized access control — every client decides
- No audit trail — commands are invisible to the ops team
- SSH key sprawl — keys scattered across every agent machine
- No rate limiting — a runaway agent can overwhelm a target
ssh-mcp solves this by deploying a single HTTP gateway. All clients connect to it; it connects to your SSH targets. Authorization, rate limiting, connection pooling, and audit logging happen in one place.
Quick Start
Using the pre-built image (recommended)
docker compose pull
docker compose up -dThe image is published at ghcr.io/gelse/ssh-mcp:latest. The compose file maps host port 9080 to container port 8080.
Verify the server is running:
curl http://localhost:9080/health
# → {"status": "ok"}Create a minimal config in config/ssh-mcp-config.json:
{
"version": 1,
"ssh_targets": {
"my-server": {
"host": "10.0.1.10",
"username": "deploy"
}
},
"allowed_commands": {
"default": [
{
"targets": ["*"],
"commands": ["hostname", "uptime", "free", "df"]
}
]
}
}Generate an API key hash and add it to your config or secrets.json (see Configuration).
Build locally instead
make build
docker compose up -d --buildWhat you can do (tools)
Six MCP tools are available over Streamable HTTP:
Tool Naming Convention
All tools follow the pattern ssh__:
- sshlistservers — list resources
- sshlistallowed_commands — list permissions
- sshexecutecommand — perform an action
- sshcheckconnection — verify connectivity
- sshdownloadfile / sshuploadfile — file transfer
See examples/README.md for usage examples including curl commands and Python client code.
What's configurable
ssh-mcp is configured via JSON files with hot-reload (15 s poll, 2 s debounce). Key areas:
Full reference: docs/CONFIGURATION.md
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
ssh-mcp: common questions
- Is ssh-mcp server safe?
- Mostly: it is graded B (73/100). Read the ssh-mcp safety report
- How do I install ssh-mcp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does ssh-mcp need an API key?
- Yes. The registry entry asks for
CONFIG_API_TOKEN. - Is ssh-mcp maintained?
- The last commit was 49 days ago (2026-09-16). The latest release is v0.3.0.
- What can I use instead of ssh-mcp?
- Servers from other publishers that do the same job: Healthclaw Guardrails MCP server, Security Proxy MCP server and Security Proxy MCP server. Compare all ssh-mcp alternatives.
- How does ssh-mcp compare with other Security MCP servers?
- safety score 73/100 (higher than 38% of 915 Security servers); github stars 8 (more than 88% of 587 Security servers). Full comparison.
Alternatives to ssh-mcp
Same job from other publishers: the closest match first, then the best rated.
- Healthclaw GuardrailsGuardrailed FHIR access for AI agents: PHI redaction, audit trail, step-up auth, tenant isolationnot reviewedGrowingA
- Security ProxyMCP gateway: many servers, one policy, lethal-trifecta blocking, PII masking, audit lognot reviewedGrowingA
- Security ProxyMCP gateway: many servers, one policy, lethal-trifecta blocking, PII masking, audit lognot reviewedGrowingA
- BackworkMedicare and commercial payer policies, prior auth, claim risk, and medical codes from Backwork.not reviewedGrowingA
- AltrMCP server for ALTR data security: databases, tags, policies, classification, access, auditsnot reviewedGrowingA