LocalFree

SSH MCP server

hypnosis/ssh-mcp-server

Remote server work via the local OpenSSH client: run commands, transfer files with checksums, search logs and audit hosts, with destructive commands blocked.

6 GitHub stars1 forks

Install SSH in Claude Code

Claude Code
claude mcp add hypnosis-ssh -e SSH_PROFILES_FILE=... -- npx -y @hypnosis/ssh-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "hypnosis-ssh": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the SSH MCP server do?

Remote server work via the local OpenSSH client: run commands, transfer files with checksums, search logs and audit hosts, with destructive commands blocked.

Is the SSH MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does SSH run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add SSH to Claude Code?

Run: claude mcp add hypnosis-ssh -e SSH_PROFILES_FILE=... -- npx -y @hypnosis/ssh-mcp-server

More command line & os automation MCP servers

View all