portainer-mcp

v0.9.0
portainer-mcp Checked 13 hours ago Published 8 days ago

MCP server that gives AI assistants 53 tools to manage Portainer: deploy and update stacks, inspect and roll out Swarm services/tasks/nodes, manage containers…

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add portainer-mcp -- uvx portainer-mcp==0.9.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "portainer-mcp": {
      "args": [
        "portainer-mcp==0.9.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "portainer-mcp": {
      "args": [
        "portainer-mcp==0.9.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "portainer-mcp": {
      "args": [
        "portainer-mcp==0.9.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.portainer-mcp]
command = "uvx"
args = ["portainer-mcp==0.9.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: portainer_status, portainer_endpoints_list, portainer_endpoint_inspect, portainer_stacks_list, portainer_stack_inspect, portainer_stack_deploy, portainer_stack_update, portainer_stack_delete, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json