MCP.so
登录

TriliumNext Notes' MCP Server

@tan-yong-sheng

基本信息

分类

记忆与知识

传输方式

stdio

作者

tan-yong-sheng

关于 TriliumNext Notes' MCP Server

MCP server for TriliumNext Notes

TriliumNext Notes' MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "triliumnext-mcp": {
      "command": "npx",
      "args": [
        "triliumnext-mcp"
      ],
      "env": {
        "TRILIUM_API_URL": "http://localhost:8080/etapi",
        "TRILIUM_API_TOKEN": "<YOUR_TRILIUM_API_TOKEN>",
        "PERMISSIONS": "READ;WRITE"
      }
    }
  }
}

TriliumNext Notes' MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is TriliumNext Notes' MCP Server?

A Model Context Protocol (MCP) server for TriliumNext Notes. It provides tools to search, create, update, delete, and manage notes and attributes in your Trilium Notes instance via the ETAPI. This prototype is intended for developer use; backup your notes before using.

How to use TriliumNext Notes' MCP Server?

Install via npx triliumnext-mcp or run with Docker (pre‑built image from GitHub Container Registry). Configure environment variables: TRILIUM_API_URL (default http://localhost:8080/etapi), TRILIUM_API_TOKEN (required), PERMISSIONS (optional, default READ;WRITE), and VERBOSE (optional). Add the server configuration to your MCP client (e.g., Claude Desktop, Claude Code, Cursor, Cline) using stdio transport.

Key features of TriliumNext Notes' MCP Server

  • Search and discover notes with advanced filtering.
  • Create, read, update, and delete notes.
  • Manage attributes (labels and relations) on notes.
  • Resolve note IDs by title for reference.
  • List and move notes between parent folders.
  • Apply targeted batched edits using various patch modes.

Use cases of TriliumNext Notes' MCP Server

  • Find recent notes about a topic filtered by date range.
  • Show notes edited in the last 7 days.
  • List all notes under a folder including subfolders.
  • Add daily updates to a work log (append mode).
  • Create a new note in a specific journal folder.

常见问题

1

What environment variables are required?

`TRILIUM_API_TOKEN` is required. `TRILIUM_API_URL` defaults to `http://localhost:8080/etapi`. `PERMISSIONS` (default `READ;WRITE`) and `VERBOSE` (default `false`) are optional.

2

Is this server production‑ready?

No – it is a prototype for developer use only. Always back up your Trilium notes before using this tool.

3

What data does this server access?

It interacts with your own Trilium Notes instance via the ETAPI. All data remains in your Trilium instance; no external storage is used.

4

What transport does the server use?

The server uses stdio transport and follows the standard MCP protocol, making it compatible with any MCP client.

评论

记忆与知识 分类下的更多 MCP 服务器