TriliumNext Notes 的 MCP 服务器
⚠️免责声明:这是
TriliumNext Notes 的模型上下文协议服务器。该服务器提供通过 MCP 与 Trilium Notes 实例进行交互的工具。
更新:支持最新版本TriliumNext v0.92.6
注意:建议在 VSCode 中使用 Cline 扩展,而不是 Claude Desktop
快速入门
确保首先设置环境变量:
TRILIUM_API_URL(默认: http://localhost:8080/etapi )TRILIUM_API_TOKEN(必需,请从 Trilium Notes 设置中获取)
安装
1. 与 Claude Desktop 一起使用
将服务器配置添加到您的 Claude Desktop 配置文件:
将以下配置添加到 Claude 配置文件中的mcpServers对象:
用于开发(Windows / Linux)
对于本地安装(在 Linux 上)
对于本地安装(在 Windows 上)
配置文件的位置:
Windows:
%APPDATA%/Claude/claude_desktop_config.jsonMacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
可用工具
服务器提供以下笔记管理工具:
search_notes- 搜索笔记要求:搜索查询
可选:fastSearch(全文搜索切换)、includeArchivedNotes
get_note- 根据 ID 获取笔记内容要求:笔记 ID
create_note创建新笔记要求:父笔记 ID、标题、类型、内容
可选:代码/文件/图像注释的 MIME 类型
支持的笔记类型:文本、代码、文件、图像、搜索、书籍、关系图、渲染
update_note- 更新现有注释要求:笔记 ID
可选:新标题、新内容
delete_note- 删除注释要求:笔记 ID
发展
如果您想贡献或修改服务器:
local-only server
The server can only run on the client's local machine because it depends on local resources.
允许与 TriliumNext Notes 交互的模型上下文协议服务器,提供通过自然语言命令创建、搜索、检索、更新和删除笔记的工具。
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that enables semantic search and retrieval of Apple Notes content, allowing AI assistants to access, search, and create notes using on-device embeddings.Last updated -2
- Asecurity-licenseAqualityA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.Last updated -103053
- -security-license-qualityA Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.Last updated -110MIT License
- -security-license-qualityA Model Context Protocol server plugin for SiYuan note-taking application that enables searching documents, retrieving content, and writing to notes through an HTTP-based interface.Last updated -21AGPL 3.0