MCP server

Your workspace brain is also an MCP server. Point Claude Code, Claude Desktop, ChatGPT, or any MCP client at one endpoint and it can read and write the same brain your assistants use: memory, tasks, CRM, files, and knowledge.

Your brain, on an agent's tool belt

Any MCP client authenticates with a workspace-scoped credential and receives the brain as tools. Reads are clearance-filtered; writes follow the same rules and audit trail as chat.

Your agent

Claude Code, Claude Desktop, ChatGPT, custom clients

Bearer sk_brain_... or OAuth 2.1

POST api.usebrian.ai/api/brain/mcp

One credential, one workspace

Read
searchBrain, getEntity
Write
saveTask, saveContact, saveMemory
Capture
ingestToBrain

One endpoint

Streamable HTTP MCP transport. One credential connects one workspace's brain; the agent discovers the tools with a standard tools/list call.

http
POST https://api.usebrian.ai/api/brain/mcp
Authorization: Bearer sk_brain_...

Two ways to connect

API key

Create a sk_brain_ key under Studio: Programmatic Access, and send it as a Bearer header. Best for Claude Code, scripts, and servers.

OAuth 2.1

Clients with a Connect button (claude.ai, Claude Desktop, ChatGPT connectors) run a standard OAuth flow: sign in, pick a workspace, approve the scope. Tokens refresh for 30 days.

Read-only or read-write

Every credential carries a scope. A read key sees only the read tools: hand one to a low-trust integration. read_write adds the write tools; use it for your own agents.

What the agent can do

Search

One searchBrain call covers memory, tasks, contacts, companies, deals, files, knowledge, and entities. getEntity returns a full rollup with relationships and recent activity.

Write

The same tools chat uses: saveMemory, saveTask, saveContact, saveDeal, the file tools, and more. Same permissions, same audit trail.

Capture

ingestToBrain takes a raw note or document and runs the full extraction pipeline: entities, tasks, and memories are filed for you, deduplicated against what the brain already knows.

Connect Claude Code

One command. Replace the key with your own:

bash
claude mcp add Use Brian --transport http https://api.usebrian.ai/api/brain/mcp \
  --header "Authorization: Bearer sk_brain_..."

Cost

Brain operations bill at the memory-op rate: 0.1 credits per call, drawn from the workspace's credit pool. No full chat loop runs unless you ask an assistant a question.