DevelopmentTypeScript

ssh-mcp-server

ssh-mcp-server is a secure tool that allows AI assistants to execute remote SSH commands safely.

Free
N/A rating (0 reviews)0 installs286 GitHub stars
SSHMCPRemote Execution

ssh-mcp-server is a bridging tool that enables AI assistants and other applications supporting the MCP protocol to execute remote SSH commands through a standardized interface. This allows AI assistants to safely operate remote servers, execute commands, and retrieve results without directly exposing SSH credentials to AI models. It supports multiple secure SSH connection methods and provides mechanisms for command security control, ensuring that only permitted commands can be executed. Additionally, ssh-mcp-server facilitates bidirectional file transfers, allowing users to upload local files to servers or download files from servers. With its focus on credential isolation, SSH credentials are managed locally, ensuring they are never exposed, making it a secure solution for remote command execution.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ssh-mcp-server"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1