PT

perfectra1n/triliumnext-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

71 stars 10 forks 품질 73 트렌드 20

perfectra1n/triliumnext-mcp는 MCP 서버 후보가 https://github.com/perfectra1n/triliumnext-mcp.에서 수입되었습니다

개요

perfectra1n/triliumnext-mcp는 MCP 서버 후보가 https://github.com/perfectra1n/triliumnext-mcp.에서 수입되었습니다

개요(AI 번역)

ETAPI를 통해 TriliumNext와 상호 작용하는 모델 Context Protocol (MCP) 서버. LLMs를 사용해서, 읽기, 업데이트, 메모를 구성할 수 있습니다.

내용

  • 특징
  • 설치
  • 구성 - CLI, env vars, 구성 파일
  • 로깅 - 기록 된 것, 어디, 그것을 조정하는 방법
  • 미터 - Prometheus /metrics 엔드포인트, auth 모드, 노출 시리즈
  • 사용 가능한 도구
  • 이미지 및 파일 Embedding
  • Multi-tenant HTTP 배포 - 많은 사용자를위한 하나의 서버를 실행
  • 건축
  • 빠른 시작 (Docker) / (현지)
  • HTTP endpoints · 오류 응답 · 요청 신체 크기 제한
  • 클라이언트 연결 — Claude Desktop, Claude Code, SDK
  • JWT / OIDC 게이트웨이 오스 · CORS · 비율 제한
  • StreamableHTTP 전송 - 새로운 MCP 운송과 함께 /sse
  • Per-tenant 감사 + 미터
  • SSRF 구성 · 반전 프록시
  • 보안 모델 · 문제 해결
  • MCP Inspector와 디버깅
  • 개발 - 빌드, 테스트, 도커
  • ETAPI 토큰 받기

특징

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

TriliumNext MCP Server

A Model Context Protocol (MCP) server for interacting with TriliumNext via its ETAPI. Enables LLMs to create, read, update, and organize notes — including embedding images and files directly into note content.

Contents

Features

  • 20 tools across 8 categories for full note management, search, organization, attachments, revisions, and system operations (consolidated from 35 in v1 — see Migrating from v1)
  • Server-built note links — write `` or [text](note:abc123) and the server emits a proper Trilium reference link (path, class, data-note-path), rejecting links to notes that don’t exist
  • Note context on demand — get_note can return tree breadcrumbs (include_path) and backlinks (include_backlinks); search_notes can attach plain-text content previews (content_preview_chars)
  • Revision restore — restore_revision rolls a note back, snapshotting the current state first so the restore is reversible
  • Resilient ETAPI client — per-request timeouts, automatic retry of idempotent requests on network errors and 502/503/504, and clear TRILIUM_UNREACHABLE / TRILIUM_TIMEOUT errors
  • MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint, title) on every tool for better approval-dialog UX in clients that surface them
GitHub에서 전체 README 보기

설치

npx -y mcp-remote https://mcp.example.com/sse --header Authorization: Bearer YOUR_GATEWAY_TOKEN --header X-Trilium-Url: https://notes.example.com --header X-Trilium-Token: YOUR_ETAPI_TOKEN
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "trilium": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.example.com/sse", "--header", "Authorization: Bearer YOUR_GATEWAY_TOKEN", "--header", "X-Trilium-Url: https://notes.example.com", "--header", "X-Trilium-Token: YOUR_ETAPI_TOKEN" ] } } }