Ssh MCP Server

SSH Model Context Protocol Server - Connect to SSH servers and execute commands via AI assistants.

Local serverstdioPython

What is the Ssh MCP Server?

SSH Model Context Protocol Server - Connect to SSH servers and execute commands via AI assistants.

What it actually does

[执行结果] CONTAINER ID IMAGE COMMAND STATUS PORTS abc123 nginx "nginx" Up 2 days 80:80 ```

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Ssh MCP Server

{
  "mcpServers": {
    "ssh": {
      "command": "python -m ssh_mcp.server"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SSH_HOSTEndpoint or connection string the server talks to.Optional
SSH_USERConfiguration value read at startup.Optional
SSH_PASSWORDConfiguration value read at startup.Optional
SSH_PORTConfiguration value read at startup.Optional
SSH_TIMEOUTConfiguration value read at startup.Optional
SSH_KEEPALIVE_INTERVALConfiguration value read at startup.Optional
SSH_SESSION_TIMEOUTConfiguration value read at startup.Optional
SSH_CLIENT_TYPEConfiguration value read at startup.Optional

Frequently asked questions

SSH Model Context Protocol Server - Connect to SSH servers and execute commands via AI assistants. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.