MCP Directory

SSH MCP Server vs GitHub MCP Server

A side-by-side comparison of two DevOps & Cloud servers — tools, transport, auth, maintenance, and copy-paste config for each.

 SSH MCP Server

Execute shell commands on remote Linux and Windows servers over SSH via MCP.

Unverified
stdio (local)
No auth
TypeScript
GitHub MCP Server

GitHub's official server for repos, issues, PRs, and Actions — local Docker or hosted remote.

Verified
stdio (local)
API key
Go
CategoryDevOps & CloudDevOps & Cloud
LanguageTypeScriptGo
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars50431k
Last commit5 months ago7 days ago
Verified
Actively maintained
Installnpx -y ssh-mcpdocker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
RepoOpen Open

Verdict

Pick SSH MCP Server if you want zero-setup with no API key.

Pick GitHub MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add SSH MCP Server

Install / run
npx -y ssh-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ssh-mcp-server": {
      "command": "npx",
      "args": [
        "ssh-mcp",
        "-y",
        "--",
        "--host=1.2.3.4",
        "--port=22",
        "--user=root",
        "--password=pass",
        "--key=path/to/key",
        "--timeout=30000",
        "--maxChars=none"
      ]
    }
  }
}

Add GitHub MCP Server

Install / run
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "github-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<your-github-pat>"
      }
    }
  }
}

Requires Docker to be installed and running.

FAQ

SSH MCP Server or GitHub MCP Server — which is better?

Pick SSH MCP Server if you want zero-setup with no API key. Pick GitHub MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both SSH MCP Server and GitHub MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do SSH MCP Server and GitHub MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.