SSH Manager
Lets your AI agent run commands, move files and check health on your servers over SSH, with approval and an audit trail.
533 stars on GitHubby bvisibleLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add ssh-manager -- npx -y mcp-ssh-manager
What to fill in
| Name | What it is | Required |
|---|---|---|
SSH_CONFIG_PATH | Path to a TOML file holding the server definitions. Defaults to ~/.codex/ssh-config.toml. Each server can set MODE to readonly or restricted to constrain what the agent may run. | No |
SSH_ENV_PATH | Path to a .env file declaring servers as SSH_SERVER_<NAME>_HOST, _USER, _KEYPATH and friends. Defaults to a .env next to the package. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Why is production slow right now?
Back up the database before I deploy
What it is
This server gives your AI agent a way to work on your real servers through SSH. It can run commands, transfer files, make database backups and check server health. You can watch what it does, ask for approval before commands run, and keep passwords in an encrypted vault.
What it can do
- Run commands on one server or a whole group, in sequence or in parallel
- File upload and download, and
ssh_syncwith rsync - Health checks: CPU, memory, disk, load and top processes
- Database backups for MySQL, PostgreSQL and MongoDB
- Local port forwarding tunnels
- Per-server approval: never, destructive or always
- Live view of output, file browser and terminal in a desktop app
When to use
- βΊWhen you want your agent to check why a production server is slow
- βΊWhen you need to push files to a server and restart a service
- βΊWhen you want to see and approve every command an agent runs on your machines
What you need
rsync for ssh_sync.Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
serverbox-helpHelps your agent answer questions about the ServerBox app for managing servers, including SSH access, the Monitor, widgets, alerts and backups.netmiko-ssh-automationLets your agent automate network device access via SSH. It collects information and makes safe configuration changes. It's useful for managing networks reliably and securely.ssh-configurationLets your agent configure SSH securely. It manages keys and connections for protected remote access.Frequently asked questions
Is it free and open source?
The readme shows an npm package and a repository with a licence file. It does not mention a price.
How many tools are there?
37 tools, according to the readme.
Can I stop the agent before a command runs?
Yes. Turn on approval per server in the interface, and the agent waits until you approve. If the approval screen is not reachable, the request is denied.
Does it work with Codex?
Yes. The readme shows a Codex config with the same tools.
Is the Windows app signed?
No. The readme says the Windows installer is not code-signed in 4.0.x, and shows how to check its SHA-256.
What changed in version 4?
SSH host-key verification is stricter. The readme advises reading the upgrade guide, and you can pin version 3 with npm install -g mcp-ssh-manager@3.
If it does not work
- βΊIf approval is on and nothing happens, start
ssh-manager controlor the desktop app before retrying - βΊAdd your server first with
ssh-manager server add, then runclaude mcp add ssh-manager mcp-ssh-manager - βΊFor
ssh_syncwith password login, installsshpass
5 new skills a week. 1 minute to read.