MCP Server Studio

SSH MCP Server MCP server

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

Registry name: io.github.hypnosis/ssh-mcp-server

Publisher
hypnosis
Runs
Runs locally
Package
npm
Version
2.3.3
Category
AI & agents
Updated
2026-08-24

Source code on GitHub

Set up SSH MCP Server (run locally)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add ssh-mcp-server -e SSH_PROFILES_FILE='<SSH_PROFILES_FILE>' -e SSH_MCP_LOG_LEVEL='<SSH_MCP_LOG_LEVEL>' -- npx -y @hypnosis/[email protected]

Cursor

Add to .cursor/mcp.json:

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

VS Code

Add to .vscode/mcp.json:

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

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

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

Settings

NameRequiredWhat it is
SSH_PROFILES_FILEYesAbsolute path to the JSON file describing the servers this agent may reach.
SSH_MCP_LOG_LEVELNoLog verbosity: error, warn, info or debug. Defaults to info.

More ai & agents MCP servers