Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Portainer Mcp

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

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

Rescanned at commit aae7d64cf659, unchanged since the check below.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP

Why this grade

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    Dockerfile, line 46 CMD python -c "import os, socket; h=os.environ.get('PORTAINER_MCP_HTTP_HOST') or '127.0.0.1'; h={'0.0.0.0': '127.0.0.1', '::': '::1'}.get(h, h); socket.create_connection((h, int(os

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    CLAUDE.md, line 23 make dev # local HTTP server via uv + .env (port 17717)

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    src/portainer_mcp/server.py, line 332 if os.environ.get("PORTAINER_API_KEY"):

  • OBFUSCATION_FILE_OVER_READ_CAP Note

    A file was over the read cap and was not fully read.

    uv.lock, line 1 version = 1

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    Dockerfile, line 46

    CMD python -c "import os, socket; h=os.environ.get('PORTAINER_MCP_HTTP_HOST') or '127.0.0.1'; h={'0.0.0.0': '127.0.0.1', '::': '::1'}.get(h, h); socket.create_connection((h, int(os

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    CLAUDE.md, line 23

    make dev # local HTTP server via uv + .env (port 17717)

    src/portainer_mcp/server.py, line 332

    if os.environ.get("PORTAINER_API_KEY"):

    .dockerignore, line 23

    # Env files

    Show more

    .dockerignore, line 24

    .env

    .env.example, line 1

    # Copy to .env and fill in. Used by `make dev`, which runs the HTTP transport

    .gitignore, line 7

    docs/local

    CHANGELOG.md, line 480

    loop is no longer auth-less - add the token to `.env` and pass it via

    CLAUDE.md, line 27

    `make dev` requires `.env` (copy from `.env.example`). It runs the server

    Makefile, line 25

    # 1. cp .env.example .env, fill in PORTAINER_URL, and set

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Note

    a file was over the read cap and was not fully read.

    OBFUSCATION_FILE_OVER_READ_CAP

    uv.lock, line 1

    version = 1

    src/portainer_mcp/data/portainer-patched.yaml, line 1

    openapi: 3.0.0

  • Licence

    Pass

    A licence file is present (LICENSE).

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit aae7d64cf659. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: aae7d64cf65943d8d48ad89f8b3cc948890905b7

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen