Portainer MCP Docker MCP Server

Dockerized version of the [Portainer MCP Server](https://github.com/portainer/portainer-mcp) for easy deployment.

Local serverstdio

What is the Portainer MCP Docker MCP Server?

Dockerized version of the Portainer MCP Server for easy deployment.

What the server does

  • Minimal Alpine Linux image with the official portainer-mcp binary
  • Two variants: — stdio (local) and HTTP (remote/web)
  • Multi-architecture support (linux/amd64, linux/arm64)
  • Automatic updates via GitHub Actions when new upstream releases are published
  • Base image updates via Dependabot with auto-merge (security patches, Alpine updates)
  • Versioned tags matching the upstream release (e.g., v0.7.0-1)

Credentials and setup notes

  • A running Portainer instance - A Portainer API access token (generated from the Portainer UI under My Account > Access Tokens) - Docker and Docker Compose ---

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
portainer_data/data
v0.7.0-1First build of upstream v0.7.0 (stdio)
v0.7.0-1-httpSame version, HTTP variant
v0.7.0-2Rebuild (e.g., base image security update)
latestMost recent stdio build

How to install the Portainer MCP Docker MCP Server

{
  "mcpServers": {
    "portainer": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--add-host=host.docker.internal:host-gateway",
        "ghcr.io/serraniel/portainer-mcp-docker:latest",
        "-server",
        "host.docker.internal:9443",
        "-token",
        "your-api-token"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • A running Portainer instance - A Portainer API access token (generated from the Portainer UI under My Account > Access Tokens) - Docker and Docker Compose ---

Example prompts to try

  • “Use Portainer MCP Docker to Multi.”
  • “Use Portainer MCP Docker to portainer data.”
  • “Use Portainer MCP Docker to URL.”

Frequently asked questions

Dockerized version of the [Portainer MCP Server](https://github.com/portainer/portainer-mcp) for easy deployment. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.