mcpbeat Sign in

SSH — policy-gated remote access MCP Server

local only

SSH — policy-gated remote access runs on your own machine — the client starts it, so there is no endpoint to ping. 5 023 installs a week from npm. Last commit 14 Oct 2026.

Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log.

Installs per day peak 3 772 · avg 1 477 · -15% w/w
a month agotoday
5 023
Installs / week
npm · ssh-mcp
808
Stars
1 open issue
14 Oct 2026
Last commit
40 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 1 d ago · rules ccca72095570

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation src/policy/classifier.ts:1281
 * lie. `find /var/www -delete` removes a directory tree and `find / -exec sudo
 * id +` runs a command as root, and both classified `read-only` — the `-exec …

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ssh-mcp -- npx -y ssh-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ssh-mcp": {
      "args": [
        "-y",
        "ssh-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.ssh-mcp]
command = "npx"
args = ["-y", "ssh-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "ssh-mcp": {
      "args": [
        "-y",
        "ssh-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "ssh-mcp": {
      "args": [
        "-y",
        "ssh-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: SSH_MCP_PASSWORD (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 (Passphrase for an encrypted private key.), SSH_MCP_SUDO_PASSWORD (Password the sudo tool escalates with, when the policy in force allows the privileged class.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to SSH — policy-gated remote access

same job, measured the same way
Cordon for MCP
by marras0914

Cordon for MCP. Security gateway with policy enforcement, audit log, and HITL approvals.

29 installs/wk local only
ssh-mcp
by gelse

MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.

local only
Aegis — AI Agent Governance
by acacian

Policy-based governance for AI agent tool calls. YAML policy, approval gates, audit logging.

324 installs/wk local only
T
ThornGuard
by qwady-thorns

Remote MCP security gateway for auth, redaction, policy enforcement, and audit logging.

local only
agentguard — policy proxy for agent tool calls
by agentwares

Free spend report from an agent log, no key. Hosted proxies: caps, audit export, buy calls.

7 tools answering
Mailbuttons (mbag.ai)
by mailbuttons

Governed email for AI agents (Mailbuttons / mbag.ai): sandbox inboxes, policy gate, audit log.

24 installs/wk 12 tools answering
AI Agents Pitstop
by ai-agents-pitstop

Human approvals, autonomy limits and a chained audit log for the AI agents of service firms.

answering
MiniURL
by addychang

OAuth 2.1 short-link tools for AI agents with scoped tokens, approvals, audit logs, and revocation.

24 tools answering

SSH — policy-gated remote access — questions

Answers built from our own checks of this server.

Why is there no uptime for SSH — policy-gated remote access?
SSH — policy-gated remote access runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package ssh-mcp was installed 5 023 times last week.
How do I connect SSH — policy-gated remote access?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls ssh-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use SSH — policy-gated remote access?
The npm package ssh-mcp was installed 5 023 times in the last week. Week over week that is -15%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SSH — policy-gated remote access open source?
Yes — it is published under the MIT licence, written in TypeScript, 808 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.