TY

tan-yong-sheng/triliumnext-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

69 stars 8 forks 品質 66 トレンド 0

tan-yong-sheng/triliumnext-mcpは[https://github.com/tan-yong-sheng/triliumnext-mcp.からインポートされたMCPサーバー候補です

概要

tan-yong-sheng/triliumnext-mcpは[https://github.com/tan-yong-sheng/triliumnext-mcp.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

[https://github.com/TriliumNext/Notes/issues/705.のプロトタイプです。 開発者が利用するだけを提案する。 このツールを使用する前に、Triliumのメモをバックアップしてください。**

TriliumNext Note用のモデルコンテキストプロトコルサーバ。 このサーバーは、MCP を介して Trilium Note インスタンスとやり取りするツールを提供します。 このMCPをtriliumnext-skillsで使用できます。

また、triliumインスタンスをクラウドフレアR2、AWS S3、Googleドライブなどの複数のクラウドストレージプロバイダにバックアップしたい場合は、以下を参照してください。 [https://github.com/tan-yong-sheng/trilium-backup]

提案する代替手段:

  • パーフェクト1n/triliumnext-mcp
  • パーフェクト1n/triliumnext-cli

クイックスタート

環境変数を最初に設定するようにしてください。

  • [TRILIUM_API_URL] (デフォルト: http://localhost:8080/etapi)])
  • [[TRILIUM_API_TOKEN] (必須、トリリウムノート設定からこれを取得)
  • [[PERMISSIONS](オプション、デフォルト=‘READ;WRITE’、READがsearch_notes]、[get_note]、 [resolve_note_id]、および [read_attributes]、および [[create_note]]、 [[update_note]]])へのアクセスを許可する、および [[[manage_attributes]])

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

TriliumNext Notes’ MCP Server

⚠️ DISCLAIMER: This is a prototype for https://github.com/TriliumNext/Notes/issues/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. You can use this MCP with triliumnext-skills.

Also, if you would like to back up your trilium instances to multiple cloud storage providers such as cloudflare R2, AWS S3 and google drive simultaneously, please visit: https://github.com/tan-yong-sheng/trilium-backup

Alternatives to suggest:

Quick Start

Make sure to set up your environment variables first:

  • TRILIUM_API_URL (default: http://localhost:8080/etapi)
  • TRILIUM_API_TOKEN (required, get this from your Trilium Notes settings)
  • PERMISSIONS (optional, default=‘READ;WRITE’, where READ grants access to search_notes, get_note, resolve_note_id, and read_attributes, and WRITE grants access to create_note, update_note, delete_note, and manage_attributes)
  • VERBOSE (optional, default=‘false’, which if true will print verbose debugging logs)

Installation

Below are the installation guide for this MCP on different MCP clients, such as Claude Desktop, Claude Code, Cursor, Cline, etc.

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.

{
  "mcpServers": {
    "triliumnext-mcp": {
      "command": "npx",
      "args": ["triliumnext-mcp"],
      "env": {
GitHub で README 全文を見る

インストール

npx triliumnext-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "triliumnext-mcp": { "command": "npx", "args": ["triliumnext-mcp"], "env": { "TRILIUM_API_URL": "http://localhost:8080/etapi", "TRILIUM_API_TOKEN": "<YOUR_TRILIUM_API_TOKEN>", "PERMISSIONS": "READ;WRITE" } } } }