MCP server · Audited from source
TriliumNext MCP server
by tan-yong-sheng/triliumnext-mcpNo licenceAudited 7 Oct 2026 · source 44fc9c421191
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
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 8 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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 npm
triliumnext-mcpat 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
MEDIUMInventory / provenanceinv.symlink · .agents
.agents
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .codex
.codex
- Why
- link not followed
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWInventory / provenanceinv.symlink · CLAUDE.md
CLAUDE.md
- Why
- link not followed
- Fix
- —
LOWFilesystem / pathfs.traversal · tests/integration/duplicate-handling.test.js:16
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
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
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
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
import { createWriteTools } from '../../build/modules/toolDefinitions.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/DOCKER.md:61
-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
anthropic, mcp
- Why
- 2 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · package.json
@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
PERMISSIONS="READ;WRITE" // Full access
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · AGENTS.md:689
- **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
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.
| Tool | Risk | What it does |
|---|---|---|
delete_note | destructive | Delete a note permanently. ONLY use this tool when the user explicitly requests note deletion (e.g., |
update_note | destructive | Update 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_note | write | Create a new note in TriliumNext with duplicate title detection. When a note with the same title already exists in the same directory, you |
move_note | write | Move 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_note | write | Apply 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_note | read | Get a note and its content by ID. Perfect for when someone wants to see what |
list_children_notes | read | List 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_attributes | read | Read 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_id | read | Resolves 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]{
"mcpServers": {
"triliumnext-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_API_TOKEN": "${TRILIUM_API_TOKEN}"
}
}
}
}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
- !CAUTION B 86 / 100
First audit ·
44fc9c421191
README badge
For maintainers · updates on every re-audit
[](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?
What tools does TriliumNext expose?
Is TriliumNext safe to connect to an agent?
What credentials does TriliumNext need?
How does TriliumNext run?
How current is this page?
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.
- What is the TriliumNext MCP server?
- What tools does TriliumNext expose?
- Is TriliumNext safe to connect to an agent?