Skip to main content

SSH — policy-gated remote access

io.github.tufantunc/ssh-mcp

v2.29.0Updated Nov 25, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add ssh-mcp -- npx -y [email protected]

Configuration

4 settings.

  • SSH_MCP_PASSWORD
    Env var· optional· secret
    Password for the configured profile; a per-profile SSH_MCP_<PROFILE>_PASSWORD takes precedence. Credentials are never accepted as CLI arguments.
  • SSH_MCP_PASSPHRASE
    Env var· optional· secret
    Passphrase for an encrypted private key.
  • SSH_MCP_SUDO_PASSWORD
    Env var· optional· secret
    Password the sudo tool escalates with, when the policy in force allows the privileged class.
  • SSH_MCP_KEY
    Env var· optional
    Path to the private key file to authenticate with — the path, not the key material. A per-profile SSH_MCP_<PROFILE>_KEY takes precedence.

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.