Grades are a hygiene check, not a security guarantee.

MCP, MCP server

TriliumNext (trilium-mcp)

An MCP server that lets AI agents (Claude Desktop, Claude Code, any MCP-compatible client) read and write a self-hosted TriliumNext knowledge base over its ETAPI

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 a3a3289ca4b6, unchanged since the check below.

SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED

Why this grade

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    main.go, line 67 return errors.New("TRILIUM_URL and TRILIUM_TOKEN must be set (via env or .env file)")

  • PERMISSION_SHELL_DECLARED Note

    Runs shell commands, and the manifest or description says so.

    e2e/test_e2e.py, line 10 self.p = subprocess.Popen([BIN], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1, text=True)

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

    Note

    requests shell access. The manifest names this permission.

    PERMISSION_SHELL_DECLARED

    e2e/test_e2e.py, line 10

    self.p = subprocess.Popen([BIN], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1, text=True)

    e2e/test_v014.py, line 10

    self.p = subprocess.Popen([BIN], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1, text=True)

  • Install and update

    Pass

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

  • Network

    Pass

    No network call found.

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    main.go, line 67

    return errors.New("TRILIUM_URL and TRILIUM_TOKEN must be set (via env or .env file)")

    .gitignore, line 1

    .env

    README.md, line 80

    Copy `.env.example` to `.env` next to the binary:

    Show more

    README.md, line 194

    - The server reads `TRILIUM_TOKEN` from env. Treat it like a password - anyone with it can read and write your entire KB. Keep `.env` out of git (it is in `.gitignore`).

  • Agent instructions

    Pass

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

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • 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 a3a3289ca4b6. requests shell access. The manifest names this permission. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: a3a3289ca4b6d5b6765f3ee288d5f79663d6872b

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