TriliumNext (trilium-mcp)
About
Read and write a self-hosted TriliumNext knowledge base over its ETAPI.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
TRILIUM_URL TRILIUM_TOKEN TRILIUM_HTTP_TIMEOUT_SECONDS TRILIUM_MCP_LOGClaude Code
claude mcp add --env TRILIUM_URL= --env TRILIUM_TOKEN= --env TRILIUM_HTTP_TIMEOUT_SECONDS= --env TRILIUM_MCP_LOG= trilium-mcp -- docker ghcr.io/ovden13/trilium-mcp:0.1.5
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"trilium-mcp","command":"docker","args":["ghcr.io/ovden13/trilium-mcp:0.1.5"],"env":{"TRILIUM_URL":"","TRILIUM_TOKEN":"","TRILIUM_HTTP_TIMEOUT_SECONDS":"","TRILIUM_MCP_LOG":""}}'
JSON
{
"mcpServers": {
"trilium-mcp": {
"command": "docker",
"args": [
"ghcr.io/ovden13/trilium-mcp:0.1.5"
],
"env": {
"TRILIUM_URL": "",
"TRILIUM_TOKEN": "",
"TRILIUM_HTTP_TIMEOUT_SECONDS": "",
"TRILIUM_MCP_LOG": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.