Skip to main content

ssh-mcp

io.github.gelse/ssh-mcp

v0.3.0Updated Sep 14, 2026local · Docker

MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add ssh-mcp -e CONFIG_DIR=/config -e LOG_DIR=/logs -e CONFIG_API_ENABLED=false -- docker run -i --rm -e CONFIG_DIR -e LOG_DIR -e CONFIG_API_ENABLED ghcr.io/gelse/ssh-mcp:0.3.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

6 settings.

  • CONFIG_API_TOKEN
    Env var· optional· secret
    Bearer token for the configuration API
  • CONFIG_DIR
    Env var· optional
    Directory containing ssh-mcp-config.jsonDefault: /config
  • LOG_DIR
    Env var· optional
    Directory for JSONL audit logsDefault: /logs
  • CONFIG_API_ENABLED
    Env var· optional
    Enable the configuration REST API and web dashboardDefault: false
  • -p
    Argument· optional
    Map the MCP HTTP port
  • -v
    Argument· optional
    Mount the configuration directory

Listed in the official MCP Registry since Sep 14, 2026. Mirrored daily; last checked Nov 26, 2026.