Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"ssh-mcp": {
"args": [
"-y",
"ssh-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
SSH MCP Server is a local Model Context Protocol (MCP) server that exposes SSH control for Linux and Windows systems, enabling LLMs and other MCP clients to execute shell commands securely via SSH.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'ssh-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked ssh-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
A Unified MCP Server Management App (MCP Manager).
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
MCP-NixOS - Model Context Protocol Server for NixOS resources
MCP Security Weekly
Get CVE alerts and security updates for Ssh Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
SSH MCP Server is a local Model Context Protocol (MCP) server that exposes SSH control for Linux and Windows systems, enabling LLMs and other MCP clients to execute shell commands securely via SSH.
exec: Execute a shell command on the remote server
command (required): Shell command to execute on the remote SSH serverdescription (optional): Optional description of what this command will do (appended as a comment)sudo-exec: Execute a shell command with sudo elevation
command (required): Shell command to execute as root using sudodescription (optional): Optional description of what this command will do (appended as a comment)--sudoPassword to be set for password-protected sudo--disableSudo flag at startup if sudo access is not needed or not available--suPassword instead which establishes a root shell--disableSudo--timeout (in milliseconds)--maxChars1000--maxChars=none or any <= 0 value (e.g. --maxChars=0)git clone https://github.com/tufantunc/ssh-mcp.git
cd ssh-mcp
npm install
You can configure your IDE or LLM like Cursor, Windsurf, Claude Desktop to use this MCP Server.
Required Parameters:
host: Hostname or IP of the Linux or Windows serveruser: SSH usernameOptional Parameters:
port: SSH port (default: 22