Search / io.github.miisodev/brainllm
brainllm
L0· runs locallySelf-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
v13.0.0 · active · repository · website · descriptor JSON · versions
Search / io.github.miisodev/brainllm
L0· runs locallySelf-hosted memory for LLMs in TriliumNext, structured by the server and editable by you.
v13.0.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"brainllm": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "${TRILIUM_BASE_URL}",
"TRILIUM_ETAPI_TOKEN": "${TRILIUM_ETAPI_TOKEN}",
"TRILIUM_PASSWORD": "${TRILIUM_PASSWORD}",
"BRAINLLM_MODE": "core",
"BRAINLLM_OWNER_PASSWORD": "${BRAINLLM_OWNER_PASSWORD}",
"BRAINLLM_OAUTH_SECRET": "${BRAINLLM_OAUTH_SECRET}"
}
}
}
}claude mcp add brainllm -e "TRILIUM_BASE_URL=${TRILIUM_BASE_URL}" -e "TRILIUM_ETAPI_TOKEN=${TRILIUM_ETAPI_TOKEN}" -e "TRILIUM_PASSWORD=${TRILIUM_PASSWORD}" -e "BRAINLLM_MODE=core" -e "BRAINLLM_OWNER_PASSWORD=${BRAINLLM_OWNER_PASSWORD}" -e "BRAINLLM_OAUTH_SECRET=${BRAINLLM_OAUTH_SECRET}" -- npx -y [email protected][mcp_servers.brainllm]
command = "npx"
args = ["-y", "[email protected]"]
env = { "TRILIUM_BASE_URL" = "${TRILIUM_BASE_URL}", "TRILIUM_ETAPI_TOKEN" = "${TRILIUM_ETAPI_TOKEN}", "TRILIUM_PASSWORD" = "${TRILIUM_PASSWORD}", "BRAINLLM_MODE" = "core", "BRAINLLM_OWNER_PASSWORD" = "${BRAINLLM_OWNER_PASSWORD}", "BRAINLLM_OAUTH_SECRET" = "${BRAINLLM_OAUTH_SECRET}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"brainllm": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]"
],
"enabled": true,
"environment": {
"TRILIUM_BASE_URL": "{env:TRILIUM_BASE_URL}",
"TRILIUM_ETAPI_TOKEN": "{env:TRILIUM_ETAPI_TOKEN}",
"TRILIUM_PASSWORD": "{env:TRILIUM_PASSWORD}",
"BRAINLLM_MODE": "core",
"BRAINLLM_OWNER_PASSWORD": "{env:BRAINLLM_OWNER_PASSWORD}",
"BRAINLLM_OAUTH_SECRET": "{env:BRAINLLM_OAUTH_SECRET}"
}
}
}
}{
"mcpServers": {
"brainllm": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "${TRILIUM_BASE_URL}",
"TRILIUM_ETAPI_TOKEN": "${TRILIUM_ETAPI_TOKEN}",
"TRILIUM_PASSWORD": "${TRILIUM_PASSWORD}",
"BRAINLLM_MODE": "core",
"BRAINLLM_OWNER_PASSWORD": "${BRAINLLM_OWNER_PASSWORD}",
"BRAINLLM_OAUTH_SECRET": "${BRAINLLM_OAUTH_SECRET}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=brainllm&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsImJyYWlubGxtQDEzLjAuMCJdLCJlbnYiOnsiVFJJTElVTV9CQVNFX1VSTCI6IiR7VFJJTElVTV9CQVNFX1VSTH0iLCJUUklMSVVNX0VUQVBJX1RPS0VOIjoiJHtUUklMSVVNX0VUQVBJX1RPS0VOfSIsIlRSSUxJVU1fUEFTU1dPUkQiOiIke1RSSUxJVU1fUEFTU1dPUkR9IiwiQlJBSU5MTE1fTU9ERSI6ImNvcmUiLCJCUkFJTkxMTV9PV05FUl9QQVNTV09SRCI6IiR7QlJBSU5MTE1fT1dORVJfUEFTU1dPUkR9IiwiQlJBSU5MTE1fT0FVVEhfU0VDUkVUIjoiJHtCUkFJTkxMTV9PQVVUSF9TRUNSRVR9In19"
}{
"servers": {
"brainllm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "${TRILIUM_BASE_URL}",
"TRILIUM_ETAPI_TOKEN": "${TRILIUM_ETAPI_TOKEN}",
"TRILIUM_PASSWORD": "${TRILIUM_PASSWORD}",
"BRAINLLM_MODE": "core",
"BRAINLLM_OWNER_PASSWORD": "${BRAINLLM_OWNER_PASSWORD}",
"BRAINLLM_OAUTH_SECRET": "${BRAINLLM_OAUTH_SECRET}"
}
}
}
}{
"mcpServers": {
"brainllm": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"TRILIUM_BASE_URL": "${TRILIUM_BASE_URL}",
"TRILIUM_ETAPI_TOKEN": "${TRILIUM_ETAPI_TOKEN}",
"TRILIUM_PASSWORD": "${TRILIUM_PASSWORD}",
"BRAINLLM_MODE": "core",
"BRAINLLM_OWNER_PASSWORD": "${BRAINLLM_OWNER_PASSWORD}",
"BRAINLLM_OAUTH_SECRET": "${BRAINLLM_OAUTH_SECRET}"
}
}
}
}extensions:
"brainllm":
enabled: true
name: "brainllm"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
envs:
"TRILIUM_BASE_URL": "${TRILIUM_BASE_URL}"
"TRILIUM_ETAPI_TOKEN": "${TRILIUM_ETAPI_TOKEN}"
"TRILIUM_PASSWORD": "${TRILIUM_PASSWORD}"
"BRAINLLM_MODE": "core"
"BRAINLLM_OWNER_PASSWORD": "${BRAINLLM_OWNER_PASSWORD}"
"BRAINLLM_OAUTH_SECRET": "${BRAINLLM_OAUTH_SECRET}"
timeout: 300
Placeholders to fill from your own secret store: ${TRILIUM_ETAPI_TOKEN}, ${TRILIUM_PASSWORD}, ${BRAINLLM_OWNER_PASSWORD}, ${BRAINLLM_OAUTH_SECRET}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknownNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-3d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
brainllm | npm | 13.0.0 | – | TRILIUM_ETAPI_TOKEN, TRILIUM_PASSWORD, BRAINLLM_OWNER_PASSWORD, BRAINLLM_OAUTH_SECRET |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.miisodev/brainllm",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "13.0.0",
"packages": [
{
"version": "13.0.0",
"transport": {
"type": "stdio"
},
"identifier": "brainllm",
"registryType": "npm",
"environmentVariables": [
{
"name": "TRILIUM_BASE_URL",
"format": "string",
"isRequired": true,
"description": "Base URL of the TriliumNext instance, e.g. http://localhost:8080"
},
{
"name": "TRILIUM_ETAPI_TOKEN",
"format": "string",
"isSecret": true,
"description": "ETAPI token. Required unless TRILIUM_PASSWORD is set. Create one in Trilium under Options → ETAPI."
},
{
"name": "TRILIUM_PASSWORD",
"format": "string",
"isSecret": true,
"description": "Alternative to TRILIUM_ETAPI_TOKEN — BrainLLM mints a token on first start and caches it beside brainllm.json."
},
{
"name": "BRAINLLM_MODE",
"format": "string",
"default": "core",
"description": "core (default) exposes the 45 brain-aware tools; full additionally exposes the 33 raw ETAPI tools."
},
{
"name": "BRAINLLM_TZ",
"format": "string",
"description": "IANA timezone used to stamp dated notes, e.g. Africa/Johannesburg. Defaults to the host timezone."
},
{
"name": "BRAINLLM_OWNER_PASSWORD",
"format": "string",
"isSecret": true,
"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."
},
{
"name": "BRAINLLM_OAUTH_SECRET",
"format": "string",
"isSecret": true,
"description": "Optional 32+ character deployment secret for signing OAuth tokens; rotate it to invalidate old tokens."
},
{
"name": "BRAINLLM_PUBLIC_URL",
"format": "string",
"description": "Override for the public origin when a proxy rewrites Host. Must exactly match the URL entered in the client."
},
{
"name": "BRAINLLM_ALLOW_UNAUTHENTICATED_HTTP",
"format": "boolean",
"description": "Explicit trusted-network-only escape hatch for HTTP mode. Never enable on a public interface."
},
{
"name": "BRAINLLM_TRUST_PROXY",
"format": "boolean",
"description": "Trust forwarded host/protocol headers for OAuth discovery only when a trusted reverse proxy sets them."
}
]
}
],
"repository": {
"url": "https://github.com/miisodev/BrainLLM",
"source": "github"
},
"websiteUrl": "https://miisodev.github.io/BrainLLM/",
"description": "Self-hosted memory for LLMs in TriliumNext, structured by the server and editable by you."
}