Skip to content
Zed

SSH — policy-gated remote access for Zed

io.github.tufantunc/ssh-mcp

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

client:Zed transport:stdio runtime:npm

Install SSH — policy-gated remote access in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "<SSH_MCP_PASSWORD>",
        "SSH_MCP_KEY": "<SSH_MCP_KEY>",
        "SSH_MCP_PASSPHRASE": "<SSH_MCP_PASSPHRASE>",
        "SSH_MCP_SUDO_PASSWORD": "<SSH_MCP_SUDO_PASSWORD>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

SSH — policy-gated remote access in other clients