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 | |
|---|---|---|
| Category | DevOps & Cloud | DevOps & Cloud |
| Language | Go | Python |
| Transport | stdio (local) | stdio (local) |
| Auth | API key | API key |
| GitHub stars | 31k | 182 |
| Last commit | 1 month ago | 1 month ago |
| Verified | ||
| Actively maintained | ||
| Install | docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server | uvx --from "mcp-portainer~=2.42.0" mcp-portainer |
| Repo | Open | 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
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverPaste 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
uvx --from "mcp-portainer~=2.42.0" mcp-portainerPaste 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.