Zum Inhalt springen

Portainer MCP Updates & Release Notes

Einträge
39
Quellen
1
Zuletzt aktualisiert

Folge Portainer MCP, um die Release Notes in deinen Feed zu holen.

Portainer MCP von Portainer

[2.42.4] — 2026-06-02

Targets Portainer 2.42.x.

Changed

  • Container images are now multi-arch (linux/amd64 + linux/arm64). The Docker Hub release workflow adds a QEMU setup step and builds both platforms into a single manifest list under the existing :X.Y.Z / :X.Y tags.

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 2.42.3: Starlette-Pin und Proxy-Fehlerbehandlung

Die Starlette-Abhängigkeit wurde wegen einer Sicherheitslücke fest gepinnt, und die Proxy-Werkzeuge melden fehlgeschlagene HTTP-Aufrufe jetzt als Fehler statt als leere Ergebnisse.

Targets Portainer 2.42.x.

Security

  • Pinned starlette>=1.0.1 to close CVE-2026-48710 (BadHost). Starlette is transitive via fastmcp→mcp with no upstream floor at the fixed version; the pin is asserted directly so a re-lock can't drift back to a vulnerable release. Resolves to 1.2.0.

Fixed

  • Proxy query_params / headers tolerate how different MCP clients serialize object arguments. Some clients (notably Claude Desktop) send the whole object as a JSON string, which pydantic rejected before the tool ran — blocking every Docker/Kubernetes endpoint that needs a query string (logs, all=true, label/field selectors, stats). A BeforeValidator now parses a JSON-string argument back into an object and normalizes each value to its wire form, so native bools/numbers and nested filters objects work too. The tool schema is unchanged, so the model still sees one canonical contract.
  • Proxy tools surface upstream HTTP failures as errors. docker_proxy / kubernetes_proxy previously returned a 4xx/5xx body as a normal result, so a failed call (e.g. a wrong environment_id 404) could be silently nulled out by a select projection and look like empty data. They now raise a tool error carrying the status and the (truncated) upstream body, so the model can tell a failed request from a missing field.

PyPI: https://pypi.org/project/mcp-portainer/2.42.3/

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

[2.42.3] — 2026-05-29

Targets Portainer 2.42.x.

Security

  • Pinned starlette>=1.0.1 to close CVE-2026-48710 (BadHost). Starlette is transitive via fastmcp→mcp with no upstream floor at the fixed version; the pin is asserted directly so a re-lock can't drift back to a vulnerable release. Resolves to 1.2.0.

Fixed

  • Proxy query_params / headers tolerate how different MCP clients serialize object arguments. Some clients (notably Claude Desktop) send the whole object as a JSON string, which pydantic rejected before the tool ran — blocking every Docker/Kubernetes endpoint that needs a query string (logs, all=true, label/field selectors, stats). A BeforeValidator now parses a JSON-string argument back into an object and normalizes each value to its wire form, so native bools/numbers and nested filters objects work too. The tool schema is unchanged, so the model still sees one canonical contract.
  • Proxy tools surface upstream HTTP failures as errors. docker_proxy / kubernetes_proxy previously returned a 4xx/5xx body as a normal result, so a failed call (e.g. a wrong environment_id 404) could be silently nulled out by a select projection and look like empty data. They now raise a tool error carrying the status and the (truncated) upstream body, so the model can tell a failed request from a missing field.

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 2.42.2: Umgebungsvariablen werden geschwärzt

Umgebungsvariablen von Stacks, Containern und Kubernetes-Ressourcen werden vor der Ausgabe standardmäßig geschwärzt, und alle Werkzeuge erhalten eine readOnlyHint-Annotation.

Targets Portainer 2.42.x. Patch release on the 2.42 line.

Added

  • Env value redaction on every response. Stack, container, and Kubernetes env values are rewritten to [REDACTED] before leaving the MCP tool boundary, so secrets don't leak into the model's context just because a tool happened to include them. Redaction runs before JMESPath select, so a projection like select="Env[0].value" lands on the sentinel. The response carries a one-line summary naming the toggle. Set PORTAINER_EXPOSE_ENV_VALUES=1 to disclose; the posture is logged at startup. Covers Portainer Env/EnvVars pairs, Docker "KEY=VAL" strings, and Kubernetes env[].value; K8s valueFrom references are preserved. See #61.
  • readOnlyHint tool annotation. Every generated tool now carries the MCP readOnlyHint annotation so clients can relax approval prompts for non-mutating calls. Spec-derived tools derive it from the HTTP method (GET/HEAD read-only, everything else a write); docker_proxy / kubernetes_proxy track PORTAINER_READ_ONLY. The hint is a client-side UX signal, not enforcement.

Changed

  • Proxy responses (docker_proxy, kubernetes_proxy) are now re-serialised through json.dumps whenever they're JSON and the redaction posture is active (the default). Output is byte-identical for the model but no longer preserves upstream whitespace or key ordering. Non-JSON bodies (logs, stats, error pages) still pass through verbatim. …

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

[2.42.2] — 2026-05-28

Targets Portainer 2.42.x.

Added

  • Env value redaction on every response. Stack, container, and Kubernetes env values are rewritten to [REDACTED] before leaving the MCP tool boundary so secrets don't leak into the model's context just because a tool happened to include them. The redaction runs before JMESPath select, so a projection like select="Env[0].value" lands on the sentinel. The response carries a one-line summary naming the toggle. Set PORTAINER_EXPOSE_ENV_VALUES=1 to disclose; the posture is logged at startup. Covers Portainer Env/EnvVars pairs, Docker "KEY=VAL" strings, and Kubernetes env[].value; K8s valueFrom references are preserved. See #61.
  • readOnlyHint tool annotation. Every generated tool now carries the MCP readOnlyHint annotation so clients can relax approval prompts for non-mutating calls. Spec-derived tools derive it from the HTTP method (GET/HEAD are read-only, everything else a write — setting it False also activates the spec's destructiveHint default); docker_proxy / kubernetes_proxy track PORTAINER_READ_ONLY, honest because the proxy hard-rejects non-GET in read-only mode. The hint is a client-side UX signal, not enforcement — the read-only guarantee remains the GET/HEAD route filter and the proxy's method check.

Changed

  • Proxy responses (docker_proxy, kubernetes_proxy) are now re-serialised…

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 2.42.1: Container-Image und HTTP-Bearer-Auth

Diese Version bringt das erste Container-Image sowie eine optionale HTTP-Bearer-Authentifizierung mit Pflicht-Token für HTTP-Transporte.

PyPI: https://pypi.org/project/mcp-portainer/2.42.1/ Docker Hub: https://hub.docker.com/r/portainer/portainer-mcp/tags?name=2.42.1

Targets Portainer 2.42.x. First build to ship a container image alongside the PyPI wheel, and the first release with a bearer-gated HTTP transport.

Added

  • Container image at docker.io/portainer/portainer-mcp, published on every X.Y.Z tag push from .github/workflows/release-docker.yml. Tagged X.Y.Z and X.Y per release; no latest. See docs/docker.md.
  • HTTP bearer auth. New PORTAINER_MCP_AUTH_TOKEN env, required when PORTAINER_MCP_TRANSPORT=http and ignored for stdio. Strict validation at startup (min 32 chars, ASCII printable, no whitespace — loud-fail on any defect); constant-time comparison via hmac.compare_digest; masked fingerprint in the startup log, full value never logged. Wired through FastMCP's TokenVerifier protocol — FastMCP renders the 401 + WWW-Authenticate response on failure. …

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

[2.42.1] — 2026-05-26

Targets Portainer 2.42.x. First build to ship a container image alongside the PyPI wheel, and the first release with a bearer-gated HTTP transport.

Added

  • Container image at docker.io/portainer/portainer-mcp, published on every X.Y.Z tag push from .github/workflows/release-docker.yml. Tagged X.Y.Z and X.Y per release; no latest. See docs/docker.md.
  • HTTP bearer auth. New PORTAINER_MCP_AUTH_TOKEN env, required when PORTAINER_MCP_TRANSPORT=http and ignored for stdio. Strict validation at startup (min 32 chars, ASCII printable, no whitespace — loud-fail on any defect); constant-time comparison via hmac.compare_digest; masked fingerprint in the startup log, full value never logged. Wired through FastMCP's TokenVerifier protocol — FastMCP renders the 401 + WWW-Authenticate response on failure.
  • DNS-rebinding allowlist for the HTTP transport. PORTAINER_MCP_ALLOWED_HOSTS (default 127.0.0.1:*,localhost:*,[::1]:*) validates the Host header on every request; mismatches return 421 with a body that names the env var. The Origin allowlist is hardcoded to localhost — programmatic MCP clients omit Origin and pass through. A startup WARNING fires when the bind host is non-loopback while the allowlist is still the localhost defaults, so the "deployed-then-it-421s" case self-diagnoses. …

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 2.42.0: Spec auf EE 2.42.0 aktualisiert

Die eingebettete Portainer-Spezifikation wurde auf EE 2.42.0 angehoben, wodurch die Profilabdeckung auf etwa 197 Operationen wächst und ein neues Release-Skill für Maintainer hinzukommt.

PyPI: https://pypi.org/project/mcp-portainer/2.42.0/

Targets Portainer 2.42.x.

Added

  • Maintainer release skill at .claude/skills/portainer-mcp-release/. Project-local Claude Code skill that walks through spec-bump releases (Portainer minor → MCP minor): finding the upstream patch target, spec regeneration, op/tag delta recounting, orphan inventory refresh, pin bumps across distribution docs, CHANGELOG promotion, commit, push, merge, tag. Bundles a spec_deltas.py script that prints the new per-profile coverage and orphan table paste-ready for docs/profiles.md.

Changed

  • Embedded spec bumped to Portainer EE 2.42.0 (was 2.41.1). Default BASE,DOCKER,KUBERNETES profile coverage grows from ~180 to ~197 operations; the five-profile union grows from ~306 to ~342. Upstream removed the intel tag (6 operations); dropped from the orphan tag list in docs/profiles.md.
  • Bump actions/checkout to v6.0.2 and astral-sh/setup-uv to v8.1.0 in the CI and release workflows. Clears the Node.js 20 deprecation warning ahead of the forced Node.js 24 default on 2026-06-02.

Full Changelog: https://github.com/portainer/portainer-mcp/compare/2.41.0...2.42.0

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

[2.42.0] — 2026-05-22

Targets Portainer 2.42.x.

Added

  • Maintainer release skill at .claude/skills/portainer-mcp-release/. Project-local Claude Code skill that walks through spec-bump releases (Portainer minor → MCP minor): finding the upstream patch target, spec regeneration, op/tag delta recounting, orphan inventory refresh, pin bumps across distribution docs, CHANGELOG promotion, commit, push, merge, tag. Bundles a spec_deltas.py script that prints the new per-profile coverage and orphan table paste-ready for docs/profiles.md.

Changed

  • Embedded spec bumped to Portainer EE 2.42.0 (was 2.41.1). Default BASE,DOCKER,KUBERNETES profile coverage grows from ~180 to ~197 operations; the five-profile union grows from ~306 to ~342. Upstream removed the intel tag (6 operations); dropped from the orphan tag list in docs/profiles.md.
  • Bump actions/checkout to v6.0.2 and astral-sh/setup-uv to v8.1.0 in the CI and release workflows. Clears the Node.js 20 deprecation warning ahead of the forced Node.js 24 default on 2026-06-02.

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 2.41.0: Erste Veröffentlichung

Die Erstveröffentlichung stellt Werkzeuge aus der Portainer-OpenAPI-Spezifikation bereit, mit Profil-basierten Tag-Freischaltlisten, orthogonalen Modifikatoren und universeller JMESPath-Antwortformatierung.

PyPI: https://pypi.org/project/mcp-portainer/2.41.0/

Initial release. Targets Portainer 2.41.x. Distributed on PyPI as mcp-portainer.

Added

  • Tool surface from the Portainer OpenAPI spec via FastMCP.from_openapi. The patched spec (EE 2.41.1) ships inside the wheel at src/portainer_mcp/data/portainer-patched.yaml, loaded via importlib.resources. End users do not run the patcher.
  • Profile-based tag allowlist at src/portainer_mcp/profiles.py: five named bundles (BASE, DOCKER, KUBERNETES, EDGE, ADMIN) plus an ALL sentinel, selected via PORTAINER_PROFILES. Unknown profile names fail loudly at startup; PORTAINER_TAGS_EXTRA is the escape hatch for orphan tags. Default BASE,DOCKER,KUBERNETES covers ~180 of 387 spec operations. See docs/profiles.md.
  • Orthogonal modifiers: PORTAINER_READ_ONLY=1 filters to GET / HEAD only; PORTAINER_NO_PROXY=1 skips proxy-tool registration.
  • Universal response shaping: every tool — generated OpenAPI tools and hand-written proxies alike — accepts an optional JMESPath select argument applied server-side. Implemented via shaping.SelectArgTransform (a fastmcp.server.transforms.Transform subclass) registered with mcp.add_transform(...). Startup canary (await mcp.list_tools()) raises if any tool is missing select. …

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

[2.41.0] — 2026-05-19

Initial release. Targets Portainer 2.41.x. Distributed on PyPI as mcp-portainer.

Added

  • Tool surface from the Portainer OpenAPI spec via FastMCP.from_openapi. The patched spec (EE 2.41.1) ships inside the wheel at src/portainer_mcp/data/portainer-patched.yaml, loaded via importlib.resources. End users do not run the patcher.
  • Profile-based tag allowlist at src/portainer_mcp/profiles.py: five named bundles (BASE, DOCKER, KUBERNETES, EDGE, ADMIN) plus an ALL sentinel, selected via PORTAINER_PROFILES. Unknown profile names fail loudly at startup; PORTAINER_TAGS_EXTRA is the escape hatch for orphan tags. Default BASE,DOCKER,KUBERNETES covers ~180 of 387 spec operations. See docs/profiles.md.
  • Orthogonal modifiers: PORTAINER_READ_ONLY=1 filters to GET / HEAD only; PORTAINER_NO_PROXY=1 skips proxy-tool registration.
  • Universal response shaping: every tool — generated OpenAPI tools and hand-written proxies alike — accepts an optional JMESPath select argument applied server-side. Implemented via shaping.SelectArgTransform (a fastmcp.server.transforms.Transform subclass) registered with mcp.add_transform(...). Startup canary (await mcp.list_tools()) raises if any tool is missing select.
  • Response truncation hint: ResponseCapMiddleware caps responses at PORTAINER_MAX_RESPONSE_CHARS (default 50000, ~80% of Claude …

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP v0.7.0: Lokale Stack-Verwaltung

Diese als historisch markierte Version ergänzt Werkzeuge zur Verwaltung lokaler Docker-Compose-Stacks und verbessert den Lesemodus der Proxy-Werkzeuge.

What's New

NOTE: This release is using an old implementation of the Portainer MCP server based on https://github.com/portainer/portainer-mcp/tree/archive-go-impl and is kept mostly for historical purpose. You should use a more recent release instead.

Local Stack Management (#45)

  • Added support for local (non-edge) Docker Compose stack management tools
  • New operations: ListLocalStacks, GetLocalStackFile, CreateLocalStack, UpdateLocalStack, StartLocalStack, StopLocalStack, DeleteLocalStack
  • Uses raw HTTP client for Portainer REST API endpoints not covered by the SDK

Proxy Read-Only Mode Improvements (#47)

  • Docker and Kubernetes proxy tools are now available in read-only mode (previously not loaded at all)
  • In read-only mode, proxy tools are restricted to GET requests only
  • Provides visibility into infrastructure without modification risk

Supported Portainer Version

  • Portainer 2.31.2

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP v0.6.0: Kubernetes-Ressourcen und Versionsprüfung

Die Version führt eine neue Operation für geschwärzte Kubernetes-Ressourcen ein, aktualisiert die Portainer-API auf 2.31.2 und bietet eine Option zum Deaktivieren der Versionsprüfung.

What's Changed

Full Changelog: https://github.com/portainer/portainer-mcp/compare/v0.5.0...v0.6.0

Originalquelle(öffnet in neuem Tab)Problem melden

Portainer MCP von Portainer

Portainer MCP 0.4.0

Die Version ist mit Portainer 2.29.2 kompatibel und bietet aktualisierte Abhängigkeiten sowie neue Werkzeug-Annotationen und Token-Zählung.

This version is compatible with Portainer 2.29.2

Originalquelle(öffnet in neuem Tab)Problem melden