You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
tan-yong-sheng / triliumnext-mcp Public
MCP server for TriliumNext Notes
1 star
0 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
tan-yong-sheng
update README.md
Mar 16, 2025
c01e9ab
· Mar 16, 2025
History
-------
8 Commits
| | |
| src | | src | update get_note_content method | Mar 16, 2025 |
| .gitignore | | .gitignore | first commit | Mar 16, 2025 |
| README.md | | README.md | update README.md | Mar 16, 2025 |
| package-lock.json | | package-lock.json | first commit | Mar 16, 2025 |
| package.json | | package.json | first commit | Mar 16, 2025 |
| tsconfig.json | | tsconfig.json | first commit | Mar 16, 2025 |
| View all files | | |
⚠️ DISCLAIMER: This is a prototype for TriliumNext/Notes#705
. Suggested only for developer use. Please backup your Trilium notes before using this tool. ⚠️
A model context protocol server for TriliumNext Notes. This server provides tools to interact with your Trilium Notes instance through MCP.
The server provides the following tools for note management:
create_note
- Create a new note
search_notes
- Search through notes
Requires: search query
get_note
- Retrieve a note by ID
Requires: note ID
get_note_content
- Get the content of a note by its ID
Requires: note ID
update_note
- Update an existing note
Requires: note ID
delete_note
- Delete a note
Requires: note ID
Git clone this repo:
git clone https://github.com/tan-yong-sheng/triliumnext-mcp.git
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"triliumnext-mcp": {
"command": "node",
"args": [\
"/path/to/triliumnext-mcp/build/index.js"\
],
"env": {
"TRILIUM_API_URL": "http://localhost:8080/etapi",
"TRILIUM_API_TOKEN": "<YOUR_TRILIUM_API_TOKEN>"
}
}
}
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector
, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
MCP server for TriliumNext Notes
No releases published
No packages published
You can’t perform that action at this time.