MCP SSH Gateway runs on your own machine — the client starts it, so there is no endpoint to ping. 152 installs a week from pypi. Last commit 29 Sep 2026.
SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs.
We read the source, 5 d ago · rules 995398eba69f
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
"(sudo -s, su, bash). The gateway cannot tell where a command ends in it. Leave it with "
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.
session = self._manager.session_for(server=alias, session_id=named, shell=True)
return EventLog(os.path.join(self.sessions_dir, name), self.policy, self._max_file_bytes)
path = path or os.path.expanduser("~/.ssh/config")
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch MCP SSH Gateway and you get told the day something new turns up.
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.
claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gateway
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}
[mcp_servers.mcp-ssh-gateway]
command = "uvx"
args = ["mcp-ssh-gateway"]
{
"mcpServers": {
"mcp-ssh-gateway": {
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}
{
"servers": {
"mcp-ssh-gateway": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ssh-gateway"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
SSH_SERVERS_CONFIG (Path to the JSON file with SSH server targets, or an inline JSON string. Overridden by --servers-config), SSH_MCP_CACHE_DIR (Where logs and known_hosts are kept. Default: the user cache directory), SSH_READ_ONLY (Set to true/1 to force the global read-only guardrail), SSH_COMMAND_BLACKLIST (Comma-separated global prohibited command patterns).
Render LaTeX math as pure Unicode text art for terminals, code comments, and emails.
Local MCP gateway that proxies AI clients to many MCP servers with a token-efficient code mode
Local-first memory for AI coding agents: shell history with exit codes, git diffs, docs, MCP.
PayPay QR payments for AI agents: QR codes, status, refunds, cancels. Bilingual JP/EN.
Unified execution environment for Python code, shell commands, and programmatic MCP tool calls
Finds MCP servers and web APIs for a task, ranked by outcomes other AI agents reported.
No-key travel MCP for Claude Desktop, Codex-style agents, Hermes, and other clients.
Set up the JEV model router for Claude Code, Codex and Cursor, and install MCP servers.
Answers built from our own checks of this server.