Claude Desktop + SSH through SSHive's MCP server
Use the standalone Claude Desktop app on macOS to talk to your live SSH/SFTP sessions. JSON snippet, restart, done.
Set up Claude Desktop with SSHive in 4 steps
- 1
Enable the MCP server in SSHive
Open SSHive, Settings → MCP, toggle on. Copy the Bearer token.
- 2
Open the Claude Desktop config file
In Finder, navigate to `~/Library/Application Support/Claude/claude_desktop_config.json`. If it does not exist, create it with the snippet below. Otherwise, merge the `mcpServers.sshive` key into the existing `mcpServers` object.
Copy this{ "mcpServers": { "sshive": { "type": "http", "url": "http://127.0.0.1:49422/mcp", "headers": { "Authorization": "Bearer <your-token>" } } } } - 3
Restart Claude Desktop
Quit Claude Desktop completely (Cmd+Q) and reopen. The next chat will show `sshive` in the tool list, click the small plug icon to verify.
- 4
Connect SSH sessions to expose
In SSHive, open the sessions you want Claude to be able to use. Then in Claude Desktop, just ask in plain English, Claude figures out which session to use via `ssh_list_sessions` and which command to run.
What to ask Claude Desktop
"What is the disk usage on prod, and which directories are the worst offenders?"
Claude calls `ssh_execute` with `df -h` then `du -sh /var/* 2>/dev/null | sort -h`, summarizes hot spots.
"How many active connections does my postgres have right now?"
Claude `ssh_execute`s `sudo -u postgres psql -c "SELECT count(*) FROM pg_stat_activity"` on the db-master session, returns the number with context.
"Read the systemd unit for nginx and tell me if it has any odd flags."
Claude `sftp_read_file`s `/etc/systemd/system/nginx.service` (or wherever it lives), audits ExecStart/ExecReload/Restart settings, flags anything non-standard.
Why use Claude Desktop with SSHive (vs Claude Code or Cursor)
Frequently asked questions
Where is Claude Desktop's config file again?+
Claude Desktop says "sshive: failed to start", what now?+
Does Claude Desktop see my whole Mac or just SSHive sessions?+
Try SSHive Free for macOS
Get the all-in-one SSH, SFTP, RDP and VNC client for Mac. Free download, no signup required.
Download SSHive Free