Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Trading212 Mcp Server

A Model Context Protocol server for the Trading 212 public API.

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.

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.

    .agents/skills/trading212-api-sync/scripts/sync_api_schema.py, line 23 with urllib.request.urlopen(request, timeout=30) as response: # noqa: S310

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    src/trading212_mcp/settings.py, line 33 load_dotenv(Path.cwd() / ".env", override=False)

  • SECRETS_ENV_READ Note

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

    src/trading212_mcp/settings.py, line 36 "api_key": os.getenv("TRADING212_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

    .agents/skills/trading212-api-sync/scripts/sync_api_schema.py, line 23

    with urllib.request.urlopen(request, timeout=30) as response: # noqa: S310

    src/trading212_mcp/client.py, line 160

    response = self.http.request(

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    src/trading212_mcp/settings.py, line 33

    load_dotenv(Path.cwd() / ".env", override=False)

    src/trading212_mcp/settings.py, line 36

    "api_key": os.getenv("TRADING212_API_KEY", ""),

    src/trading212_mcp/settings.py, line 37

    "api_secret": os.getenv("TRADING212_API_SECRET") or None,

    Show more

    .dockerignore, line 11

    **/.env*

    .github/workflows/tests.yml, line 70

    printf 'SYNTHETIC_DOCKER_SECRET=must-not-ship\n' > .env.docker-test

    .gitignore, line 130

    # Environments

    .gitignore, line 180

    audit.json

    .gitignore, line 182

    !.env.example

    README.md, line 44

    2. **Configure credentials locally.** Create an ignored `.env` file from

    README.md, line 45

    `.env.example` if one does not already exist:

  • 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

  • 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 9276fcc0ac5e. 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: 9276fcc0ac5e8b266dbf3ff36b3fe11d07d8eb9c

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