Skip to main content
Glama

TriliumNext Notes' MCP Server

future-plan.md3.01 kB
# Future Development Plan for TriliumNext MCP This document outlines planned features and enhancements for the TriliumNext MCP server. ## High Priority Features ### 1. File and Image Note Creation System **Status**: ⏸️ **TEMPORARILY DISABLED** - Removed due to API implementation challenges with PDF corruption and attachment handling **Background**: File and image note creation features were previously implemented but caused persistent errors due to incorrect Trilium ETAPI attachment handling. The system has been temporarily disabled to focus on stable text and code note creation. **Current State**: - **Removed**: File/image creation logic from `contentProcessor.ts` and `noteManager.ts` - **Disabled**: URL content retrieval system (`urlContentRetriever.ts` removed) - **Limited**: Only text and code note creation currently supported - **Searchable**: File and image notes can still be searched and accessed if created directly in TriliumNext **Future Implementation Requirements**: - **Correct Attachment Process**: Research and implement proper Trilium ETAPI attachment creation - **Binary File Handling**: Ensure proper base64 encoding and file preservation - **URL Content Retrieval**: Rebuild secure and efficient URL downloading system - **MIME Type Detection**: Robust file type identification and validation - **Size Limits**: Configurable file size restrictions with proper error handling - **Security**: File validation, virus scanning, and secure temporary file handling ### 2. Response Formatter for Standardized Output Formats **Status**: Proposed enhancement for consistent response formatting across all tools **Proposed Implementation**: - **Format Parameter**: Add optional `format` parameter to all MCP tools - **Multiple Formats**: Support JSON, Markdown, CSV, and structured text outputs - **Consistent Structure**: Standardized response format across all tools - **Custom Formatting**: User-defined formatting templates and options ### 3. Intent Resolution Function for Semantic Routing **Status**: Proposed enhancement for intelligent tool selection and parameter routing **Proposed Implementation**: - **Natural Language Analysis**: Parse user requests to determine intent - **Tool Selection**: Automatically select appropriate tool based on request analysis - **Parameter Mapping**: Transform user input into tool-specific parameters - **Context Awareness**: Maintain conversation context for multi-step workflows ### 4. Offset Parameters for search_notes Function **Status**: Proposed enhancement for paginated search results **Proposed Implementation**: - **Offset Parameter**: Add `offset` parameter to `search_notes` function - **Pagination Support**: Enable browsing through large result sets - **Combined with Limit**: Work with existing `limit` parameter for complete pagination - **Performance Optimization**: Efficient handling of large search result sets --- *This plan is subject to change based on user feedback and technical constraints.*

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tan-yong-sheng/triliumnext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server