Skip to main content
Glama

TriliumNext Notes' MCP Server

TriliumNext NotesのMCPサーバー

⚠️免責事項:これはhttps://github.com/TriliumNext/Notes/issues/705のプロトタイプです。開発者向けとしてのみご使用ください。このツールを使用する前に、Trilium ノートをバックアップしてください。⚠️

TriliumNext Notes用のモデルコンテキストプロトコルサーバー。このサーバーは、MCPを介してTrilium Notesインスタンスと対話するためのツールを提供します。

アップデート: TriliumNext v0.92.6 の最新バージョンをサポート

注: Claude Desktop の代わりに、VSCode の Cline 拡張機能を使用することをお勧めします。

クイックスタート

まず環境変数を設定してください:

インストール

1. Claude Desktop と併用する

Claude Desktop 構成ファイルにサーバー構成を追加します。

Claude 構成ファイルのmcpServersオブジェクトに次の構成を追加します。

開発用(Windows / Linux)
cd /path/to/triliumnext-mcp npm run build
"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>" } }
ローカルインストールの場合(Linuxの場合)
"triliumnext-mcp": { "command": "npx", "args": [ "-y", "triliumnext-mcp" ], "env": { "TRILIUM_API_URL": "http://localhost:8080/etapi", "TRILIUM_API_TOKEN": "<YOUR_TRILIUM_API_TOKEN>" } }
ローカルインストールの場合(Windowsの場合)
"triliumnext-mcp": { "command": "cmd", "args": [ "/k", "npx", "-y", "triliumnext-mcp" ], "env": { "TRILIUM_API_URL": "http://localhost:8080/etapi", "TRILIUM_API_TOKEN": "<YOUR_TRILIUM_API_TOKEN>" } }

設定ファイルの場所:

  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • MacOS: ~/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

発達

サーバーに貢献したり変更したりしたい場合は:

# Clone the repository 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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

TriliumNext Notes との対話を可能にし、自然言語コマンドを使用してノートを作成、検索、取得、更新、削除するためのツールを提供するモデル コンテキスト プロトコル サーバー。

  1. クイックスタート
    1. インストール
      1. Claude Desktop と併用する
    2. 利用可能なツール
      1. 発達

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server implementation that provides a standardized interface for interacting with Spiral's language models, offering tools to generate text from prompts, files, or web URLs.
          Last updated -
          14
          Python
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.
          Last updated -
          9
          3
          TypeScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables integration with the TESS API, allowing users to list and manage agents, execute agents with custom messages, and manage files through natural language interfaces.
          Last updated -
          TypeScript
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables Claude to interact with your Todoist account, allowing you to manage tasks, projects, and labels through natural language.
          Last updated -
          1
          Python

        View all related MCP servers

        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