Skip to content

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

ItemWhere to get it
OpenBrain site URLYour team’s production URL (e.g. https://memory.example.com)
API keyAccount & API key
Organization IDDashboard → organization settings, or embedded in the key

General checklist

  1. Create an API key with at least Ingest and Search for everyday use.
  2. Open your AI app’s integrations, connectors, or MCP servers settings (wording varies by product).
  3. 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
  4. Save and restart the app if it asks you to.
  5. Verify: ask the assistant to run the openbrain_health tool 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

SymptomWhat to try
401 UnauthorizedRegenerate the key; confirm Bearer prefix; check org ID header matches the key’s organization.
402 Payment RequiredOwner must activate a plan under Billing in the dashboard.
429 Too Many RequestsWait and retry; reduce how often the app ingests in a loop.
Tools missingKey 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.