TriliumNext Notes' MCP Server
by tan-yong-sheng
A model context protocol server for TriliumNext Notes. This server provides tools to interact with your Trilium Notes instance through MCP.
Last updated: N/A
What is TriliumNext Notes' MCP Server?
This is a Model Context Protocol (MCP) server designed to facilitate interaction with TriliumNext Notes instances. It acts as an intermediary, allowing other applications (like Claude Desktop) to access and manipulate Trilium notes programmatically.
How to use TriliumNext Notes' MCP Server?
- Set up environment variables
TRILIUM_API_URLandTRILIUM_API_TOKEN. 2. Configure your client application (e.g., Claude Desktop) to use this server by adding the appropriate configuration to themcpServersobject. 3. Use the available tools (search, get, create, update, delete) via the client application to manage your Trilium notes.
Key features of TriliumNext Notes' MCP Server
Search notes based on query
Retrieve note content by ID
Create new notes with various types (text, code, file, image, etc.)
Update existing note content and title
Delete notes
Use cases of TriliumNext Notes' MCP Server
Automated note creation and management
Integration with AI assistants (e.g., Claude) for note interaction
Programmatic access to Trilium notes for data analysis
Custom workflows involving Trilium notes
FAQ from TriliumNext Notes' MCP Server
What is TRILIUM_API_URL?
What is TRILIUM_API_URL?
The URL of your Trilium Notes API endpoint. Defaults to http://localhost:8080/etapi.
Where do I get TRILIUM_API_TOKEN?
Where do I get TRILIUM_API_TOKEN?
You can find this in your Trilium Notes settings under the 'API' section.
What client applications can I use with this server?
What client applications can I use with this server?
The README suggests using it with the Cline extension in VSCode or Claude Desktop.
What note types are supported for creation?
What note types are supported for creation?
The server supports creating notes of type text, code, file, image, search, book, relationMap, and render.
Is this server production-ready?
Is this server production-ready?
The README explicitly states this is a prototype and suggested only for developer use. Backups are strongly recommended.