Install SSH in Claude Code
claude mcp add hypnosis-ssh -e SSH_PROFILES_FILE=... -- npx -y @hypnosis/ssh-mcp-server{
"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 allCellar
dimpagk92/cellar
Hybrid computer-use runtime combining the accessibility tree, Chrome DevTools Protocol and vision into structured context, with offline support via Ollama.
SmartCLI
dwgx/SmartCLI
Drive full-screen terminal programs such as vim, htop and lazygit by reading the screen as a live cell grid with cursor, selection and alt-screen state.
Terminal History
HasanJahidul/terminal-history-mcp
Local full-text search over zsh, bash and fish history, with secret redaction and optional capture of cwd, exit code and duration.
Tmux
laszlopere/mcp-tmux
Drive tmux locally or over SSH: sessions, windows, panes, keystrokes, pane capture and raw commands, with shared sessions for pair programming.
Claude Terminal
LukeLamb/claude-terminal-mcp
Terminal, filesystem and background-job tools for Linux and macOS.
backscroll
soren-achebe/backscroll
Search, retrieve and diff the output of past terminal commands, recorded locally with exit codes, cwd and duration, with secret redaction by default.