Logo von Triliumnext MCP

Triliumnext MCP

Community
perfectra1n

An MCP server for interacting with a Trilium instance

Herausgeberperfectra1n
Repositorytriliumnext-mcp
SpracheTypeScript
Forks
9
Sterne
70
Verfügbare Tools
0
Transporttypstdio
Links
  • Tools mit KI-Workflows verbinden

    Triliumnext MCP stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 0 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    70 Sterne und 9 Forks im verlinkten Repository.

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

  • 19 tools across 8 categories for full note management, search, organization, attachments, revisions, and system operations (consolidated from 35 in v1 — see Migrating from v1)
  • MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint, title) on every tool for better approval-dialog UX in clients that surface them
  • Inline image and file embedding — attach images and files when creating or updating notes in a single tool call
  • Data URL support — pass image/file data as raw base64 or data: URLs
  • Four content modes on write_note — metadata, replace, append, and edit (search/replace or unified diff)
  • Markdown support — write in markdown, stored as HTML automatically
  • Image-aware content retrieval — get_note returns embedded images as MCP image blocks alongside the note body
  • Support for STDIO, HTTP/SSE, and StreamableHTTP transports, including multi-tenant mode where each client brings its own Trilium URL + ETAPI token
  • Pluggable gateway auth — none, shared-secret bearer, or JWT/OIDC (HS256 secrets + JWKS for RS256/ES256/EdDSA)
  • CORS for browser-based MCP clients, in-process rate limiting per IP + per gateway token, and Prometheus metrics with optional per-principal labels
  • Flexible configuration via CLI, environment variables, or config file
  • TypeScript with full type safety

Installation

bash
git clone https://github.com/perfectra1n/triliumnext-mcp
cd triliumnext-mcp
npm install
npm run build

Adding to Claude Code

bash
claude mcp add trilium node /path/to/triliumnext-mcp/dist/index.js \
  --scope user \
  -e TRILIUM_TOKEN=<your_etapi_token> \
  -e TRILIUM_URL=<your_trilium_url_e.g._https://trilium.example.com/etapi>

This adds the server at user scope (available across all repositories) in your ~/.claude.json.

Configuration

Configuration precedence (highest to lowest):

  1. CLI arguments
  2. Environment variables
  3. Configuration file (./trilium-mcp.json or ~/.trilium-mcp.json)
  4. Default values

CLI Arguments

bash
npm install -g .
triliumnext-mcp --url http://localhost:37740/etapi --token YOUR_TOKEN

Options:

  • -u, --url <url> — Trilium ETAPI URL (default: http://localhost:37740/etapi)
  • -t, --token <token> — Trilium ETAPI token (required in single-tenant mode)
  • --public-url <url> — user-facing Trilium web URL used for the clickable note links returned to the user. Defaults to --url with /etapi stripped. Set this only when the MCP server reaches Trilium at a different address than the user's browser does (e.g. an internal ETAPI host behind a public reverse-proxy domain).
  • --transport <type> — Transport type: stdio or http (default: stdio)
  • -p, --port <port> — HTTP server port when using http transport (default: 3000)
  • --max-post-bytes <size> — max size of a single MCP JSON-RPC POST body on the SSE transport. Accepts raw bytes or suffixed values like 500mb / 1gb (default: 500mb). See Request body size limits.
  • -h, --help — Show help message

Content input options (see Providing file content):

  • --allow-local-file-read / --no-local-file-read — permit tool inputs that name local file paths (default: on for stdio, off for --transport http)
  • --local-file-roots <dirs> — comma-separated directories content may be read from (default: unrestricted when reads are allowed)
  • --content-url-allowlist <hosts> — comma-separated hostnames permitted for http(s) content fetches (default: any public host)
  • --max-content-fetch-bytes <size> — max content file read / URL download size (default: 50mb)

Multi-tenant HTTP options (see Multi-tenant HTTP deployment below):

  • --multi-tenant — each SSE client supplies its own Trilium URL + token
  • --gateway-auth <mode> — none or bearer (default: bearer when multi-tenant)
  • --gateway-token <token> — accepted bearer token (repeatable)
  • --trilium-url-allowlist <hosts> — comma-separated allowed hostnames for client URLs
  • --allow-private-urls — skip the private/loopback IP SSRF block

Environment Variables

bash
export TRILIUM_URL=http://localhost:37740/etapi
export TRILIUM_TOKEN=your-etapi-token
export TRILIUM_PUBLIC_URL=https://trilium.example.com  # optional; web URL for note links (defaults to TRILIUM_URL without /etapi)
export TRILIUM_TRANSPORT=stdio
export TRILIUM_HTTP_PORT=3000
export TRILIUM_MAX_POST_BYTES=500mb  # SSE POST body cap; see "Request body size limits"

# Content input (file paths / URLs in attachment and image tool inputs):
export TRILIUM_ALLOW_LOCAL_FILE_READ=true   # default: true for stdio, false for http
export TRILIUM_LOCAL_FILE_ROOTS=/srv/uploads
export TRILIUM_CONTENT_URL_ALLOWLIST=example.com
export TRILIUM_MAX_CONTENT_FETCH_BYTES=50mb

# Multi-tenant (see section below):
export TRILIUM_MULTI_TENANT=true
export TRILIUM_GATEWAY_AUTH=bearer
export TRILIUM_GATEWAY_TOKENS=tok1,tok2
export TRILIUM_URL_ALLOWLIST=notes.example.com,trilium.internal
export TRILIUM_ALLOW_PRIVATE_URLS=false

Config File

Create trilium-mcp.json in the current directory or ~/.trilium-mcp.json:

json
{
  "url": "http://localhost:37740/etapi",
  "token": "your-etapi-token",
  "transport": "stdio",
  "httpPort": 3000
}

For multi-tenant HTTP deployments, the same precedence applies (CLI > env > file > default). Multi-tenant keys:

json
{
  "transport": "http",
  "httpPort": 3000,
  "multiTenant": true,
  "gatewayAuth": "bearer",
  "gatewayTokens": ["pick-a-long-random-token"],
  "urlAllowlist": ["notes.example.com", "trilium.internal"],
  "allowPrivateUrls": false
}

Logging

The server emits one line per significant event — server startup, MCP tools/list, every tools/call (with timing and outcome), and every HTTP request when running over SSE. By default logs are human-readable text; flip to JSON for log shippers.

Where logs go

The output stream is chosen by transport, so logs never collide with the MCP wire protocol:

TransportLog streamWhy
stdiostderrstdout is reserved by MCP for JSON-RPC frames — writing anything else there breaks clients.
httpstdoutThe MCP protocol travels over HTTP, so stdout is free for logs. Easy to pipe into jq / a log shipper / docker logs.

Claude Desktop and Claude Code surface stdio servers' stderr in their MCP logs panel, so you'll see these events there with no extra setup.

Tuning

Two env vars (defaults shown):

VarValuesDefaultEffect
LOG_LEVELsilent | error | warn | info | debuginfoinfo emits one line per tool call with timing and outcome. debug adds per-call argument summaries (with secrets and content blobs scrubbed). silent disables logging entirely.
LOG_FORMATtext | jsontexttext is <ISO-ts> LEVEL event k=v k=v lines. json is one JSON object per line.

Example output

info level, text format (the default):

2026-05-12T18:16:21.098Z INFO  server_started transport=stdio
2026-05-12T18:16:33.937Z INFO  http_request method=GET path=/health status=200 duration_ms=2 remote=::1
2026-05-12T18:16:40.512Z INFO  sse_connected session=2f1c... host=notes.example.com
2026-05-12T18:16:40.871Z INFO  list_tools session=2f1c... count=19
2026-05-12T18:16:41.044Z INFO  tool_call session=2f1c... tool=search_notes duration_ms=42 ok=true
2026-05-12T18:16:42.110Z INFO  tool_call session=2f1c... tool=get_note duration_ms=11 ok=false error=trilium status=404 code=NOT_FOUND
2026-05-12T18:16:55.802Z INFO  sse_closed session=2f1c...

LOG_FORMAT=json:

json
{"ts":"2026-05-12T18:16:41.044Z","level":"info","event":"tool_call","session":"2f1c...","tool":"search_notes","duration_ms":42,"ok":true}

The session field is identical across sse_connected, every tool_call on that connection, and sse_closed, so you can correlate tool activity to its SSE session and (in multi-tenant mode) to its Trilium host.

Event reference

EventLevelFieldsWhen
server_startedinfotransport, port?, mode?, gateway_auth?After the listener is up (or stdio is connected).
startup_failederrorerrServer failed to start.
list_toolsinfosession, countClient called tools/list.
tool_callinfosession, tool, duration_ms, ok, error?, code?, status?One per tools/call. error is one of trilium | zod | diff | unknown_tool | unknown.
tool_call_argsdebugsession, tool, argsPer call, before dispatch. args is shallow + redacted (secrets stripped, content blobs replaced with <string len=N>, scalars truncated at 64 chars).
http_requestinfomethod, path, status, duration_ms, remoteOne per HTTP request to the SSE gateway. Path is pre-? to avoid logging query-string secrets.
sse_connectedinfosession, hostNew SSE connection accepted. host is the Trilium hostname (never the full URL or token).
sse_closedinfosessionSSE connection closed by either side.
sse_postdebugsession, bytesPer POST /message, after body read.
sse_connect_failederrorsession, errserver.connect(transport) threw.
unauthorizedwarnremoteGateway bearer check failed.
missing_trilium_credentialswarnremoteMulti-tenant connect without X-Trilium-Url+X-Trilium-Token.
url_rejectedwarnreasonSSRF guard rejected the client URL.
trilium_auth_failedwarnhost, status, codeTrilium returned 401/403 to the connect-time probe.
trilium_validate_timeoutwarnhostProbe exceeded 10 s.
trilium_unreachablewarnhost, errTrilium probe failed for any other reason.
allow_private_urls_enabledwarn(none)Operator started multi-tenant mode with --allow-private-urls.
request_handler_errorerrormethod, path, errUnhandled error in the HTTP handler chain.

Event names match the JSON error strings returned to the HTTP client where applicable, so a grep for a failure mode finds both the log line and the response.

What's never logged

  • ETAPI tokens, gateway bearer tokens, or any value of a field matching /token|password|secret|authorization|api[_-]?key/i
  • Note bodies, attachment bytes, search results, or any field named content, text, body, data, attachment, blob, html, markdown — replaced with <string len=N> / <array len=N> / <object> shape descriptors at debug, omitted entirely at info
  • Full Trilium URLs (which can theoretically embed credentials) — only the hostname is logged

Quick recipes

Silence the server (e.g. when invoking under a noisy test harness):

bash
LOG_LEVEL=silent triliumnext-mcp --token "$TRILIUM_TOKEN"

Tee structured logs into a file while still seeing them in the terminal:

bash
LOG_FORMAT=json triliumnext-mcp --transport http --token "$TRILIUM_TOKEN" \
  | tee >(jq -c . > /var/log/triliumnext-mcp.jsonl)

Find every failing tool call from the last run:

bash
LOG_FORMAT=json triliumnext-mcp --transport http --token "$TRILIUM_TOKEN" \
  | jq -c 'select(.event=="tool_call" and .ok==false)'

Watch one tenant's activity in a multi-tenant deployment (correlate by SSE session id):

bash
docker logs -f triliumnext-mcp | grep "session=2f1c"

Metrics

The server can expose a Prometheus-compatible GET /metrics endpoint on the SSE gateway. Off by default, opt in with --metrics or TRILIUM_METRICS=true. HTTP transport only — stdio mode has no listener, and the flag is ignored there with a warning.

Enabling

bash
# Reuse the gateway bearer (default; same token that protects /sse)
node dist/index.js \
  --transport http \
  --multi-tenant \
  --gateway-token "$GATEWAY_TOKEN" \
  --metrics

Same thing via env:

bash
TRILIUM_TRANSPORT=http \
TRILIUM_MULTI_TENANT=true \
TRILIUM_GATEWAY_TOKENS=$GATEWAY_TOKEN \
TRILIUM_METRICS=true \
  node dist/index.js

Auth modes

Selected with --metrics-auth <mode> or TRILIUM_METRICS_AUTH. Default is gateway.

ModeWhat it doesWhen to use
gateway (default)Scrapers must present the same Authorization: Bearer <token> accepted by /sse. Zero new config.Common case. Prometheus uses the same secret as your MCP clients.
bearerScrapers must present a token from a separate list, supplied via --metrics-token <tok> (repeatable) or TRILIUM_METRICS_TOKENS=t1,t2. Gateway tokens are not accepted.When you want Prometheus to have its own credential you can rotate independently of MCP client tokens.
noneEndpoint is open. No Authorization required.The endpoint is firewalled or sits on a private network where you trust everything that can reach it.

If you ask for --metrics-auth gateway but --gateway-auth=none, there's no bearer to reuse — the server falls back to --metrics-auth=none and prints a startup warning so the behavior is explicit. If you set --metrics-auth bearer without providing any --metrics-token, startup fails fast.

Deploying with Docker / Compose

Add to docker-compose.multi-tenant.yml (already templated as commented-out entries in that file):

yaml
services:
  mcp-server:
    environment:
      - TRILIUM_METRICS=true
      # Default: reuse the gateway bearer. No new config needed.
      - TRILIUM_METRICS_AUTH=gateway
      # Or, give Prometheus its own rotatable credential:
      # - TRILIUM_METRICS_AUTH=bearer
      # - TRILIUM_METRICS_TOKENS=${PROMETHEUS_SCRAPE_TOKEN}

In Kubernetes, the equivalent is two env vars (TRILIUM_METRICS=true and TRILIUM_METRICS_AUTH) on the Deployment plus a ServiceMonitor with bearerTokenSecret pointing at the token Secret.

Reverse-proxy hardening

/metrics is served on the same listener and port as /sse (port 3000 by default). If you don't want public scrapers hammering the auth check, gate /metrics at the reverse proxy and only let your monitoring network through.

Caddy:

mcp.example.com {
    @metrics path /metrics
    handle @metrics {
        # only Prometheus can even reach /metrics; everyone else gets 404
        @allowed remote_ip 10.0.0.0/8 192.168.0.0/16
        handle @allowed {
            reverse_proxy 127.0.0.1:3000
        }
        respond 404
    }
    handle {
        reverse_proxy 127.0.0.1:3000 {
            flush_interval -1
        }
    }
}

nginx:

nginx
location = /metrics {
    allow 10.0.0.0/8;
    allow 192.168.0.0/16;
    deny all;
    proxy_pass http://127.0.0.1:3000;
}

This is defense-in-depth on top of the bearer auth — useful because metrics endpoints are routinely scanned by attackers, and a misconfigured --metrics-auth=none would otherwise leak operational data to anyone who finds the URL.

Sample Prometheus scrape config

yaml
scrape_configs:
  - job_name: triliumnext-mcp
    scheme: https
    static_configs:
      - targets: ['mcp.example.com']
    metrics_path: /metrics
    authorization:
      type: Bearer
      credentials: 'YOUR_GATEWAY_OR_METRICS_TOKEN'

Exposed series

All series are namespaced triliumnext_mcp_*. Histogram buckets are in seconds.

SeriesTypeLabelsNotes
triliumnext_mcp_build_infogaugeversionAlways 1. Use for join-on-version queries.
triliumnext_mcp_http_requests_totalcountermethod, path, statuspath is normalized to /health | /sse | /message | /metrics | unknown to keep cardinality bounded.
triliumnext_mcp_http_request_duration_secondshistogrammethod, pathBuckets: 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10.
triliumnext_mcp_tool_calls_totalcountertool, ok, errorerror is none on success, otherwise one of trilium, zod, diff, unknown_tool, unknown.
triliumnext_mcp_tool_call_duration_secondshistogramtoolBuckets: 0.01, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, 30, 60.
triliumnext_mcp_sse_sessionsgauge—Current open SSE sessions.
triliumnext_mcp_sse_connects_totalcounter—Successful SSE handshakes.
triliumnext_mcp_sse_closes_totalcounter—SSE sessions closed by either side.
triliumnext_mcp_sse_connect_failures_totalcounterreasonreason ∈ unauthorized | missing_trilium_credentials | url_rejected | trilium_auth_failed | trilium_validate_timeout | trilium_unreachable | sse_connect_failed | server_misconfigured.
triliumnext_mcp_process_uptime_secondsgauge—Synced from process.uptime() at scrape time.
triliumnext_mcp_process_resident_memory_bytesgauge—Synced from process.memoryUsage().rss at scrape time.

Cardinality and what's intentionally NOT a label

  • No session label. SSE session ids are unbounded and per-connection. Use logs (which carry session=…) for per-session investigation; use metrics for fleet-level rollups.
  • No tenant / Trilium-host label. Same reason — and avoids putting tenant identifiers into a scrape surface that may have different access controls than the logs.
  • No raw path for unknown routes. Random scanners / typo'd URLs collapse to unknown, so a probe storm can't blow up cardinality.

Useful PromQL

Tool error rate per tool:

promql
sum by (tool) (rate(triliumnext_mcp_tool_calls_total{ok="false"}[5m]))
  /
sum by (tool) (rate(triliumnext_mcp_tool_calls_total[5m]))

p95 tool-call latency:

promql
histogram_quantile(
  0.95,
  sum by (tool, le) (rate(triliumnext_mcp_tool_call_duration_seconds_bucket[5m]))
)

SSE connect failures by reason:

promql
sum by (reason) (rate(triliumnext_mcp_sse_connect_failures_total[5m]))

Available Tools

The server exposes 19 tools, down from 35 in v1. The trim (see issue #6) improves reliability on clients that pre-load only a subset of a server's tools (claude.ai web, Cursor's 40-tool cap), and consolidates near-duplicate operations behind a mode or action discriminator. Destructive verbs (delete_*) stay as their own tools by design. See Migrating from v1 below for the old→new mapping.

Notes (5 tools)

The note-mutating tools (create_note, write_note, organize_note move/clone, and create_revision) include a url field in their response that links straight to the note in the Trilium web UI (e.g. http://localhost:37740/#root/<path>/<noteId>), so the assistant can hand the user a clickable link when it's done. The link base is derived from --url/TRILIUM_URL (with /etapi stripped) unless overridden via --public-url/TRILIUM_PUBLIC_URL.

ToolDescription
get_noteRead a note. Returns a metadata block (with a contentInfo size summary), the body, and embedded images by default; bodies over 50k chars are truncated with paging via content_start/content_max_chars. Pass include_content=false for metadata-only reads (e.g. tree navigation).
get_note_historyGet recent changes (creations, modifications, deletions) across the tree, with optional subtree filtering.
create_noteCreate a note with title, content, type, and parent. Supports inline image/file embedding.
write_noteWrite to a note via mode: "metadata" (title/type/mime), "replace" (overwrite content), "append" (concatenate), "edit" (search/replace or unified diff). Supports inline image/file embedding in replace/append modes.
delete_noteDelete or restore a note via required action: "delete" or "undelete".

Search & Discovery (2 tools)

ToolDescription
search_notesFull-text and attribute search with filters, subtree scoping (ancestorNoteId + ancestorDepth), ordering, limits, and query-parse diagnostics (debug). Plain-fulltext queries that return zero results are automatically retried as a relevance-ranked OR over the individual terms — see Graceful fuzzy fallback below.
get_note_treeExplore the hierarchy: children expanded depth levels (1-5) with titles, types, child counts, and branch IDs.

Graceful fuzzy fallback

Trilium ANDs fulltext terms, so 体积云 Niagara 教程 returns nothing if any single term is wrong — and zero results tell the caller nothing about which term was the bad one. search_notes therefore retries such queries automatically.

fuzzy controls this:

ValueBehavior
auto (default)Run the query as written. If it returns zero results and the query is eligible, retry it as an OR over the individual terms, ranked by relevance.
offNever retry. Strict Trilium semantics, byte-identical to the pre-fallback response.
forceSkip the exact attempt and go straight to the ranked OR search.

A query is eligible only if it is plain fulltext with two or more terms. Attribute filters (#project), property expressions (note.title *=* x), id:/title: prefixes, and queries that already contain or are never retried — OR-expanding them would change what was asked, not widen it. Terms are capped at 8, since each becomes an unindexed substring scan.

When the fallback fires, the response gains sibling fields alongside the usual results (the note objects themselves are never modified):

jsonc
{
  "results": [ /* ...unmodified notes, most relevant first... */ ],
  "searchMode": "fuzzy",
  "fuzzyTerms": ["体积云", "Niagara", "教程"],
  "totalCandidates": 12,
  "termsMatchedInTitleOrAttributes": { "体积云": 12, "Niagara": 0, "教程": 9 },
  "note": "..."
}

termsMatchedInTitleOrAttributes is the "which term was wrong?" signal — a 0 means that term appeared in no returned note's title or attributes, so it is the one to drop and re-query without.

Ranking is title- and attribute-only. Trilium's ETAPI search response carries no note content, so scoring content would cost one extra HTTP request per candidate. A note that matched only in its body is therefore still returned — never filtered out — but scores zero and ranks last. Check totalCandidates against results.length to see whether you are looking at a truncated view. If orderBy is set it is honored: the OR query still widens recall, but results keep your ordering rather than being re-ranked.

Organization (1 tool)

ToolDescription
organize_noteReorganize the note tree via action: "move" (new parent), "clone" (appear under multiple parents), "reorder" (change positions), "unlink" (remove a branch — cascades to note deletion if it's the last branch).

Attributes & Labels (3 tools)

ToolDescription
get_attributesGet all attributes of a note (pass noteId) or a single attribute by ID (pass attributeId).
set_attributeUpsert an attribute on a note (default), or mode="add" to always create — enabling multiple same-name labels.
delete_attributeRemove an attribute by ID.

Calendar & Journal (1 tool)

ToolDescription
get_special_noteGet a periodic or inbox note via kind: "day", "week", "month", "year", or "inbox" (optional date in the kind's format, defaults to the current period).

Attachments (4 tools)

ToolDescription
get_attachmentRead an attachment (pass attachmentId) or list a note's attachments (pass noteId). With attachmentId, the body is returned by default — images come back as MCP image blocks. Pass include_content=false when you only need metadata (e.g. checking size before pulling a large binary).
create_attachmentCreate a new attachment (image or file) for a note. Binary content as base64 or a data URL.
write_attachmentWrite to an attachment via mode: "metadata", "replace", or "edit".
delete_attachmentDelete an attachment.

Revisions (1 tool)

ToolDescription
get_revisionsGet note revisions. Pass noteId to list all revisions of a note; pass revisionId for a single revision with its HTML content (pass include_content=false for metadata-only).

System (2 tools)

ToolDescription
create_revisionCreate a revision snapshot of a note.
manage_systemSystem ops via action: "backup" (create a DB backup by backupName), "export" (export a note subtree as ZIP, returned base64-encoded), "import" (import a base64 ZIP under a parent note), or "app_info" (Trilium version/diagnostics).

Migrating from v1

The tool surface was consolidated in a breaking release. The mapping from the old 35-tool surface to the current 19-tool surface:

v1 toolv2 equivalent
create_notecreate_note (unchanged)
get_noteget_note with include_content=false
get_note_contentget_note (default include_content=true returns the body)
update_notewrite_note with mode="metadata"
update_note_contentwrite_note with mode="replace" (or mode="edit" for search/replace and diff)
append_note_contentwrite_note with mode="append" (or mode="edit" for search/replace and diff)
delete_notedelete_note with action="delete" (required, no default)
undelete_notedelete_note with action="undelete"
get_note_attachmentsget_attachment with noteId (list form)
get_note_historyget_note_history (unchanged)
search_notessearch_notes (unchanged; gained an optional fuzzy fallback)
get_note_treeget_note_tree (unchanged)
move_noteorganize_note with action="move"
clone_noteorganize_note with action="clone"
reorder_notesorganize_note with action="reorder"
delete_branchorganize_note with action="unlink"
get_attributesget_attributes with noteId
get_attributeget_attributes with attributeId
set_attributeset_attribute (unchanged)
delete_attributedelete_attribute (unchanged)
get_day_noteget_special_note with kind="day"
get_inbox_noteget_special_note with kind="inbox"
create_attachmentcreate_attachment (unchanged)
get_attachmentget_attachment with include_content=false
get_attachment_contentget_attachment (default include_content=true returns the body)
update_attachmentwrite_attachment with mode="metadata"
update_attachment_contentwrite_attachment with mode="replace" or mode="edit"
delete_attachmentdelete_attachment (unchanged)
get_note_revisionsget_revisions with noteId
get_revisionget_revisions with revisionId and include_content=false
get_revision_contentget_revisions with revisionId (default include_content=true returns the HTML body)
create_revisioncreate_revision (unchanged)
create_backupmanage_system with action="backup"
export_notemanage_system with action="export"
search_toolsdropped (with 19 tools, client-side discovery is no longer needed)

Embedding Images and Files

When creating or updating notes, you can embed images and files directly in a single tool call using the images and files parameters.

Providing file content (paths, URLs, base64)

Every content-carrying input — create_attachment.content, write_attachment replace content, the data field of images[]/files[] entries, and binary note content — accepts any of these forms, auto-detected:

FormExampleNotes
Local file path/tmp/screenshots/from-disk.png, ~/docs/report.pdfThe big win: the model never re-encodes bytes it already has on disk. Stdio transport only by default.
file:// pathfile:///tmp/shot.pngForces path interpretation (no fallthrough).
http(s) URLhttps://example.com/logo.pngThe server fetches it (SSRF-guarded, 50 MB cap).
Data URLdata:image/png;base64,iVBORw0KGgo...Its MIME type wins over everything.
Inline base64 / raw textiVBORw0KGgo... / plain notes hereToday's behavior, unchanged.

mime, filename, and create_attachment.title are now optional: the MIME type is resolved from the data-URL header, then an explicit mime, then magic-byte sniffing, then the file extension; a path/URL basename becomes the default filename/title. The simplest possible calls:

json
{ "tool": "create_attachment", "arguments": { "ownerId": "abc123", "role": "image", "content": "/tmp/screenshots/from-disk.png" } }
json
{ "tool": "create_note", "arguments": { "parentNoteId": "root", "title": "Image From Disk", "type": "text", "content": "<p>Look:</p><img src=\"image:0\">", "images": [{ "data": "/tmp/screenshots/from-disk.png" }] } }
json
{ "files": [{ "data": "/tmp/exports/stats.csv" }] }

(These shapes are exercised verbatim by tests/integration/etapi.test.ts › "Content input normalization".)

Detection is verification-gated, so existing inline content can never be misread: a string only counts as a path when it is ≤ 1024 characters and names an existing regular file (JPEG base64 starts with /9j/ but never survives both checks), and prose is never silently decoded as base64 — an undetectable inline input with no mime returns an actionable error instead of a guess.

Security knobs (see CLI Arguments):

  • Local path reads are enabled for stdio (the server runs on your own machine) and disabled for --transport http, where a path would read the server's filesystem on behalf of a remote client. Override with --allow-local-file-read / --no-local-file-read, and optionally sandbox with --local-file-roots /srv/uploads.
  • URL fetches pass the same SSRF guard as multi-tenant Trilium URLs (private/loopback/metadata IPs blocked unless --allow-private-urls), re-checked on every redirect hop, with a --max-content-fetch-bytes cap (default 50 MB).
  • Trilium applies its own image compression settings server-side; the MCP always uploads the original bytes untouched.

Image Embedding

Pass an images array and reference them in your content with image:0, image:1, etc.:

json
{
  "tool": "create_note",
  "arguments": {
    "parentNoteId": "root",
    "title": "My Note",
    "type": "text",
    "content": "<p>Here is a photo:</p><img src=\"image:0\">",
    "images": [
      {
        "data": "iVBORw0KGgo...",
        "mime": "image/png",
        "filename": "photo.png"
      }
    ]
  }
}

In markdown mode, use ![alt text](image:0):

json
{
  "content": "# My Note\n\n![photo](image:0)\n\nSome text.",
  "format": "markdown",
  "images": [{ "data": "iVBORw0KGgo...", "mime": "image/png", "filename": "photo.png" }]
}

Images without a matching placeholder are automatically appended at the end of the content.

File Embedding

Pass a files array and reference them with file:0, file:1, etc.:

json
{
  "content": "<p>Download the report: <a href=\"file:0\">Report PDF</a></p>",
  "files": [
    {
      "data": "JVBERi0xLjQ...",
      "mime": "application/pdf",
      "filename": "report.pdf"
    }
  ]
}

Files without a matching placeholder are appended as download links.

Data URL Support

The data field accepts both raw base64 and data URLs. When a data URL is provided, the MIME type is automatically extracted (overriding the mime field):

json
{
  "images": [
    {
      "data": "data:image/png;base64,iVBORw0KGgo...",
      "mime": "ignored-when-data-url-is-used",
      "filename": "screenshot.png"
    }
  ]
}

Content Update Modes

The write_note tool selects behavior via mode:

  1. "metadata" — update title/type/mime only (no content change)
  2. "replace" — overwrite content entirely with content. Supports images/files embedding and markdown conversion.
  3. "append" — fetch existing content and concatenate content at the end. Supports images/files embedding and markdown conversion.
  4. "edit" — apply changes (array of {old_string, new_string}) OR patch (unified diff) to existing content. Operates on stored HTML; cannot be combined with format="markdown" or images/files.

write_attachment follows the same shape with "metadata", "replace", and "edit" modes.

Multi-tenant HTTP deployment

By default the server is single-tenant: TRILIUM_URL and TRILIUM_TOKEN are loaded once at startup and every MCP client that connects talks to the same Trilium instance. That's fine for a personal setup, but if you want to run one MCP server process that serves multiple users, each with their own Trilium and their own ETAPI token, switch it into multi-tenant mode.

What changes

With --multi-tenant:

  1. Each SSE connection MUST supply its own Trilium credentials via HTTP headers, as an atomic pair:
    • X-Trilium-Url — the client's Trilium base URL
    • X-Trilium-Token — the client's ETAPI token
  2. A per-connection TriliumClient is created — connections are isolated; one user's tool calls never hit another's Trilium.
  3. Credentials are verified at connect time by calling /etapi/app-info (with a 10s timeout). A bad token fails fast with a 401 on the SSE handshake, not with silent tool-call errors later.
  4. A gateway bearer token is required (--gateway-auth bearer, enabled by default in multi-tenant mode). Clients authenticate to you with a shared secret you hand out.
  5. Client-supplied URLs are SSRF-checked. By default, hostnames that resolve to private/loopback/link-local IPs (including cloud metadata 169.254.169.254) are rejected. Adjust with --trilium-url-allowlist or --allow-private-urls.

Startup-supplied TRILIUM_URL / TRILIUM_TOKEN are rejected in multi-tenant mode. The server will refuse to start if either is set alongside --multi-tenant. This prevents a subtle token-leak where a client sending only one header would cause the operator's default to be mixed with client-supplied values.

Architecture

                  ┌───────────────────────────────────┐
   Client A ─────►│ /sse                              │   ┌────────────────┐
   (Auth: Bearer  │   1. gateway bearer check          │──►│ Trilium A      │
    X-Trilium-*)  │   2. SSRF guard on X-Trilium-Url  │   │ (notes-a.tld)  │
                  │   3. validate via /etapi/app-info │   └────────────────┘
   Client B ─────►│   4. new TriliumClient (per conn) │   ┌────────────────┐
                  │   5. new MCP Server (per conn)    │──►│ Trilium B      │
                  │                                   │   │ (notes-b.tld)  │
   Client N ─────►│ sessions: Map<sessionId, Session> │   └────────────────┘
                  │                                   │           ...
                  │ POST /message?sessionId=<uuid>    │
                  │   routes to the right session     │
                  │                                   │
                  │ GET /health  (no auth)            │
                  └───────────────────────────────────┘

Each SSE connection owns an independent Server + TriliumClient. Tool handlers close over the client, so tenant isolation is a property of the code, not something to enforce per-request.

Quick start (Docker)

bash
export MCP_GATEWAY_TOKEN=$(openssl rand -hex 32)
docker compose -f docker-compose.multi-tenant.yml up -d

Distribute MCP_GATEWAY_TOKEN to authorized clients. Put a TLS-terminating reverse proxy (nginx, Caddy, Traefik) in front of this container — bearer tokens in plaintext HTTP are unsafe.

Quick start (local)

bash
npm run build
node dist/index.js \
  --transport http \
  --port 3000 \
  --multi-tenant \
  --gateway-token "$(openssl rand -hex 32)"

HTTP endpoints

MethodPathAuthPurpose
GET/healthnoneLiveness probe — returns {"status":"ok"}.
GET/ssegateway + per-connectionOpen an SSE stream. Server replies with an endpoint event containing /message?sessionId=<uuid>.
POST/messageimplicit via sessionIdClient sends JSON-RPC messages here. Content-Type: application/json, up to 1 MB.

Connecting clients

Any MCP client that can attach custom HTTP headers to an SSE connection will work.

Smoke test with curl:

bash
curl -N \
  -H "Authorization: Bearer $MCP_GATEWAY_TOKEN" \
  -H "X-Trilium-Url: https://notes.example.com" \
  -H "X-Trilium-Token: $YOUR_ETAPI_TOKEN" \
  http://mcp-server.example.com:3000/sse

On success you'll see the endpoint SSE event, followed by message events as your client POSTs to /message.

Claude Desktop via mcp-remote:

Claude Desktop speaks stdio, so bridge it through mcp-remote which can carry custom headers to a remote SSE server. Add to claude_desktop_config.json:

json
{
  "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"
      ]
    }
  }
}

Claude Code (native SSE):

bash
claude mcp add trilium --scope user \
  --transport sse 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"

TypeScript SDK:

ts
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { SSEClientTransport } from '@modelcontextprotocol/sdk/client/sse.js';

const transport = new SSEClientTransport(new URL('https://mcp.example.com/sse'), {
  requestInit: {
    headers: {
      Authorization: `Bearer ${GATEWAY_TOKEN}`,
      'X-Trilium-Url': 'https://notes.example.com',
      'X-Trilium-Token': ETAPI_TOKEN,
    },
  },
});
const client = new Client({ name: 'my-app', version: '1.0.0' });
await client.connect(transport);

StreamableHTTP transport

In addition to the older HTTP+SSE transport (GET /sse + POST /message), this server exposes the newer StreamableHTTP transport at GET|POST|DELETE /mcp on the same port. StreamableHTTP is the direction MCP is heading — single endpoint, session id in a header instead of a query string, optional resumability via Last-Event-ID. Both transports run side-by-side; clients can pick whichever the SDK they ship supports.

Initialize handshake (POST /mcp):

bash
curl -X POST https://mcp.example.com/mcp \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Trilium-Url: https://notes.example.com" \
  -H "X-Trilium-Token: $ETAPI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize",
       "params":{"protocolVersion":"2024-11-05","capabilities":{},
                 "clientInfo":{"name":"my-app","version":"1.0.0"}}}'

The response carries an MCP-Session-Id header. Subsequent requests echo it back:

bash
curl -X POST https://mcp.example.com/mcp \
  -H "Authorization: Bearer $TOKEN" \
  -H "MCP-Session-Id: <sid>" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

DELETE /mcp with the session id closes the session cleanly. The gateway-auth / SSRF / rate-limit / Trilium-validation pipeline is identical to /sse — switching transports never changes the security surface.

TypeScript SDK:

ts
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const transport = new StreamableHTTPClientTransport(new URL('https://mcp.example.com/mcp'), {
  requestInit: {
    headers: {
      Authorization: `Bearer ${TOKEN}`,
      'X-Trilium-Url': 'https://notes.example.com',
      'X-Trilium-Token': ETAPI_TOKEN,
    },
  },
});
const client = new Client({ name: 'my-app', version: '1.0.0' });
await client.connect(transport);

JWT / OIDC gateway auth

For per-user identity, use --gateway-auth jwt instead of bearer. Tokens are validated for signature, expiration (exp), not-before (nbf), and (optionally) issuer + audience. The authenticated principal claim (default sub) is threaded into every audit log line and — opt-in — into metric labels.

HS256 shared secret(s):

bash
node dist/index.js \
  --transport http \
  --multi-tenant \
  --gateway-auth jwt \
  --jwt-secret "$JWT_SHARED_SECRET" \
  --jwt-issuer "https://idp.example.com" \
  --jwt-audience "mcp-gateway"

--jwt-secret is repeatable so you can roll secrets: deploy the new one alongside the old, then drop the old once all issuers have rotated.

RS256 / ES256 / EdDSA via JWKS:

bash
node dist/index.js \
  --transport http --multi-tenant \
  --gateway-auth jwt \
  --jwt-jwks-url "https://idp.example.com/.well-known/jwks.json" \
  --jwt-issuer "https://idp.example.com" \
  --jwt-audience "mcp-gateway"

The JWKS URL is fetched on demand and cached; key rotation works automatically as the IdP publishes new keys.

Customize the principal claim:

bash
--jwt-principal-claim email   # use the email claim instead of sub

Env equivalents: TRILIUM_JWT_SECRETS (CSV), TRILIUM_JWT_JWKS_URL, TRILIUM_JWT_ISSUER, TRILIUM_JWT_AUDIENCE, TRILIUM_JWT_PRINCIPAL_CLAIM. Validation: --gateway-auth jwt requires at least one secret OR a JWKS URL, else startup fails.

Algorithms accepted (default set): HS256 HS384 HS512 RS256 RS384 RS512 ES256 ES384 EdDSA. alg=none is always rejected.

CORS

Off by default. For browser-based clients, allow specific origins:

bash
--cors-origin https://app.example.com --cors-origin https://admin.example.com
# or wildcard (echoes Origin so credentials still work):
--cors-origin '*'

Env: TRILIUM_CORS_ORIGINS=https://a.example.com,https://b.example.com. Preflight (OPTIONS) responses allow Authorization, X-Trilium-Url, X-Trilium-Token, MCP-Session-Id, and Content-Type by default. The server never emits literal Allow-Origin: * even in wildcard mode — it always echoes the request Origin, because browsers reject wildcards with credentials.

Rate limiting

In-process token-bucket limiter, applied per remote IP and per gateway bearer/JWT token (whichever appears in Authorization). Both axes are enforced independently — exceeding either limit returns 429 rate_limited with a Retry-After header.

bash
--rate-limit-rps 10 --rate-limit-burst 30

Env: TRILIUM_RATE_LIMIT_RPS, TRILIUM_RATE_LIMIT_BURST. /health is never rate-limited (cheap liveness). /metrics is rate-limited like everything else.

This is in-process, not a Redis-backed distributed limiter — multi-replica deployments should also limit at the reverse proxy, with this server's limits as defense-in-depth.

Per-tenant audit + metrics

With --gateway-auth jwt, every audit log line carries the authenticated principal field — both tool_call and mcp_session_opened/sse_connected events. That gives you per-user tool usage in your log shipper without any extra work.

For Prometheus, the per-principal counter is opt-in for cardinality safety:

bash
--metrics --metrics-include-principal

Env: TRILIUM_METRICS_INCLUDE_PRINCIPAL=true. When on, a new series appears:

# HELP triliumnext_mcp_tool_calls_by_principal_total Per-principal tool invocation counter…
# TYPE triliumnext_mcp_tool_calls_by_principal_total counter
triliumnext_mcp_tool_calls_by_principal_total{principal="alice@example.com",tool="search_notes",ok="true",error="none"} 12

Cardinality scales as principals × tools × outcomes. Only enable when your principal namespace is bounded (e.g., a known IdP user list). The base tool_calls_total series stays principal-free and is always safe to enable.

SSRF configuration

FlagBehavior
(default)Reject any X-Trilium-Url whose hostname resolves to a private / loopback / link-local / CGNAT / multicast address.
--trilium-url-allowlist host1,host2Only hostnames matching the list (exact or suffix — example.com matches a.example.com) are accepted. Takes precedence over the private-IP block.
--allow-private-urlsDisable the private-IP block entirely. Use only on trusted/homelab networks.

Error responses

All errors are application/json with an error string. Common responses on GET /sse:

Statuserror valueMeaning
401unauthorizedMissing or wrong Authorization: Bearer.
401missing_trilium_credentialsX-Trilium-Url and X-Trilium-Token are required together; one or both missing.
401trilium_auth_failedTrilium rejected the ETAPI token.
400url_rejected (reason varies)Bad scheme, embedded credentials, private IP (no allowlist), or not in allowlist.
502trilium_unreachableCan't reach the Trilium host at all.
504trilium_validate_timeoutgetAppInfo probe exceeded 10 s (suggests a black-hole or slow host).

On POST /message:

Statuserror valueMeaning
400missing_session_idNo ?sessionId= query parameter.
400invalid_jsonBody wasn't valid JSON.
404unknown_sessionsessionId doesn't match any live SSE connection (typical after a disconnect / restart).
413payload_too_largeBody exceeded --max-post-bytes (default 500 MB). See Request body size limits.

Request body size limits

The HTTP/SSE transport caps each MCP JSON-RPC POST body at 500 MB by default. Tune it with --max-post-bytes <size> or TRILIUM_MAX_POST_BYTES (e.g. 100mb, 2gb, or a raw byte count). On stdio there is no equivalent cap — your shell / OS pipe buffers are the limit.

Why this exists, and a few caveats worth knowing:

  • The MCP SDK has its own internal 4 MB cap inside handlePostMessage. To honor anything larger, this server reads and JSON-parses the request body itself before handing it off, bypassing the SDK's read. If you fork or upgrade and bodies start failing at ~4 MB with 400 from the SDK, this read-and-pass-through is what's missing.
  • Bodies are buffered in memory before dispatch. A 500 MB cap means a single connection can ask for 500 MB of heap. On a multi-tenant deployment, set the cap to the smallest value your largest legitimate attachment needs.
  • Attachments are base64-encoded over JSON-RPC, which inflate

Triliumnext MCP MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Triliumnext MCP verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

Triliumnext MCP als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für Triliumnext MCP ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "triliumnext-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von Triliumnext MCP. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von Triliumnext MCP.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Triliumnext MCP bei dieser Aufgabe helfen?
Triliumnext MCP
Gerne. Ich habe es gelesen.
Das habe ich mit Triliumnext MCP gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Triliumnext MCP verwendet?

Triliumnext MCP ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Triliumnext MCP MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Triliumnext MCP mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Triliumnext MCP MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Triliumnext MCP verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Triliumnext MCP MCP mit TypingMind?

Triliumnext MCP wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt Triliumnext MCP MCP in TypingMind bereit?

Triliumnext MCP stellt MCP-Funktionen bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Triliumnext MCP MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Triliumnext MCP eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇