SSH MCP is an MCP server that runs locally on your host that provides the ability to manage and interact with remote SSH hosts. It supports organizing hosts into groups and executing commands across multiple hosts simultaneously. - addhost - Adds a new Linux or Windows host to the SSH configuration with automatic OS detection. Username and password are optional in the connection string - if not pr
Add this skill
npx mdskills install blakerouse/ssh-mcpWell-documented SSH MCP server with clear setup, solid security options, and useful timeout controls
SSH MCP is an MCP server that runs locally on your host that provides the ability to manage and interact with remote SSH hosts. It supports organizing hosts into groups and executing commands across multiple hosts simultaneously.
Checkout the repository:
$ git clone https://github.com/blakerouse/ssh-mcp
Build the binary:
$ go build .
Update the MCP configuration for Claude Desktop:
{
"mcpServers": {
"ssh": {
"command": ""
}
}
}
Restart Claude Desktop
Add a host to a group (multiple formats supported - ssh:// prefix is optional):
add host to production group connecting with 10.0.1.5
add host named web01 to production group connecting with user@10.0.1.5:2222
add host to staging group connecting with user:pass@10.0.1.10
List all groups:
show me all groups
List all hosts:
list all my hosts
List hosts in a specific group:
show me hosts in production group
Get OS info for all hosts in a group:
show OS information for production group
Get OS info for specific hosts:
show OS information for production:web01 and production:web02
Run a command on all hosts in a group:
run "uptime" on production group
check disk space on staging group
Run a command on specific hosts:
run "systemctl status nginx" on production:web01 and production:web02
Commands that complete within 30 seconds will return results immediately. Longer commands are automatically moved to background:
run "apt-get update && apt-get upgrade -y" on production group
# If this takes >30s, you'll get a command ID to check later
Force a command to run in background immediately:
run "apt-get update && apt-get upgrade -y" on production group in the background
Check the status of a background command:
show me the status of command abc-123-def
show me the status of the last command
List all background commands:
list all background commands
show me all running commands
Cancel a running command:
cancel command abc-123-def
stop the running command abc-123-def
Update cached OS information:
update OS information for production group
refresh OS info for staging:db01
Remove a host:
remove production:web01
remove host web02 from staging group
Install via CLI
npx mdskills install blakerouse/ssh-mcpSSH MCP is a free, open-source AI agent skill. SSH MCP is an MCP server that runs locally on your host that provides the ability to manage and interact with remote SSH hosts. It supports organizing hosts into groups and executing commands across multiple hosts simultaneously. - addhost - Adds a new Linux or Windows host to the SSH configuration with automatic OS detection. Username and password are optional in the connection string - if not pr
Install SSH MCP with a single command:
npx mdskills install blakerouse/ssh-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
SSH MCP works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.