Back to Browse

BrainLLM MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.

About

Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (3 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Base URL of the TriliumNext instance, e.g. http://localhost:8080Optional

Environment variable: TRILIUM_BASE_URL

ETAPI token. Required unless TRILIUM_PASSWORD is set. Create one in Trilium under Options → ETAPI.Required

Environment variable: TRILIUM_ETAPI_TOKEN

Alternative to TRILIUM_ETAPI_TOKEN — BrainLLM mints a token on first start and caches it beside brainllm.json.Required

Environment variable: TRILIUM_PASSWORD

core (default) exposes the 45 brain-aware tools; full additionally exposes the 33 raw ETAPI tools.Optional

Environment variable: BRAINLLM_MODE

IANA timezone used to stamp dated notes, e.g. Africa/Johannesburg. Defaults to the host timezone.Optional

Environment variable: BRAINLLM_TZ

Enables the OAuth 2.1 / CIMD endpoints required by claude.ai and other hosted Claude surfaces. This is the password entered on the consent screen when authorizing a client.Required

Environment variable: BRAINLLM_OWNER_PASSWORD

Optional 32+ character deployment secret for signing OAuth tokens; rotate it to invalidate old tokens.Required

Environment variable: BRAINLLM_OAUTH_SECRET

Override for the public origin when a proxy rewrites Host. Must exactly match the URL entered in the client.Optional

Environment variable: BRAINLLM_PUBLIC_URL

Explicit trusted-network-only escape hatch for HTTP mode. Never enable on a public interface.Optional

Environment variable: BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP

Trust forwarded host/protocol headers for OAuth discovery only when a trusted reverse proxy sets them.Optional

Environment variable: BRAINLLM_TRUST_PROXY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-miisodev-brainllm": {
      "env": {
        "BRAINLLM_TZ": "your-brainllm-tz-here",
        "BRAINLLM_MODE": "your-brainllm-mode-here",
        "TRILIUM_BASE_URL": "your-trilium-base-url-here",
        "TRILIUM_PASSWORD": "your-trilium-password-here",
        "BRAINLLM_PUBLIC_URL": "your-brainllm-public-url-here",
        "TRILIUM_ETAPI_TOKEN": "your-trilium-etapi-token-here",
        "BRAINLLM_TRUST_PROXY": "your-brainllm-trust-proxy-here",
        "BRAINLLM_OAUTH_SECRET": "your-brainllm-oauth-secret-here",
        "BRAINLLM_OWNER_PASSWORD": "your-brainllm-owner-password-here",
        "BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP": "your-brainllm-allow-unauthenticated-http-here"
      },
      "args": [
        "-y",
        "brainllm"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!