SSH — policy-gated remote access
local MCP serverSSH — 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
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| SSH — policy-gated remote access | 767 | Local | Yes | npm |
| Ghost | 25 | Local | Yes | mcpb |
| dashclaw | 308 | Local | Yes | npm |
| Lobu | 223 | Hosted | No | None |
| applemusic-mcp | 101 | Local | No | pypi |
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
- Ghostio.github.NORTHTEKDevs/ghost25
- dashclawio.github.ucsandman/dashclaw308
- Lobuio.github.lobu-ai/lobu223
- applemusic-mcpio.github.epheterson/applemusic-mcp101
- Horizun Revit MCPio.github.HorizunGroup/horizun-revit-mcp40
- ocm-mcp-serverio.github.ocm-mcp-server/ocm-mcp-server36
- Universal Screenshot MCPio.github.sethbang/screenshot-server32
- Agentic HILio.github.agentic-hil/agentic-hil16