# MCP SSH Gateway

> MCP SSH Gateway is an open-source MCP server. SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/d00mus/mcp-ssh
- **MCP Registry name:** io.github.d00mus/mcp-ssh-gateway
- **Listing updated:** 2026-11-13

## About

SSH terminals for AI agents: stateful shells, exit codes the moment a command ends, router CLIs.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gateway
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-ssh-gateway": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-ssh-gateway": {
      "command": "uvx",
      "args": [
        "mcp-ssh-gateway"
      ]
    }
  }
}
```

## FAQ

### Is MCP SSH Gateway free?

Yes. MCP SSH Gateway is open source, so you can use and self-host it for free.

### How do I add MCP SSH Gateway to Claude Code?

Run this command in your terminal: claude mcp add mcp-ssh-gateway -- uvx mcp-ssh-gateway

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-ssh-gateway
