mcp-ssh-orchestrator
Verified Safeby samerfarida
Overview
Provides a secure, policy-driven interface for AI assistants to execute SSH commands on remote servers with granular access control and comprehensive auditing.
Installation
docker run -i --rm -v ~/mcp-ssh/config:/app/config:ro -v ~/mcp-ssh/keys:/app/keys:ro -v ~/mcp-ssh/secrets:/app/secrets:ro ghcr.io/samerfarida/mcp-ssh-orchestrator:latestEnvironment Variables
- MCP_SSH_CONFIG_DIR
- MCP_SSH_KEYS_DIR
- MCP_SSH_SECRETS_DIR
- LOG_LEVEL
- LOG_FORMAT
- SSH_DEBUG
- MCP_SSH_SECRET_*
Security Notes
This server exhibits an exceptionally strong commitment to security through a multi-layered defense-in-depth architecture. It actively prevents common attack vectors such as command injection (using `shlex.split`, explicit substring bans, command chain parsing, and normalization), path traversal (`os.path.abspath`, `os.path.isabs`, `os.path.normpath`, rejection of `..`, symlinks, and directories), DNS-based DoS (rate limiting, caching, timeouts), and MITM attacks (strict SSH host key verification with `paramiko.RejectPolicy`). Input validation is robustly applied to all user-controlled parameters, and all configuration files have size limits. The system enforces a 'deny-by-default' policy model, runs as a non-root user in Docker containers with read-only mounts, and provides comprehensive, structured JSON audit logs for security events and command execution. No `eval` or similar dangerous patterns are used without clear justification.
Similar Servers
ssh-mcp-server
Enables AI assistants to securely execute remote SSH commands and perform file transfers on target servers via the Model Context Protocol (MCP).
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.
PowerShell.MCP
Enables AI assistants to execute arbitrary PowerShell commands and CLI tools within a persistent, shared PowerShell console session on a local Windows system.
mcp-server-aws-sso
Connects AI assistants to AWS accounts through AWS IAM Identity Center to enable natural language interaction, command execution, and resource management.