Connect an AI agent
Connect Claude, Codex, Cursor or any MCP client to HeyBrain through one MCP endpoint, with browser sign-in or a workspace key.
HeyBrain is a remote MCP server. Every supported tool connects to the same endpoint, and the backend decides what each call can see from the identity and workspace behind the connection.
https://mcp.heybrain.io/mcpChoose your client#
Claude CodeOne command registers HeyBrain for every project.Claude desktop and claude.aiAdd a custom connector and sign in. No key.CodexCLI and IDE extension, with a key or browser sign-in.CursorAdd HeyBrain to
mcp.json, with a key or sign-in.Other MCP clientsAny client that supports remote MCP with OAuth.TroubleshootingFix the common first-connection problems.Browser sign-in or a key#
| Browser sign-in (OAuth) | Workspace key | |
|---|---|---|
| How it works | The client opens HeyBrain in your browser. You sign in, choose a workspace and approve. | You generate a named key on the HeyBrain MCP page and the setup command saves it in the tool’s configuration. |
| Clients | Claude desktop and claude.ai, Codex, Cursor, other OAuth-capable MCP clients | Claude Code, Codex, Cursor |
| Where it appears | Settings → API, where you can disconnect it | Settings → API, where you can revoke it |
Either way, the connection acts as you, inside one workspace. It never sees more than you can, and a connection made for one workspace cannot reach another. See Authentication for the details.
Before you start#
- Choose the workspace the agent should use. A key or connection belongs to one workspace.
- Add something to find: open Library → Add knowledge → New note, write a fact you will recognise, such as your team’s release day, and wait until it finishes processing.
- Pick your client above. Each guide ends by asking the agent about that note.
Last checked against the product on November 25, 2026.