MCP gateway for controlled SSH access with per-client auth, command policies, and audit logging.
unavailable — the image reference already carries a tag
Docker
docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"ssh-mcp-2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gelse/ssh-mcp:0.3.0"
],
"env": {
"CONFIG_API_TOKEN": "<YOUR_CONFIG_API_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env CONFIG_API_TOKEN=<YOUR_CONFIG_API_TOKEN> ssh-mcp-2 -- docker run -i --rm ghcr.io/gelse/ssh-mcp:0.3.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"ssh-mcp-2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gelse/ssh-mcp:0.3.0"
],
"env": {
"CONFIG_API_TOKEN": "<YOUR_CONFIG_API_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"ssh-mcp-2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gelse/ssh-mcp:0.3.0"
],
"env": {
"CONFIG_API_TOKEN": "<YOUR_CONFIG_API_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"ssh-mcp-2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/gelse/ssh-mcp:0.3.0"
],
"env": {
"CONFIG_API_TOKEN": "<YOUR_CONFIG_API_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
CONFIG_DIR — Directory containing ssh-mcp-config.jsonLOG_DIR — Directory for JSONL audit logsCONFIG_API_ENABLED — Enable the configuration REST API and web dashboardCONFIG_API_TOKEN secret — Bearer token for the configuration API⭐ 8 stars · 最近更新于 57 天前 · MIT license
ssh mcp A centralized MCP gateway that gives AI agents controlled SSH access over Streamable HTTP. What problem does this solve? Most MCP SSH servers run as local stdio processes — one per client, with no shared state, no centralized authorization, and no audit trail. When multiple AI agents need SS…
Summary from the project README — github.com/gelse/ssh-mcp
Distributed as Docker, listed under Developer Tools. Review our MCP security guide before granting access to real data.
ssh mcp A centralized MCP gateway that gives AI agents controlled SSH access over Streamable HTTP. What problem does this solve? Most MCP SSH servers run as local stdio processes — one per client, with no shared state, no centralized authorization, and no audit trail. When multiple AI agents need SS
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/gelse/ssh-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/ssh-mcp-2/)
HTML
<a href="https://mcpnav.net/server/ssh-mcp-2/"><img src="https://mcpnav.net/badge/ssh-mcp-2.svg" alt="Listed on MCPNav" height="20"></a>