Reference · MCP

BrainBox MCP server reference: endpoints, sign-in and tools by purpose

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.

  • Start every session with get_index.
  • Write tools need a write-scoped credential.
  • Sign in with OAuth: no key to paste for Claude, ChatGPT and other clients.

Endpoints

/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-mcp

Sign-in and scopes

OAuth 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.

A typical session

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.

Tools by purpose
PurposeTools
Orientget_index, list_projects
Look up structurerecall_domain (concepts, terms, rules, workflows, metrics, relationships)
Search and read documentsrecall_wiki, get_wiki_page, list_wiki_pages
Recall what happenedrecall_traces, list_traces, get_trace; write with process_event
Learn and report gapscreate_learning, list_learnings, retire_learning, report_context_gap, get_recent_changes
Procedureslist_skills, get_skill, create_skill
File pagessave_wiki_page, save_personal_page, list_personal_pages
Plan a taskresearch_task (experimental); check_context_draft

FAQ

What is the MCP URL?
https://ctx.brainbox-ai.app/api/org-mcp reaches every project Brain in your organization.
How do I sign in?
BrainBox is an OAuth 2.0 authorization server using PKCE. Use an API key where a client cannot do OAuth.
Which tool do I call first?
get_index: the whole Domain Model plus counts for the other stores.
Which clients are covered?
See the guides for Claude Code, Codex, Claude Desktop and ChatGPT.

Give your agents a brain.

Sign in and ask your first question.

Book a Demo