Skip to content
mcp/skillhub

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.

815Node.jsstdioofficial registry

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-mcp

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

VariableRequiredSecretDescription
SSH_MCP_PASSWORD—yesPassword 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—yesPassphrase for an encrypted private key.
SSH_MCP_SUDO_PASSWORD—yesPassword 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

ModelPer 1,000 turnsWith 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 tok

    Upload 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 tok

    Download 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 tok

    Execute 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 tok

    Upload 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 tok

    Open 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 tok

    Execute 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 tok

    Execute 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 tok

    List a remote directory over SFTP, with a bounded number of entries and a bounded response size. Read-only.

  • signal-process123 tok

    Send a signal (INT, TERM, KILL) to a remote process by PID.

  • close-session121 tok

    Close 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 tok

    Download a file from the remote server via SFTP.

  • read-session-output99 tok

    Read recent output from a background session (e.g., tail -f logs).

  • list-sessions60 tok

    List active sessions for a given SSH profile.

  • list-connections55 tok

    List 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.

  1. Last commit (default branch)

    2026-10-14 · 27d ago · GitHub

  2. Latest release

    2026-10-14 · 27d ago · GitHub · v2.19.1

  3. Package published

    no data · npm/PyPI

  4. 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.

ServerStarsToolsTokens / turnFreshnessRuns
SSH — policy-gated remote access (this)815141,911Activelocal
Memory91,3569949Activelocal
Claude Flow76,638—not measuredActivelocal
Next AI Draw.io36,318164,856Activelocal
Serena Agent30,371—not measuredActivelocal
Cua30,160—not measuredActive—
All ai & llm tools MCP servers

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
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.

View all