Docs

MCP

Expose ACB context tools to MCP-capable clients while keeping project memory scoped by agent key.

MCP makes context available. Wrappers and project instructions provide stronger enforcement when an agent must pull context before work.

Build the server

npm --workspace @aicontextbase/mcp-server run build

Required env

ACB_API_URL=http://127.0.0.1:3003
ACB_AGENT_KEY=acb_live_xxx
ACB_PROJECT_SLUG=smakmail

Tool shape

get_project_context(project_slug, task, target_ai)
search_memory(project_slug, query)
record_task_summary(project_slug, summary)
suggest_memory_update(project_slug, title, body, risk)