MCPLow riskUnclaimed

brainllm

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

miisodevmiisodev/brainllmUpdated Oct 9, 2026

server.json

{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.miisodev/brainllm",
  "description": "Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.",
  "repository": {
    "url": "https://github.com/miisodev/BrainLLM",
    "source": "github"
  },
  "version": "12.9.1",
  "websiteUrl": "https://miisodev.github.io/BrainLLM/",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "brainllm",
      "version": "12.9.1",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Base URL of the TriliumNext instance, e.g. http://localhost:8080",
          "isRequired": true,
          "format": "string",
          "name": "TRILIUM_BASE_URL"
        },
        {
          "description": "ETAPI token. Required unless TRILIUM_PASSWORD is set. Create one in Trilium under Options → ETAPI.",
          "format": "string",
          "isSecret": true,
          "name": "TRILIUM_ETAPI_TOKEN"
        },
        {
          "description": "Alternative to TRILIUM_ETAPI_TOKEN — BrainLLM mints a token on first start and caches it beside brainllm.json.",
          "format": "string",
          "isSecret": true,
          "name": "TRILIUM_PASSWORD"
        },
        {
          "description": "core (default) exposes the 45 brain-aware tools; full additionally exposes the 33 raw ETAPI tools.",
          "format": "string",
          "default": "core",
          "name": "BRAINLLM_MODE"
        },
        {
          "description": "IANA timezone used to stamp dated notes, e.g. Africa/Johannesburg. Defaults to the host timezone.",
          "format": "string",
          "name": "BRAINLLM_TZ"
        },
        {
          "description": "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.",
          "format": "string",
          "isSecret": true,
          "name": "BRAINLLM_OWNER_PASSWORD"
        },
        {
          "description": "Optional 32+ character deployment secret for signing OAuth tokens; rotate it to invalidate old tokens.",
          "format": "string",
          "isSecret": true,
          "name": "BRAINLLM_OAUTH_SECRET"
        },
        {
          "description": "Override for the public origin when a proxy rewrites Host. Must exactly match the URL entered in the client.",
          "format": "string",
          "name": "BRAINLLM_PUBLIC_URL"
        },
        {
          "description": "Explicit trusted-network-only escape hatch for HTTP mode. Never enable on a public interface.",
          "format": "boolean",
          "name": "BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP"
        },
        {
          "description": "Trust forwarded host/protocol headers for OAuth discovery only when a trusted reverse proxy sets them.",
          "format": "boolean",
          "name": "BRAINLLM_TRUST_PROXY"
        }
      ]
    }
  ]
}

Permissions

DeclaredDetected
Runs code—node
Installs—npm:brainllm@12.9.1
Runs install scripts—None
NetworkNoneNone
Needs credentialsBRAINLLM_OAUTH_SECRETBRAINLLM_OWNER_PASSWORDTRILIUM_ETAPI_TOKENTRILIUM_PASSWORDBRAINLLM_OAUTH_SECRETBRAINLLM_OWNER_PASSWORDTRILIUM_ETAPI_TOKENTRILIUM_PASSWORD
Outside the workspace—None
Agent tools—None

Checks

Low risk · Nothing worth a warning was found.

Not reviewed by a person · Checked by rules; the model review is not switched on yet.

Versions

  1. #312.9.1latestOct 9, 2026
  2. #212.9.0Oct 9, 2026
  3. #112.8.0Oct 7, 2026