Triliumnext Mcp logo

Triliumnext Mcp

Community
dujonwalker
triliumnext-mcp

Use this skill whenever managing Trilium or TriliumNext notes via the perfectra1n/triliumnext-mcp MCP server — searching notes and subtrees, reading or editing note content (HTML, Markdown, search/replace diffs), wiring labels and relations, managing attachments and revisions, fetching daily/weekly/inbox notes, reorganizing/cloning branches, or running backups/exports. Also use when configuring triliumnext-mcp transports (/mcp, /sse, stdio), multi-tenant headers, gateway auth, or SSRF/file-read guards.

Overview

Publisherdujonwalker
Repositoryproject-nova
Skill nametriliumnext-mcp
Stars
271
Forks
33
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dujonwalker on GitHub. Read the source before you install it.

Installation

Install the Triliumnext Mcp AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/triliumnext-mcp
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dujonwalker/project-nova.git /tmp/project-nova
mkdir -p .claude/skills
cp -r /tmp/project-nova/mcp-skills/triliumnext-mcp .claude/skills/triliumnext-mcp
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Triliumnext Mcp in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Triliumnext Mcp on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Triliumnext Mcp is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

TriliumNext MCP (triliumnext-mcp)

Use the triliumnext-mcp MCP tools as the primary interface for exploring, reading, creating, editing, linking, and organizing notes in TriliumNext.

Core Workflows

  • Explore before writing: Call search_notes (pass content_preview_chars: 250 to inspect candidates without N+1 get_note calls) and get_note_tree to resolve parent note IDs before creating or moving notes.
  • Read & page large notes: Call get_note with content_start / content_max_chars for paginated reads, include_path: true for breadcrumb locations, and include_backlinks: true for inbound references.
  • Edit notes cleanly: Use write_note with mode: "metadata", "replace", "append", or "edit" (changes search/replace blocks or unified patch). Set format: "markdown" when writing Markdown to text notes. Run create_revision before risky rewrites.
  • Internal links: Write <a href="note:TARGET_ID">text</a> or Markdown [text](note:TARGET_ID) in create_note / write_note — the server resolves real Trilium reference links and rejects unknown IDs. Share the returned url when done.
  • Functional notes take two steps: Creating code, render, or widget notes leaves them inert until attributes are attached with set_attribute (pass names without leading # or ~).

Read references/tools-reference.md for all 20 tools, parameter modes, and functional recipes (code, render, widgets).

Gotchas

  • search_notes strategy & TRILIUM_BUSY: Defaults to strategy: "auto" (titles/labels first, falling back to body search only when fewer than 5 results match). Use "full" only when terms appear solely in bodies. On TRILIUM_BUSY, wait the suggested cooldown (--busy-cooldown, default 30s) instead of retrying immediately.
  • Timestamps only in mode: "metadata": write_note rejects dateCreated/utcDateCreated/utcDateModified on content writes. Update dates in a separate mode: "metadata" call after content edits (utcDateModified requires Trilium > 0.105).
  • Multi-parent organize_note "move": Cloned notes with multiple parents require fromParentNoteId; the tool fails rather than guessing which placement to remove. Calling "unlink" on a note's last branch deletes the note itself.
  • delete_note is reversible: Use action: "delete" to delete and action: "undelete" (requires at least one undeleted parent) to restore; discover deleted IDs via get_note_history.
  • Protected notes: restore_revision cannot restore protected notes via ETAPI, and content_preview_chars skips binary and protected notes.

Connection Setup

Read references/setup-and-config.md when deploying triliumnext-mcp (stdio vs --transport http), enabling --multi-tenant, setting --public-url, or configuring gateway auth, allowlists, and --allow-local-file-read.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Triliumnext Mcp AI skill do?

Use this skill whenever managing Trilium or TriliumNext notes via the perfectra1n/triliumnext-mcp MCP server — searching notes and subtrees, reading or editing note content (HTML, Markdown, search/replace diffs), wiring labels and relations, managing attachments and revisions, fetching daily/weekly/inbox notes, reorganizing/cloning branches, or running backups/exports. Also use when configuring triliumnext-mcp transports (/mcp, /sse, stdio), multi-tenant headers, gateway auth, or SSRF/file-read guards.

Why use Triliumnext Mcp on TypingMind?

Because you install it once and use it with any model. Triliumnext Mcp is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Triliumnext Mcp in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/triliumnext-mcp. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Triliumnext Mcp?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Triliumnext Mcp?

As many as you like. As long as a model supports skills, you can use Triliumnext Mcp with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Triliumnext Mcp AI skill free?

Yes. It is published on GitHub by dujonwalker under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇