# SSH MCP Server

> SSH MCP Server is an open-source MCP server. Modern SSH for AI agents — cloud servers to BusyBox routers, with destructive commands blocked. It runs locally on your machine and is started by your AI client.

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

## About

Modern SSH for AI agents — cloud servers to BusyBox routers, with destructive commands blocked.

## Install

### Claude Code (Terminal)

```sh
claude mcp add ssh-mcp-server --env SSH_PROFILES_FILE='<SSH_PROFILES_FILE>' -- npx -y @hypnosis/ssh-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "<SSH_PROFILES_FILE>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "<SSH_PROFILES_FILE>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "ssh-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "<SSH_PROFILES_FILE>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "<SSH_PROFILES_FILE>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@hypnosis/ssh-mcp-server"
      ],
      "env": {
        "SSH_PROFILES_FILE": "<SSH_PROFILES_FILE>"
      }
    }
  }
}
```

## FAQ

### Is SSH MCP Server free?

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

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

Run this command in your terminal: claude mcp add ssh-mcp-server --env SSH_PROFILES_FILE='<SSH_PROFILES_FILE>' -- npx -y @hypnosis/ssh-mcp-server

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