Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

SSH — policy-gated remote access

local MCP server

SSH — policy-gated remote access is a local MCP server: Policy-gated, audited SSH for Linux and Windows hosts: roles, approvals, and an audit log. Install it from npm as ssh-mcp.

Installation

Terminal

claude mcp add io-github-tufantunc-ssh-mcp -e SSH_MCP_PASSWORD=... -e SSH_MCP_KEY=... -e SSH_MCP_PASSPHRASE=... -e SSH_MCP_SUDO_PASSWORD=... -- npx -y ssh-mcp

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "io-github-tufantunc-ssh-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ssh-mcp"
      ],
      "env": {
        "SSH_MCP_PASSWORD": "...",
        "SSH_MCP_KEY": "...",
        "SSH_MCP_PASSPHRASE": "...",
        "SSH_MCP_SUDO_PASSWORD": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: SSH_MCP_PASSWORD, SSH_MCP_KEY, SSH_MCP_PASSPHRASE, SSH_MCP_SUDO_PASSWORD

Summary

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

SSH — policy-gated remote access vs similar servers

ServerStarsTypeAPI keyRuntime
SSH — policy-gated remote access767LocalYesnpm
Ghost25LocalYesmcpb
dashclaw308LocalYesnpm
Lobu223HostedNoNone
applemusic-mcp101LocalNopypi

Questions

It reads 4 environment variables: SSH_MCP_PASSWORD, SSH_MCP_KEY, SSH_MCP_PASSPHRASE, SSH_MCP_SUDO_PASSWORD. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

SSH — policy-gated remote access is a local MCP server distributed as the npm package ssh-mcp.

Run: claude mcp add io-github-tufantunc-ssh-mcp -e SSH_MCP_PASSWORD=... -e SSH_MCP_KEY=... -e SSH_MCP_PASSPHRASE=... -e SSH_MCP_SUDO_PASSWORD=... -- npx -y ssh-mcp

Run: codex mcp add io-github-tufantunc-ssh-mcp --env SSH_MCP_PASSWORD=... --env SSH_MCP_KEY=... --env SSH_MCP_PASSPHRASE=... --env SSH_MCP_SUDO_PASSWORD=... -- npx -y ssh-mcp

Similar MCP servers

NameStars
  1. Ghostio.github.NORTHTEKDevs/ghost25
  2. dashclawio.github.ucsandman/dashclaw308
  3. Lobuio.github.lobu-ai/lobu223
  4. applemusic-mcpio.github.epheterson/applemusic-mcp101
  5. Horizun Revit MCPio.github.HorizunGroup/horizun-revit-mcp40
  6. ocm-mcp-serverio.github.ocm-mcp-server/ocm-mcp-server36
  7. Universal Screenshot MCPio.github.sethbang/screenshot-server32
  8. Agentic HILio.github.agentic-hil/agentic-hil16