ssh-mcp for Cursor
io.github.gelse/ssh-mcp
MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.
client:Cursor
transport:stdio
runtime:oci
Install ssh-mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"ssh-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gelse/ssh-mcp:0.3.0"
],
"env": {
"CONFIG_DIR": "<CONFIG_DIR>",
"LOG_DIR": "<LOG_DIR>",
"CONFIG_API_ENABLED": "<CONFIG_API_ENABLED>",
"CONFIG_API_TOKEN": "<CONFIG_API_TOKEN>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs