Back to Home
tan-yong-sheng icon

triliumnext-mcp

Verified Safe

by tan-yong-sheng

Overview

Provides AI assistants with tools to interact with TriliumNext Notes instances, enabling automated knowledge management and content manipulation.

Installation

Run Command
npx triliumnext-mcp

Environment Variables

  • TRILIUM_API_TOKEN
  • TRILIUM_API_URL
  • PERMISSIONS
  • VERBOSE

Security Notes

The server employs Zod for robust runtime input validation across all tool parameters, which is a strong security measure against common injection attacks. Permission checks are granular for READ/WRITE operations. Update operations require an `expectedHash` to prevent concurrent modification conflicts, enhancing data integrity. Past challenges with file/image uploads led to their temporary disablement, which mitigates potential path traversal or arbitrary file access risks associated with `fileUri` handling. Re-enabling file uploads would require extremely rigorous path validation. The primary remaining risk is the `TRILIUM_API_TOKEN`, which grants full access to the TriliumNext instance; it must be securely managed in the environment.

Similar Servers

Stats

Interest Score41
Security Score8
Cost ClassMedium
Avg Tokens750
Stars27
Forks7
Last Update2026-01-19

Tags

TriliumNextNotesMCP ServerAI AssistantKnowledge ManagementAPI IntegrationDocument Management