For developers connecting an MCP client or agent to the Brain.
Updated
BrainBox serves the Brain over MCP at https://ctx.brainbox-ai.app/api/org-mcp for an organization, with narrower endpoints for one project or one tenant. Clients sign in with OAuth 2.0 and PKCE, or use a key. The tools group by purpose: orient, look up structure, search documents, recall events, record learnings and gaps, run procedures, and file pages.
/api/mcp takes a project key and reaches one project. /api/org-mcp takes an organization key or an OAuth sign-in and reaches every project in the organization. /api/tenant-mcp takes a tenant key and reaches one tenant's overlay plus the shared Brains it may read.
https://ctx.brainbox-ai.app/api/org-mcpOAuth 2.0 with PKCE, or an API key with a read or write scope. Write tools such as process_event, create_learning and save_wiki_page need a write-scoped credential. See the governance guide for roles and tenants.
Call get_index, follow non-zero counts (list_skills before multi-step work, list_learnings if any exist), look up structure with recall_domain and documents with recall_wiki, do the work in your own runtime, and write back with create_learning or report_context_gap.
| Purpose | Tools |
|---|---|
| Orient | get_index, list_projects |
| Look up structure | recall_domain (concepts, terms, rules, workflows, metrics, relationships) |
| Search and read documents | recall_wiki, get_wiki_page, list_wiki_pages |
| Recall what happened | recall_traces, list_traces, get_trace; write with process_event |
| Learn and report gaps | create_learning, list_learnings, retire_learning, report_context_gap, get_recent_changes |
| Procedures | list_skills, get_skill, create_skill |
| File pages | save_wiki_page, save_personal_page, list_personal_pages |
| Plan a task | research_task (experimental); check_context_draft |