mcp-ssh-manager
MCP SSH Server: 37 tools for remote SSH management | Claude Code & OpenAI Codex | DevOps automation, backups, database operations, health monitoring
claude mcp add --transport stdio bvisible-mcp-ssh-manager npx -y mcp-ssh-manager \ --env SSH_AUTH_SOCK="Path to SSH agent socket (if using ssh-agent)" \ --env SSH_SERVER_HOST="Hostname or IP of SSH server" \ --env SSH_SERVER_PORT="SSH port (default 22)" \ --env SSH_SERVER_USER="SSH username" \ --env SSH_SERVER_FSOCKS4="Optional: Tor/SOCKS4 proxy (if needed)" \ --env SSH_SERVER_KEY_PATH="Path to private key (if using key-based auth)" \ --env SSH_SERVER_PASSWORD="Password for SSH login (if using password)" \ --env SSH_SERVER_AUTH_METHOD="auth method: key, password, or agent" \ --env SSH_SERVER_FOO_PASSPHRASE="Passphrase for key if required (env variant)"
How to use
MCP SSH Manager is a dedicated MCP server that enables Claude Code and OpenAI Codex to manage multiple SSH connections from within an AI-assisted workflow. It provides tools to create and maintain SSH sessions, execute remote commands, transfer files, and perform basic DevOps tasks across a fleet of remote servers. The server supports authentication via passwords, SSH keys, and the ssh-agent, with support for passphrase-protected keys. You can activate only the tools you need to minimize context usage, and integrate with Claude Code auto-approval configurations for smoother AI-assisted operations. To start interacting with the server, install the MCP package, configure your SSH targets, and use the available MCP tools to connect to and manage remote hosts as part of your automation scripts.
Key capabilities include: establishing multiple SSH connections, executing commands remotely with working-directory support, uploading/downloading files, and performing common admin tasks across servers. The 3.1.x series adds SSH agent support, passphrase handling, and Windows compatibility improvements, making it robust for mixed OS environments and secure key management.
How to install
Prerequisites:
- Node.js (LTS version) and npm installed on the machine running the MCP server
- Access to install npm packages
Install via npm (recommended):
- Install globally (optional): npm install -g mcp-ssh-manager
- Or install and run with npx without global install: npx -y mcp-ssh-manager
Alternative (if you want to pin a specific version): npm install -g mcp-ssh-manager@3.1.5
Configuration (example):
- Create a TOML or .env configuration as needed by the server, ensuring the environment variables described in the mcp_config section are set.
Usage:
- After installation, start the MCP server via your preferred method (npx or npm start if you installed locally).
- Define your SSH targets and performance options in the environment or config file as described in the README and per-server documentation.
Additional notes
Notes and tips:
- If using ssh-agent, ensure SSH_AUTH_SOCK is available in the environment to enable passphrase-protected keys.
- For Windows hosts, ensure you use a compatible SSH client and that the server has Windows support enabled (see v3.1.4 notes in the changelog).
- The server supports per-server configuration fields like platform and timeout in TOML or environment variables to tailor behavior per host.
- If you encounter connectivity issues, verify network access to your SSH servers and confirm that the authentication method configured matches the server's keys or credentials.
- Environment variables can be extended; refer to the latest docs for additional options such as passphrase handling in TOML (passphrase = "...") and per-server security settings.
Related MCP Servers
claude-code-plugins-plus-skills
270+ Claude Code plugins with 739 agent skills. Production orchestration patterns, interactive tutorials (11 Jupyter notebooks), and CCPI package manager. 4.13.0
ai-dev-tools-zoomcamp
AI Dev Tools Zoomcamp is a free course that helps you use AI tools to write better code, faster. We're starting the first cohort of this course on November 18, 2025! Sign up here to join us šš¼
mcp-rest-api
A TypeScript-based MCP server that enables testing of REST APIs through Cline. This tool allows you to test and interact with any REST API endpoints directly from your development environment.
jenkins -enterprise
The most advanced Jenkins MCP server available - Enterprise debugging, multi-instance management, AI-powered failure analysis, vector search, and configurable diagnostics for complex CI/CD pipelines.
claude-vigil
šŗ An MCP server for checkpointing and file recovery in Claude Code
docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants