Portainer MCP Server

Official MCP server for Portainer, generated from the Portainer OpenAPI spec via [FastMCP](https://github.com/PrefectHQ/fastmcp).

Remote serverstreamable-http

What is the Portainer MCP Server?

Official MCP server for Portainer, generated from the Portainer OpenAPI spec via FastMCP.

The short version

This MCP server exposes the Portainer REST API as MCP tools: list and inspect environments, manage GitOps workflows, troubleshoot Docker and Kubernetes resources. It also supports proxying requests to the underlying Docker and K8s APIs of each environment.

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.

Configuration

VariableDescriptionRequired
PORTAINER_URLEndpoint or connection string the server talks to.Yes
PORTAINER_API_KEYCredential the server authenticates with.Yes
PORTAINER_MCP_AUTH_TOKENCredential the server authenticates with.Yes
PORTAINER_MCP_TLS_KEYCredential the server authenticates with.Yes

Frequently asked questions

Official MCP server for Portainer, generated from the Portainer OpenAPI spec via [FastMCP](https://github.com/PrefectHQ/fastmcp). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.