Your servers, accessible to AI
SSHive includes a built-in MCP server that lets Claude Code, Cursor, and Claude Desktop interact with your SSH and SFTP sessions — directly from your machine.
MCP Server (Model Context Protocol)
Lets AI assistants (Claude, Cursor, Cline…) access active SSH sessions.
Model Context Protocol — the bridge between AI and your infrastructure
MCP (Model Context Protocol) is an open standard created by Anthropic that allows AI assistants to interact with external tools and data sources. SSHive implements an MCP server that exposes your active SSH and SFTP sessions as tools — so Claude can execute commands, read files, and browse your remote servers without leaving the conversation.
Instant access
No copy-paste, no context switching. Your AI assistant directly queries your servers through SSHive's active sessions.
100% local
The MCP server runs on 127.0.0.1 with Bearer token authentication. Nothing leaves your machine — no cloud relay, no third-party proxy.
Copy-paste setup
Enable MCP in Settings, then copy the JSON config into your AI client. Claude Code users can run a single CLI command.
NAMES STATUS api-gateway Up 14 days web-frontend Up 14 days postgres-db Up 14 days
Execute commands through natural language
Ask Claude to check Docker containers, view logs, restart services, or run any command on your remote servers. SSHive's MCP server bridges the conversation to your live SSH sessions.
- Claude picks the right session automatically from your active connections
- Full stdout/stderr output returned directly in the conversation
- Works with any SSH session — no special server-side setup needed
Browse and read remote files with AI
Claude can list directories, read configuration files, and even write files on your remote servers through SSHive's SFTP tools. Perfect for debugging config issues or reviewing logs.
- List directory contents on any active SFTP session
- Read remote files — configs, logs, scripts — directly in Claude's context
- Write files back to the server for quick fixes
server {
listen 443 ssl;
server_name api.example.com;
location / {
proxy_pass http://127.0.0.1:3000;
}
}7 tools for full server access
Each tool maps to a specific SSH or SFTP operation, giving AI assistants precise control over your remote servers.
ssh_list_sessionsLists all active SSH sessions with host, user, port, and connection status.
ssh_executeExecutes a command on a specific SSH session and returns stdout/stderr.
sftp_listLists files and directories at a given path on a remote server.
sftp_read_fileReads the content of a remote file and returns it as text.
sftp_write_fileWrites content to a file on the remote server (in-memory).
sftp_write_file_chunkAppends base64 chunks (4 MB each) for large files.
sftp_write_from_local_pathStreams a local file directly to the remote — zero base64 overhead, best for large transfers.
Ready in 3 clicks
Copy the ready-to-paste config into your AI client, or run the one-shot Claude Code CLI command below.
Open SSHive Settings
Navigate to Settings > MCP in the SSHive sidebar.
Enable the MCP server
Toggle the switch to activate the local MCP server on port 49422. A Bearer token is automatically generated and shown in Settings — you'll paste it into the snippets below.
Paste the config — or run the Claude Code one-liner
For Claude Desktop, Cursor and Cline: copy the JSON config and paste it into your client's MCP settings file. For Claude Code (CLI + IDE), copy the one-shot command — it registers SSHive in `~/.claude.json` in a single step. Restart your client and you're connected.
claude mcp remove sshive --scope user 2>/dev/null; claude mcp add --transport http --scope user sshive http://127.0.0.1:49422/mcp --header "Authorization:Bearer <your-token>"
{
"mcpServers": {
"sshive": {
"type": "http",
"url": "http://127.0.0.1:49422/mcp",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}{
"mcpServers": {
"sshive": {
"type": "sse",
"url": "http://127.0.0.1:49422/sse",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}Works with your favorite AI tools
One-shot CLI command — `claude mcp add` registers SSHive in ~/.claude.json in a single line.
Paste the JSON snippet into Cursor's MCP settings file — SSHive shows the exact config in Settings.
Paste the JSON snippet into Claude Desktop's config file (claude_desktop_config.json).
Compatible via manual Streamable HTTP configuration.
Secure by design
The MCP server never exposes your sessions to the internet. Everything stays on your machine, protected by authentication and local-only binding.
Give your AI superpowers
Download SSHive and connect Claude Code, Cursor, or Claude Desktop to your servers in seconds.