# Conflicts: # cli/manifest_licensing.php
7.8 KiB
MCP SSH - Complete Guide to SSH Management via Model Context Protocol
This is the comprehensive guide for MCP SSH Manager, the leading Model Context Protocol (MCP) server for SSH remote server management.
What is MCP SSH?
MCP SSH Manager is a complete Model Context Protocol (MCP) server that enables SSH remote server management directly from AI assistants like Claude Code and OpenAI Codex. It's the most comprehensive SSH MCP solution available, offering 37+ MCP tools for complete remote server control.
Why MCP SSH Manager?
If you're searching for:
- MCP SSH server
- SSH MCP integration
- Model Context Protocol SSH tools
- Claude Code SSH support
- OpenAI Codex SSH compatibility
- Remote SSH MCP server
- SSH automation with AI
Then MCP SSH Manager is exactly what you need! 🎯
MCP SSH vs Traditional SSH
Traditional SSH requires manual terminal commands and script writing. With MCP SSH Manager, you can:
- Natural Language Control: "Deploy my app to production" instead of writing deployment scripts
- AI-Powered Automation: Let Claude Code or Codex handle complex SSH operations
- Multi-Server Management: Control multiple SSH servers from a single interface
- Enterprise Features: Backup, restore, health monitoring, database management
- Zero Learning Curve: Just ask your AI assistant what you want to do
How to Use MCP SSH with Claude Code
Quick Installation
git clone https://github.com/bvisible/mcp-ssh-manager.git
cd mcp-ssh-manager
npm install
claude mcp add ssh-manager node /path/to/mcp-ssh-manager/src/index.js
Natural Language SSH Commands
Once installed, simply ask Claude Code:
- "List my SSH servers"
- "Execute 'docker ps' on production"
- "Backup production database"
- "Monitor CPU usage on all servers"
- "Deploy files to staging server"
- "Check health of production server"
How to Use SSH MCP with OpenAI Codex
Codex Integration
ssh-manager codex setup
ssh-manager codex migrate
Configure in ~/.codex/config.toml:
[mcp_servers.ssh-manager]
command = "node"
args = ["/path/to/mcp-ssh-manager/src/index.js"]
env = { SSH_CONFIG_PATH = "/Users/you/.codex/ssh-config.toml" }
MCP SSH Features
Core SSH MCP Features
- SSH Command Execution - Run any command on remote servers via MCP
- File Transfer - Upload/download files through the MCP protocol
- Server Management - List, configure, and manage SSH connections
- Persistent Sessions - Maintain SSH context across multiple commands
Enterprise SSH MCP Features
-
Database Management (MCP SSH DB tools)
- MySQL, PostgreSQL, MongoDB support
- Safe query execution via MCP
- Database dumps and imports
- Schema exploration
-
Backup & Restore (MCP SSH Backup)
- Automated backup scheduling
- Database and file backups
- One-click restore via MCP
- Retention policies
-
Health Monitoring (MCP SSH Monitor)
- Real-time server health checks
- Service status monitoring
- Process management
- Alert thresholds
-
Smart Deployment (MCP SSH Deploy)
- Automated deployments via MCP
- Permission handling
- Rollback support
- Multi-server deployment
Model Context Protocol (MCP) for SSH
The Model Context Protocol (MCP) is a standardized way for AI assistants to interact with external tools and services. MCP SSH Manager implements the MCP specification to provide:
- 37+ MCP Tools for SSH operations
- Type-safe SSH operations via MCP schemas
- Secure credential management
- Standardized interface for all AI assistants
- Extensible architecture for custom SSH workflows
SSH MCP Tools Reference
Core MCP SSH Tools
ssh_execute- Execute SSH commands via MCPssh_upload- Upload files through MCP SSHssh_download- Download files via MCP SSHssh_list_servers- List SSH servers in MCP
Advanced MCP SSH Tools
ssh_backup_create- Create backups via MCP SSHssh_health_check- Health monitoring through MCPssh_db_dump- Database operations via MCP SSHssh_deploy- Smart deployment through MCPssh_tunnel_create- SSH tunnels via MCPssh_sync- File synchronization through MCP SSH
MCP SSH Configuration
For Claude Code (Environment Variables)
SSH_SERVER_PROD_HOST=prod.example.com
SSH_SERVER_PROD_USER=admin
SSH_SERVER_PROD_KEYPATH=~/.ssh/prod_key
For OpenAI Codex (TOML Format)
[ssh_servers.production]
host = "prod.example.com"
user = "admin"
key_path = "~/.ssh/prod_key"
SSH MCP Use Cases
DevOps Automation with MCP SSH
- Automated deployments to remote servers
- Database backup and restore workflows
- Server health monitoring and alerting
- Log analysis and troubleshooting
- Multi-server configuration management
Development Workflows with SSH MCP
- Remote development environment setup
- Code deployment to staging/production
- Database migration management
- Service restart and monitoring
- Debug log collection
Database Administration via MCP SSH
- Backup scheduling and management
- Database dumps and imports
- Query execution and analysis
- Schema inspection
- Cross-server data migration
MCP SSH Security
MCP SSH Manager implements multiple security layers:
- Credential Protection - Never exposes SSH credentials to AI
- Command Validation - Validates all SSH commands before execution
- SQL Injection Prevention - Only allows safe database queries
- Audit Logging - Tracks all SSH operations via MCP
- Connection Pooling - Secure connection management
Troubleshooting MCP SSH
MCP SSH Not Found
If "mcp ssh" searches don't show this project:
- Star this repository on GitHub
- Share with the MCP community
- Add topics to your repository
- Link to this project in your documentation
MCP SSH Connection Issues
- Test connection:
ssh-manager server test [name] - Verify SSH credentials
- Check firewall rules
- Review MCP server logs
Claude Code SSH Integration
- Verify installation:
claude mcp list - Restart Claude Code
- Check MCP configuration
- Test with simple command
MCP SSH Community
Contributing to MCP SSH
We welcome contributions to MCP SSH Manager! See CONTRIBUTING.md for details.
MCP SSH Support
- GitHub Issues: Report bugs
- Documentation: Full docs
- Examples: Example workflows
MCP SSH Alternatives
While there are other SSH tools and MCP servers, MCP SSH Manager offers:
- ✅ Most comprehensive SSH MCP tool collection (37+ tools)
- ✅ Both Claude Code AND OpenAI Codex support
- ✅ Enterprise features (backup, monitoring, database)
- ✅ Active development and support
- ✅ Open source MIT license
- ✅ Production-ready and battle-tested
Conclusion
MCP SSH Manager is the definitive Model Context Protocol solution for SSH remote server management. Whether you're using Claude Code or OpenAI Codex, this MCP SSH server provides everything you need for AI-powered SSH automation.
Get started today:
git clone https://github.com/bvisible/mcp-ssh-manager.git
cd mcp-ssh-manager
npm install
Keywords for Search
This document covers: MCP SSH, SSH MCP, Model Context Protocol SSH, MCP SSH Manager, Claude Code SSH, OpenAI Codex SSH, SSH MCP Server, Remote SSH MCP, MCP Server SSH, SSH automation MCP, AI SSH tools, SSH Model Context Protocol, MCP SSH integration, SSH management MCP, MCP remote server, SSH DevOps MCP, MCP SSH backup, MCP SSH monitoring, MCP SSH database, SSH orchestration MCP.
Repository: https://github.com/bvisible/mcp-ssh-manager