Endpoint
Key facts
- Streamable HTTP, stateless. No session to open or close. Every request is independent.
- Protocol versions. The server speaks MCP
2025-06-18and accepts2025-03-26and2024-11-05. - Same brain, same keys. It uses the same workspace brain and the same API keys as the Brain API. Disclosure rules are identical: an
externalkey receives onlyprofile_fact,preference,decision, andobservation, and never facts about your team,agent_inferredfacts, or facts about an end user the call did not name.
Connect
Create a key in the Alfera app under Settings → API Keys, pick its scopes and audience, and export the secret:- Claude Code
- Cursor
- Other
Add the MCP server with the
claude mcp add command:Verify with whoami
Callwhoami to confirm the connection. It needs no scope, so it answers for any live key and reports what the connection can do.
string
Human-readable name for this key, for example
support-bot.string
Prefix of the key, for example
ak_live_x7f4.array
Array of scopes this key is allowed to use, for example
["memory.read", "answers.write"].string
Audience for the key, for example
external.object
Object with
requests_per_window and window_seconds, for example { "requests_per_window": 120, "window_seconds": 60 }.Next steps
- Browse the full Brain MCP tools reference for arguments, scopes, and usage patterns.
- Read the Brain API overview for the REST equivalents and field-level detail.