About portainer/portainer-mcp
portainer/portainer-mcp is an MCP server published by portainer in the Cloud category: official Portainer MCP server. Conduid read 3 tools from its source: docker_proxy, get_guidance and kubernetes_proxy. No package is published for it, so it installs from a source checkout.
The repository has 242 stars and 52 forks, is licensed MIT, and its last commit was on 23 Oct 2026. The latest release is 2.45.1 (2 Sep 2026). It follows 2.45.0 (28 Aug 2026), and the 5 most recent releases go back to 2.43.2 (22 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include docker, docker-compose, portainer and stacks.
Install
git clone https://github.com/portainer/portainer-mcpTools (3)
docker_proxyProxy a Docker Engine API request through Portainer for a given environment. The `path` is forwarded as-is to the Docker daemon (e.g. /containers/json, /images/json, /containers/{id}/json). Pass a JMESPath `select` to project just the fields you need — raw Docker payloads are large. Example for /containers/json: `[].{id:Id,name:Names[0],state:State,image:Image}`.| Parameter | Type | Description |
|---|---|---|
| body | any | |
| environment_id * | integer | Portainer environment ID |
| headers | object | Extra request headers |
| method | string | HTTP method |
| path * | string | Docker API path with leading slash, e.g. /containers/json |
| query_params | object | Query parameters |
| select | string |
get_guidanceOperating guide for this Portainer MCP server: projecting responses with `select`, where the heavy fields live, results that are easy to misread (e.g. an edge environment's health comes from its heartbeat, not its `Status` field; typed K8s tools use different field names than the raw proxy), and how to deploy / scale / delete safely. Call it once at the start of any Portainer task, before interpreting responses or planning multi-step changes — it materially improves correctness and saves context.kubernetes_proxyProxy a Kubernetes API request through Portainer for a given environment. The `path` is forwarded as-is to the K8s API server (e.g. /api/v1/pods, /apis/apps/v1/namespaces/default/deployments). K8s payloads are noisy — `metadata.managedFields` alone is often 30-70% of an object — so pass a JMESPath `select` to project just what you need. Example for /api/v1/pods: `items[].{name:metadata.name,ns:metadata.namespace,phase:status.phase,node:spec.nodeName}`.| Parameter | Type | Description |
|---|---|---|
| body | any | |
| environment_id * | integer | Portainer environment ID |
| headers | object | Extra request headers |
| method | string | HTTP method |
| path * | string | Kubernetes API path with leading slash |
| query_params | object | Query parameters (labelSelector, fieldSelector, ...) |
| select | string |
Security checks
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 16 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 1.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README