Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

TriliumNext MCP server

by tan-yong-sheng/triliumnext-mcpNo licenceAudited 7 Oct 2026 · source 44fc9c421191

npm triliumnext-mcp 0.3.17stdiostreamable-http★ 69
!CAUTIONGrade B · 86/100 · 7 Oct 2026 · 44fc9c4
69GitHub stars

Is it safe? With care — CAUTION, grade B (86/100). It exposes 9 tools: 4 read, 3 write and 2 destructive. The audit recorded 14 findings (0 critical, 0 high, 3 medium, 11 low). Maintainer's description: MCP server for TriliumNext Notes

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “TriliumNext MCP server (tan-yong-sheng/triliumnext-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/tan-yong-sheng/triliumnext

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score86/100!CAUTION B
0 critical0 high3 medium11 low0 info

14 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 8 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner tan-yong-shengUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmtriliumnext-mcp at version 0.3.17
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push7 months agoActivity of the repository when we read it.
  • Source commit read44fc9c421191The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory9 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (14)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_note, update_note
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · tests/integration/duplicate-handling.test.js:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { handleCreateNote } from '../../build/modules/noteManager.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/integration/list-children-notes.test.js:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createReadTools } from '../../build/modules/toolDefinitions.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/integration/list-children-notes.test.js:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { handleListChildrenNotes } from '../../build/modules/noteManager.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/integration/list-children-notes.test.js:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { handleListChildrenNotesRequest } from '../../build/modules/noteHandler.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/integration/patch-note.test.js:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createWriteTools } from '../../build/modules/toolDefinitions.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/DOCKER.md:61
F-04 Network egressCWE-200 · CWE-319Layer L1
-e TRILIUM_API_URL=http://192.168.1.100:8080/etapi \
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · .claude/skills/mcp-builder/scripts/requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
anthropic, mcp
Why
2 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, marked, mime-db, node-html-parser, safe-regex2, @types/node, typescript
Why
9 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · src/README.md:78
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
PERMISSIONS="READ;WRITE"     // Full access
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.credential_read · AGENTS.md:689
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Issue**: Functions checked lowercase "read" vs uppercase "READ" environment variable
Why
asks the agent to read credentials
Fix
—

Tools it exposes

9 declared in source · 2 destructive

4 read3 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_notedestructiveDelete a note permanently. ONLY use this tool when the user explicitly requests note deletion (e.g.,
update_notedestructiveUpdate note with support for title-only updates, content overwrite, content append, or file replacement. ⚠️ REQUIRED: ALWAYS call get_note first to obtain current hash. ⚠️ SIMPLER RULES: Note type and MIME type are IMMUTABLE - cannot be changed after creation. MODE SELECTION: Use
create_notewriteCreate a new note in TriliumNext with duplicate title detection. When a note with the same title already exists in the same directory, you
move_notewriteMove a note to a new parent location in the note tree. IMPORTANT: In TriliumNext a note can exist in multiple locations (branches). If the note has only one parent it moves directly. If it has multiple parents you must specify
patch_notewriteApply targeted patches to a note using one unified batch schema. WORKFLOW: 1) Call get_note to obtain current content and contentHash (blobId), 2) Design patches, 3) Call patch_note with expectedHash. Use mode=
get_notereadGet a note and its content by ID. Perfect for when someone wants to see what
list_children_notesreadList all direct child notes of a given note using a deterministic Trilium search query. Returns child note summaries including noteId, title, type, mime, and dateModified, sorted by dateCreated desc then title.
read_attributesreadRead all attributes (labels and relations) for a note. View existing labels (#tags), template relations (~template), and note metadata. This tool provides read-only access to inspect current attributes assigned to any note. Returns structured data with labels, relations, and summary information.
resolve_note_idreadResolves a note/folder name to its actual note ID for use with other tools. You MUST call this function when users provide note names instead of note IDs (e.g.,

Install

Package version 0.3.17 · audited commit 44fc9c4

Read the findings first. The most severe is Inventory / provenance (medium) at .agents.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.3.17. The audit covers commit 44fc9c4 only.

claude mcp add triliumnext-mcp --env TRILIUM_API_TOKEN=${TRILIUM_API_TOKEN} -- npx -y [email protected]

The command pins the package version recorded in the source (0.3.17); the audit covers commit 44fc9c421191. Transport: stdio · streamable-http. Reads this environment variable: TRILIUM_API_TOKEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 86 / 100

    First audit · 44fc9c421191

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/tan-yong-sheng/triliumnext/badge.svg)](https://modelsatlas.com/mcp/tan-yong-sheng/triliumnext/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about TriliumNext MCP server

What is the TriliumNext MCP server?
MCP server for TriliumNext Notes
What tools does TriliumNext expose?
9 in total: 4 read-only, 3 that write, and 2 that can delete or overwrite (delete_note, update_note). Every one is listed on this page with its risk.
Is TriliumNext safe to connect to an agent?
With care. The audit graded it B (86/100) and found 14 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does TriliumNext need?
It reads TRILIUM_API_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does TriliumNext run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as triliumnext-mcp at 0.3.17.
How current is this page?
The grade is for one exact copy of the source (44fc9c421191), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • tan-yong-sheng/triliumnext-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 44fc9c421191Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.