ssh-alias-mcp
Allows running Docker commands like docker ps to list containers, and managing Docker environments on remote servers via SSH with optional sudo.
Enables AI agents to SSH into Linux servers and execute commands, run scripts, and manage services via a unified connection pool and YAML configuration.
Enables tailing Nginx error logs and managing Nginx service on remote servers through predefined aliases and script execution.
Supports Ubuntu servers with system and package management commands such as systemctl and apt, including sudo execution and health checks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ssh-alias-mcpRun healthcheck on prod-web-01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
# ssh-alias-mcp
English | 中文 · SKILL · REFERENCE · CLI · INSTALL
AI-driven server operations tool. Configure servers in YAML, execute commands, deploy scripts, and manage files — all through a unified interface for AI Agents and CLI.
✨ Highlights
One config, three shells —
bash,cmd,powershellauto-adapted via command templatesAlias system — One YAML line = one AI skill, auto-exposed as MCP tools
MCP + CLI — Same config, same connection pool, shared by AI and humans
Related MCP server: cygnus-ssh-mcp
Quick Start
# AI Agent (MCP)
claude mcp add ssh-alias-mcp python <path>/mcp_server.py
# CLI
python cli.py my-server run "uptime"
python cli.py my-server alias deployDocumentation
SKILL.md — AI Agent skill definition (MCP tools, quick reference)
REFERENCE.md — Server configuration, aliases, security, file transfer
CLI_USAGE.md — CLI commands reference
INSTALL.md — AI Agent installation guide
Agent Setup in One Sentence (Copy It To Your Agents)
Read https://github.com/leehom0123/ssh-alias-mcp/blob/main/INSTALL.md — set up the SKILL and install the MCP service as described.
Real-World Scenarios
Scenario 1: Deploy to 5 servers in parallel
# _shared/common.yml
aliases:
- name: deploy
script: deploy.sh
sudo: trueAI workflow: You say "deploy to all prod servers" → AI reads server list → calls ssh_run, ssh_run_alias, or a dynamic alias tool such as ssh_alias.prod-01.deploy on each server in parallel → reports result. No SSH boilerplate, no password prompts.
Scenario 2: AI analyzes crash cause
aliases:
- name: crash-check
inline: "journalctl -xe --since '1 hour ago' && dmesg -T | tail -100 && free -h && df -h /"Before: SSH into server → manually check logs → search for kernel panic → analyze core dump → hours later
After: Tell AI "server crashed, check why" → AI calls ssh_alias.prod-01.crash-check → analyzes logs → identifies OOM killer → suggests fix
Scenario 3: Emergency troubleshooting
aliases:
- name: check
inline: "docker logs --tail 50 my-app && df -h / && free -h"Before: Open terminal → SSH → type commands → copy output → analyze
AI workflow: You say "my app is slow, check it" → AI uses ssh_run, ssh_run_alias, or a dynamic alias tool to grab logs and metrics → identifies bottleneck → suggests fix
Scenario 4: Cross-platform deployment
# Linux server
server:
host: "192.168.1.100"
shell: bash
# Windows server
server:
host: "10.0.0.50"
shell: powershellAI workflow: You say "deploy to both Linux and Windows servers" → AI reads server configs → uses ssh_run, ssh_run_alias, or dynamic alias tools on each → tool auto-adapts bash/powershell commands → reports unified result
Links
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables remote Linux server management via SSH, allowing command execution and system administration through natural language.Last updatedMIT

cygnus-ssh-mcpofficial
AlicenseAqualityBmaintenanceEnables AI assistants to manage remote servers via SSH with 43 specialized tools for command execution, file editing, directory operations, and background tasks across Linux, macOS, and Windows.Last updated445GPL 3.0- Alicense-qualityCmaintenanceEnables AI assistants to manage remote servers via SSH with agentless command execution, file operations, and service management.Last updatedMIT
- AlicenseAqualityCmaintenanceEnables AI agents to deploy applications and manage servers over SSH using natural language commands, with built-in tools for Python bots, Docker Compose, and SSL setup.Last updated6MIT
Related MCP Connectors
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate your own Linux servers from your LLM. Requires the SentinelX agent installed per host.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leehom0123/ssh-alias-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server