loading…
Search for a command to run...
loading…
Enables users to manage Trilium Notes through natural language commands in the terminal. Provides full ETAPI integration for creating, searching, moving, and ed
Enables users to manage Trilium Notes through natural language commands in the terminal. Provides full ETAPI integration for creating, searching, moving, and editing notes, along with an autonomous agent for complex organizational tasks.
This project provides a Model Context Protocol (MCP) server, a specialized Gemini Skill, and an autonomous Agent for managing Trilium Notes directly from your terminal using the Gemini CLI.
trilium-assistant agent for complex organizational tasks..env file to protect your API tokens.git clone https://github.com/dhiraj-ydv/trilium-mcp.git
cd trilium-mcp
pip install -r requirements.txt
Copy the example environment file and fill in your Trilium details:
cp .env.example .env
Open .env and provide:
TRILIUM_SERVER_URL: Your Trilium instance URL (e.g., http://localhost:8080).TRILIUM_ETAPI_TOKEN: Your ETAPI token (generated in Trilium Settings > Options > ETAPI).Simply run gemini inside the project directory. The CLI will automatically discover the MCP server, Agent, and Skill defined in the .gemini/ folder.
The agent can handle multi-step tasks like finding a note and moving it:
@trilium-assistant move my 'Drafts' note into the 'Projects' folder.
Perform surgical actions directly:
mcp_trilium-mcp_create_note title="Meeting Notes" parentNoteId="root" content="Hello World"
Get expert advice on how to structure your notes:
activate_skill trilium-notes
server.py: The MCP server implementation..gemini/settings.json: Configuration for the Gemini CLI to load the server..gemini/agents/trilium-assistant.md: The autonomous agent definition..gemini/skills/trilium-notes/: Specialized knowledge for Trilium workflows.This project uses a .gitignore to ensure your .env file is never pushed to GitHub. Never share your .env file or ETAPI token.
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"trilium-mcp-server": {
"command": "npx",
"args": []
}
}
}