Skip to content
Grok

TriliumNext (trilium-mcp) for Grok

io.github.ovden13/trilium-mcp

Read and write a self-hosted TriliumNext knowledge base over its ETAPI.

client:Grok transport:stdio runtime:oci

Install TriliumNext (trilium-mcp) in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "trilium-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ovden13/trilium-mcp:0.1.5"
      ],
      "env": {
        "TRILIUM_URL": "<TRILIUM_URL>",
        "TRILIUM_TOKEN": "<TRILIUM_TOKEN>",
        "TRILIUM_HTTP_TIMEOUT_SECONDS": "<TRILIUM_HTTP_TIMEOUT_SECONDS>",
        "TRILIUM_MCP_LOG": "<TRILIUM_MCP_LOG>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

TriliumNext (trilium-mcp) in other clients