MCP Directory

Portainer MCP vs GitHub MCP Server

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

 Portainer MCP

Official Portainer MCP server: manage Docker, Kubernetes, and GitOps environments via the Portainer REST API.

Unverified
stdio (local)
API key
Python
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
LanguagePythonGo
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars18231k
Last commit1 day ago7 days ago
Verified
Actively maintained
Installuvx --from "mcp-portainer~=2.42.0" mcp-portainerdocker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
RepoOpen Open

Verdict

Pick Portainer MCP if you prefer its approach (official portainer mcp server: manage docker, kubernetes, and gitops environments via the portainer rest api).

Pick GitHub MCP Server if you prefer the more popular, battle-tested option, and you want a verified, documented setup.

Add Portainer MCP

Install / run
uvx --from "mcp-portainer~=2.42.0" mcp-portainer

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

{
  "mcpServers": {
    "portainer-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "mcp-portainer~=2.42.0",
        "mcp-portainer"
      ],
      "env": {
        "PORTAINER_URL": "https://portainer.example.com",
        "PORTAINER_API_KEY": "ptr_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

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

Portainer MCP or GitHub MCP Server — which is better?

Pick Portainer MCP if you prefer its approach (official portainer mcp server: manage docker, kubernetes, and gitops environments via the portainer rest api). Pick GitHub MCP Server if you prefer the more popular, battle-tested option, and you want a verified, documented setup.

Can I use both Portainer MCP 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 Portainer MCP and GitHub MCP Server work with Claude, Cursor and Windsurf?

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