45
/ 100
22 days ago
glama

brain-mcp

Enables automatic knowledge capture and injection of guardrails for AI assistants like Claude and Cursor, improving code quality and preventing recurring mistakes.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: OLLAMA_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configAPI_PORT
configBACKUP_EXCLUDE_PROJECTS(comma-separated, in .env, never committed) removes specific projects from the export before it's written/committed:
configBRAIN_API_URL
configBRAIN_AUTO_BACKUPTurn off auto-backup: =false.
configBRAIN_HOOK_CWD
configBRAIN_HOOK_SESSION_ID
configBRAIN_HOOK_SOURCE
configBRAIN_HOOK_TRANSCRIPT_PATH
configCHROMA_COLLECTION
configCHROMA_URL
configCLASSIFIER_ENABLEDtrue # false disables it without touching code
configCLASSIFIER_LANGUAGEen # language of generated content (title/content/directive/reasoning) — defaults to "en" if omitted
configCLASSIFIER_TIMEOUT_MS60000 # real observed latency: 2-20s
configCONSOLIDATE_THRESHOLD1. Embeds all active solution items and clusters them by cosine similarity (union-find, threshold configurable via , default 0.80).
🔐 secretOLLAMA_API_KEYcp .env.example .env # 1. local config ( is optional — without it, the classifier stays pending_review)
configOLLAMA_CLOUD_MODELqwen3-coder:480b-cloud
configOLLAMA_FALLBACK_MODELSminimax-m2.1:cloud # optional, comma-separated
configOLLAMA_MODEL
configOLLAMA_URL
configSQLITE_PATH
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/guilopes29-brain-mcp-1gaon1)](https://m8ven.ai/mcp/guilopes29-brain-mcp-1gaon1)
commit: 6a3fe6b31d1d887f7ab74aef4fb9ae4be928de45
code hash: f8eedecf0dfa95264142711014cacb16dbeb5fcd91637af6bea4702451617dd9
verified: 7/9/2026, 10:04:54 AM
view raw JSON →