mcpbeat Sign in

SSH MCP Server

local only

SSH runs on your own machine — the client starts it, so there is no endpoint to ping. 202 installs a week from npm. Last commit 30 Aug 2026.

MCP server for SSH remote server management with SSH agent authentication support.

Installs per day peak 49 · avg 12 · +6% w/w
a month agotoday
202
Installs / week
npm · ssh-agent-mcp-server
81
Stars
27 open issues
30 Aug 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

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.

File ships in the package but is absent from the source [пакет] shared/tools/connection-info-tool.js:1, [пакет] shared/tools/download-tool.js:1, [пакет] shared/tools/execute-tool.js:1 и ещё 12
этот файл ставится пользователю, но в репозитории его нет

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 -e 'SSH_HOST=<SSH_HOST>' -e 'SSH_USERNAME=<SSH_USERNAME>' -- npx -y ssh-agent-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ssh": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "<SSH_HOST>",
        "SSH_USERNAME": "<SSH_USERNAME>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.ssh]
command = "npx"
args = ["-y", "ssh-agent-mcp-server"]
env = { SSH_HOST = "<SSH_HOST>", SSH_USERNAME = "<SSH_USERNAME>" }
.cursor/mcp.json
{
  "mcpServers": {
    "ssh": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "<SSH_HOST>",
        "SSH_USERNAME": "<SSH_USERNAME>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ssh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ssh-agent-mcp-server"
      ],
      "env": {
        "SSH_HOST": "<SSH_HOST>",
        "SSH_USERNAME": "<SSH_USERNAME>"
      }
    }
  }
}

Put your own values in place of <SSH_HOST> (Hostname or IP address of the SSH server), <SSH_USERNAME> (Username for SSH authentication). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: SSH_PORT (SSH port number), SSH_AUTH_SOCK (Path to SSH agent socket for agent-based authentication), SSH_PRIVATE_KEY_PATH (Path to private key file for direct key authentication), SSH_PASSPHRASE (Passphrase for encrypted private key), SSH_TIMEOUT (Connection timeout in milliseconds), SSH_COMMAND_TIMEOUT (Default command activity timeout in milliseconds), ENABLED_TOOLGROUPS (Comma-separated list of tool groups to enable (readonly, write, admin)), SKIP_HEALTH_CHECKS (Skip SSH connection health check on startup), HEALTH_CHECK_TIMEOUT (Health check timeout in milliseconds).

Alternatives to SSH

same job, measured the same way
Gmail MCP Server
by artymclabin

Lean Gmail MCP server with auto authentication support

349 installs/wk local only
Frigate Auth
by adel-s

MCP server with authentication for Frigate NVR (authenticated port, viewer role)

751 installs/wk local only
Turrior MCP
by turrior-my

Authenticated remote MCP server for Turrior.

answering
Appstore Connect MCP
by ryaker

MCP server for Apple Store Connect API integration with OAuth authentication support

62 installs/wk local only
Browser Agent
by runbook-ai

MCP server for browser automation with AI agent

92 installs/wk local only
Onelogin MCP
by onelogin

MCP server for OneLogin API - manage users, apps, roles, and authentication

3 996 installs/wk local only
N
Ninjaone
by lungshot

MCP server for NinjaONE RMM with device management, monitoring, and automation

local only
Realssh MCP
by danielecr

MCP server for SSH remote command execution

59 installs/wk local only

SSH — questions

Answers built from our own checks of this server.

Why is there no uptime for SSH?
SSH 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-agent-mcp-server was installed 202 times last week.
How do I connect SSH?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls ssh-agent-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use SSH?
The npm package ssh-agent-mcp-server was installed 202 times in the last week. Week over week that is +6%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is SSH open source?
Yes — it is published under the MIT licence, written in TypeScript, 81 stars on GitHub and 27 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.