create_noteLABSCO SUMMARY
Notes as rows, labels as columns, relations as keys.
It exposes the part of Trilium that makes it more than a notes app: an agent can build a structured collection — rows under a parent, tagged into columns — and then query it back with Trilium's own search.
What it is
A single static Go binary that speaks MCP to your client over stdio and TriliumNext's ETAPI to your notes over HTTP. It creates, updates, moves, clones and deletes notes, manages labels and relations, and passes Trilium's full search syntax through untouched.
What you get
- A note created under a parent with labels in one call, or many created together
- A note's metadata fetched, optionally with its body
- A note and its descendants fetched as a nested tree, to a depth you set
- Partial updates that leave the fields you omit alone
- Text appended to a note body with a separator you choose
- Notes deleted singly or in bulk, with partial failures not stopping the rest
- A note re-parented, cloned under a second parent, or un-cloned by removing one link
- Full Trilium search, including label, relation, regex title matching and ancestor scoping
- Labels attached as columns, relations attached as foreign keys, and attributes listed or removed
Requirements
A running TriliumNext instance reachable over HTTP or HTTPS with ETAPI available. The binary is static with no runtime dependencies.
Setup effort
One command plus a key — go install github.com/OVDEN13/trilium-mcp@latest, then supply credentials
USE CASES
Capturing research into your notes as you go
Create the note under the right parent with its labels set in the same call, then keep appending to it.
Building a structured table of findings
Create the rows in one batch, then tag each with the labels that act as its columns.
Pulling a whole topic back in one call
Fetch the note and its descendants as a nested tree instead of walking it one note at a time.
Finding notes by tag rather than by title
Search with label and relation syntax, and read back which attributes a note carries.
Reorganising a tree that grew in the wrong shape
Re-parent notes, clone the ones that belong in two places, and remove a single parent link without deleting anything.
Linking two notes that belong together
Attach a relation between them, and strip attributes that no longer apply.
16 tools
Listed in project docs. Your client may show a different list.
batch_create_notesget_noteget_note_subtreeupdate_noteappend_contentdelete_notebatch_delete_notesmove_noteclone_notedelete_branchsearch_notesadd_labeladd_relationremove_attributelist_attributesBEFORE YOU INSTALL
What to know first
Tools you get
16 tools named in the project's documentation.
Requires
- go on PATH
- TRILIUM_TOKEN in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
go install github.com/OVDEN13/trilium-mcp@latestMCP Clients
Claude Desktop
{
"mcpServers": {
"trilium": {
"command": "<YOUR_PATH_TO_TRILIUM_MCP>",
"env": {
"TRILIUM_URL": "http://localhost:8092",
"TRILIUM_TOKEN": "<YOUR_TRILIUM_TOKEN>"
}
}
}
}