MCP Directory

Portainer MCP vs kubefwd

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
kubefwd

Bulk Kubernetes port forwarding with an MCP server that lets AI assistants forward services, inspect pods, and monitor traffic.

Unverified
stdio (local)
No auth
Go
CategoryDevOps & CloudDevOps & Cloud
LanguagePythonGo
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars1824.1k
Last commit1 day ago1 day ago
Verified
Actively maintained
Installuvx --from "mcp-portainer~=2.42.0" mcp-portainerbrew install kubefwd
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 kubefwd if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

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 kubefwd

Install / run
brew install kubefwd

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

{
  "mcpServers": {
    "kubefwd": {
      "command": "kubefwd",
      "args": [
        "mcp"
      ]
    }
  }
}

FAQ

Portainer MCP or kubefwd — 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 kubefwd if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Can I use both Portainer MCP and kubefwd?

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 kubefwd work with Claude, Cursor and Windsurf?

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