MCP Directory

GitHub MCP Server vs Portainer MCP

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

 GitHub MCP Server

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

Verified
stdio (local)
API key
Go
Portainer MCP

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

Unverified
stdio (local)
API key
Python
CategoryDevOps & CloudDevOps & Cloud
LanguageGoPython
Transportstdio (local)stdio (local)
AuthAPI keyAPI key
GitHub stars31k182
Last commit1 month ago1 month ago
Verified
Actively maintained
Installdocker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serveruvx --from "mcp-portainer~=2.42.0" mcp-portainer
RepoOpen Open

Verdict

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

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

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.

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.

FAQ

GitHub MCP Server or Portainer MCP — which is better?

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

Can I use both GitHub MCP Server and Portainer MCP?

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

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