mcp-ai-brain
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BRAIN_DB_PATH | No | Custom database file location | ~/.mcp-ai-brain/brain.db |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| brain_rememberB | Store a memory in the brain. Use this to persist facts, decisions, architecture patterns, configs, bugs, workflows, and preferences across sessions. |
| brain_recallC | Retrieve memories by project, category, or importance. Returns recent, high-relevance memories. |
| brain_searchA | Search memories using keyword matching. Returns ranked results with decay-adjusted scoring. |
| brain_forgetA | Soft-delete a memory by ID. Can be restored later. |
| brain_restoreA | Restore a forgotten or decayed memory to active status. |
| brain_session_startA | Start a basic session. Loads top memories, runs decay maintenance. Use brain_session_start_smart for workspace-aware context. |
| brain_session_start_smartA | [v1.2] Smart session start with workspace auto-detection. Detects project from workspace path, loads file-aware context signals, includes cross-project memories. PREFERRED over brain_session_start. |
| brain_session_endB | End a session. Records summary, auto-extracts facts from summary (v1.1 Auto-Learning), and stores them as memories. |
| brain_auto_learnB | [v1.1] Manually trigger auto-learning from text. Extracts facts, classifies categories/importance, handles conflicts and deduplication. |
| brain_projects_listB | List all registered projects with memory counts. |
| brain_projects_upsertC | Create or update a project. |
| brain_projects_getC | Get details for a specific project. |
| brain_projects_deleteA | Delete a project. Memories become unscoped (not deleted). |
| brain_statsA | Get brain statistics — memory counts, categories, database info. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Several tool pairs have fuzzy boundaries: brain_search (keyword) vs brain_recall (filter-based retrieval) both return memories, and brain_remember vs brain_auto_learn both create memories from text. brain_session_start and brain_session_start_smart are near-duplicates, mitigated only by a 'PREFERRED' note in the description rather than removal of the legacy tool.
All names are snake_case with a uniform brain_ prefix, which is easy to scan. However, the pattern mixes brain_<verb> (brain_search, brain_remember) with brain_<noun>_<verb> (brain_session_start, brain_projects_upsert), and the projects sub-resource uses a different ordering than the memory tools.
Fourteen tools is well within a healthy range for a memory/session system with a projects sub-resource. The only bloat is the redundant brain_session_start_smart alongside brain_session_start, which could have been a single tool with an option.
The surface covers the memory lifecycle (remember, search, recall, forget, restore, stats), full project CRUD, and session start/end with auto-learning. The main gap is the absence of a direct memory update/edit tool, so correcting a stored memory requires forget-plus-remember.