← Back to browse

TriliumNext (trilium-mcp)

Indexed by io.github.OVDEN13

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 varsTRILIUM_URL TRILIUM_TOKEN TRILIUM_HTTP_TIMEOUT_SECONDS TRILIUM_MCP_LOG
Claude 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

Add to 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.