
SSH — policy-gated remote access MCP Server
by tufantuncio.github.tufantunc/ssh-mcpv2.19.1
SSH control for Linux and Windows servers: execute remote shell commands with password or SSH key authentication.
context tax
~1,911 tok/turn14 tools
security
100/100
cold start
339 ms
freshness
Active27d ago
Our reading of SSH — policy-gated remote access, from the data
SSH — policy-gated remote access is a ai & llm tools MCP server from tufantunc, listed in the official MCP Registry.
Its 14 tools add about 1,911 tokens to every model turn, heavier than the ai & llm tools median of 1,038 tokens across 276 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 27 days ago (2026-10-14). For comparison, 58% of ai & llm tools servers are active or maintained.
With 815 GitHub stars it ranks #47 of 3,169 ai & llm tools servers we index.
It runs locally on your machine over stdio and needs 3 secrets (SSH_MCP_PASSWORD, SSH_MCP_PASSPHRASE, SSH_MCP_SUDO_PASSWORD); use a scoped, least-privilege key.
Install SSH — policy-gated remote access MCP server
Install in Claude Code
claude mcp add ssh-tufantunc -e SSH_MCP_PASSWORD='<ssh-mcp-password>' -e SSH_MCP_PASSPHRASE='<ssh-mcp-passphrase>' -e SSH_MCP_SUDO_PASSWORD='<ssh-mcp-sudo-password>' -- npx -y ssh-mcpInstall in Cursor
{
"mcpServers": {
"ssh-tufantunc": {
"command": "npx",
"args": [
"-y",
"ssh-mcp"
],
"env": {
"SSH_MCP_PASSWORD": "<ssh-mcp-password>",
"SSH_MCP_PASSPHRASE": "<ssh-mcp-passphrase>",
"SSH_MCP_SUDO_PASSWORD": "<ssh-mcp-sudo-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"ssh-tufantunc": {
"command": "npx",
"args": [
"-y",
"ssh-mcp"
],
"env": {
"SSH_MCP_PASSWORD": "<ssh-mcp-password>",
"SSH_MCP_PASSPHRASE": "<ssh-mcp-passphrase>",
"SSH_MCP_SUDO_PASSWORD": "<ssh-mcp-sudo-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"ssh-tufantunc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ssh-mcp"
],
"env": {
"SSH_MCP_PASSWORD": "<ssh-mcp-password>",
"SSH_MCP_PASSPHRASE": "<ssh-mcp-passphrase>",
"SSH_MCP_SUDO_PASSWORD": "<ssh-mcp-sudo-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"ssh-tufantunc": {
"command": "npx",
"args": [
"-y",
"ssh-mcp"
],
"env": {
"SSH_MCP_PASSWORD": "<ssh-mcp-password>",
"SSH_MCP_PASSPHRASE": "<ssh-mcp-passphrase>",
"SSH_MCP_SUDO_PASSWORD": "<ssh-mcp-sudo-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test ssh-mcp
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SSH_MCP_PASSWORD | — | yes | Password for the configured profile; a per-profile SSH_MCP_<PROFILE>_PASSWORD takes precedence. Credentials are never accepted as CLI arguments. |
| SSH_MCP_KEY | — | — | Path to the private key file to authenticate with — the path, not the key material. A per-profile SSH_MCP_<PROFILE>_KEY takes precedence. |
| SSH_MCP_PASSPHRASE | — | yes | Passphrase for an encrypted private key. |
| SSH_MCP_SUDO_PASSWORD | — | yes | Password the sudo tool escalates with, when the policy in force allows the privileged class. |
Context tax
Connecting this server adds ~1,911 tokens of tool definitions to every model turn (moderate, 14 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $7.64 | $0.382 |
| Claude Sonnet 5.5 | $3.82 | $0.382 |
| Claude Haiku 5.5 | $0.191 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (14)
sftp-upload-file268 tokUpload a local file to the remote host over SFTP, streaming it without passing the contents through model context. The local file must be inside the transferRoot directory the operator configured; without that setting this tool refuses. Use this for binary or large files; use sftp-upload for short text you already have.
sftp-download-filehttp184 tokDownload a remote file to local disk over SFTP, streaming it without passing the contents through model context. The destination must be inside the transferRoot directory the operator configured; without that setting this tool refuses. Use this for binary or large files; use sftp-download when you need to read the contents.
run-command171 tokExecute an arbitrary shell command on the remote server. May modify the system. Commands classified destructive or privileged go through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path.
sftp-upload153 tokUpload a file to the remote server via SFTP (secure file transfer, not shell-based). Replaces an existing file at that path unconditionally — there is no overwrite flag and no way to require a new destination.
open-session151 tokOpen a named session on a remote host. Use type="interactive" for stateful shell (CWD/env persists between commands) or type="background" for long-running processes.
privileged-command141 tokExecute a command with sudo elevation. Goes through the approval gate; approvalPolicy on the profile decides whether that is a prompt, an automatic allow, or a refusal. The sudo password is piped via stdin (never visible in process list). Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path.
read-command140 tokExecute a READ-ONLY command from an allowlist (ls, cat, grep, find, stat, df, etc.). This tool does NOT modify the system. Prefer this tool for all read operations. Single-line only: a command containing a line break is refused, so upload a multi-line script with sftp-upload and run it by path.
sftp-list139 tokList a remote directory over SFTP, with a bounded number of entries and a bounded response size. Read-only.
signal-process123 tokSend a signal (INT, TERM, KILL) to a remote process by PID.
close-session121 tokClose a named session. A background session's command is signalled on the host (INT, then TERM, then KILL) before its channel is dropped; an interactive session's shell is ended. The response says so if the command could not be signalled or had not stopped in time.
sftp-downloadhttp104 tokDownload a file from the remote server via SFTP.
read-session-output99 tokRead recent output from a background session (e.g., tail -f logs).
list-sessions60 tokList active sessions for a given SSH profile.
list-connections55 tokList all configured SSH profiles and their connection status. Use this to discover available hosts before running commands.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-14 · 27d ago · GitHub
Latest release
2026-10-14 · 27d ago · GitHub · v2.19.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-14 · 27d ago · official registry · v2.19.1
How it compares in AI & LLM Tools
Against the most-starred ai & llm tools servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| SSH — policy-gated remote access (this) | 815 | 14 | 1,911 | Active | local |
| Memory | 91,356 | 9 | 949 | Active | local |
| Claude Flow | 76,638 | — | not measured | Active | local |
| Next AI Draw.io | 36,318 | 16 | 4,856 | Active | local |
| Serena Agent | 30,371 | — | not measured | Active | local |
| Cua | 30,160 | — | not measured | Active | — |
FAQ
›How do I install the SSH — policy-gated remote access MCP server in Claude Code?
Run: claude mcp add ssh-tufantunc -e SSH_MCP_PASSWORD='<ssh-mcp-password>' -e SSH_MCP_PASSPHRASE='<ssh-mcp-passphrase>' -e SSH_MCP_SUDO_PASSWORD='<ssh-mcp-sudo-password>' -- npx -y ssh-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SSH — policy-gated remote access require an API key?
Yes. It expects SSH_MCP_PASSWORD, SSH_MCP_PASSPHRASE, SSH_MCP_SUDO_PASSWORD, of which 3 are secrets.
›Can I use SSH — policy-gated remote access as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SSH — policy-gated remote access in the official MCP registry?
Yes, as io.github.tufantunc/ssh-mcp.
›How many tokens does SSH — policy-gated remote access add to my context?
Its tool definitions total about 1,911 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-10-14
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to SSH — policy-gated remote access
Other ai & llm tools MCP servers.