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