Appearance
Connect your AI app
OpenBrain exposes an MCP server at /mcp on your OpenBrain host. MCP (Model Context Protocol) lets supported AI apps call tools such as memory_search and memory_ingest on your behalf — no coding required.
What you need
| Item | Where to get it |
|---|---|
| OpenBrain site URL | Your team’s production URL (e.g. https://memory.example.com) |
| API key | Account & API key |
| Organization ID | Dashboard → organization settings, or embedded in the key |
General checklist
- Create an API key with at least Ingest and Search for everyday use.
- Open your AI app’s integrations, connectors, or MCP servers settings (wording varies by product).
- Add a new MCP server pointing at:
- URL:
https://YOUR_OPENBRAIN_HOST/mcp - Authentication: Bearer token = your API key
- Organization header (if the app supports custom headers):
X-Organization-Id: YOUR_ORG_UUID
- URL:
- Save and restart the app if it asks you to.
- Verify: ask the assistant to run the
openbrain_healthtool or to search memories. You should get a healthy response, not an authentication error.
Platform guides
Steps differ by app. Use the guide that matches where you chat:
MCP support changes quickly. If your app’s settings do not mention MCP or “connectors,” check that product’s latest help center before forcing a manual configuration.
OAuth vs API key
Some desktop apps can sign in with OpenBrain (OAuth) instead of pasting a key. That flow is safer for daily use. See MCP OAuth. API keys remain the right choice for automation and apps that only accept a static token.
When things fail
| Symptom | What to try |
|---|---|
| 401 Unauthorized | Regenerate the key; confirm Bearer prefix; check org ID header matches the key’s organization. |
| 402 Payment Required | Owner must activate a plan under Billing in the dashboard. |
| 429 Too Many Requests | Wait and retry; reduce how often the app ingests in a loop. |
| Tools missing | Key may be search-only; add Ingest or Admin abilities in the dashboard. |
For developers
If you are editing JSON config files or wiring a custom agent, use MCP setup (technical) and the tool reference.