Skip to content

Connect agents

Every agent gets its own identity and a grant. Add the agent and issue the grant from the dashboard, or with the API (below). The token is shown once.

Remembrancer is an MCP server over Streamable HTTP at /mcp. Send the token as Authorization: Bearer rmb_agent_....

Claude Code

Terminal window
claude mcp add --transport http remembrancer https://memory.example.com/mcp \
--header "Authorization: Bearer rmb_agent_..."

Any client with a JSON config (Claude Desktop through a bridge, Cursor, VS Code and others):

{
"mcpServers": {
"remembrancer": {
"type": "http",
"url": "https://memory.example.com/mcp",
"headers": { "Authorization": "Bearer rmb_agent_..." }
}
}
}

Tools:

Tool Does
recall Search memories everyone in the channel may see.
remember Store an episode, fact or intent. Its audience is the channel’s members right now.
forget Delete a memory visible in the channel, and everything derived from it. Needs forget in the grant.
list_channels Channels the agent’s person belongs to.

If the grant has a default channel, tools use it when channel_id is left out.

Terminal window
# Store
curl -X POST $URL/v1/memories -H "Authorization: Bearer $TOKEN" -H 'content-type: application/json' \
-d '{"content":"Release 0.2 ships Friday","kind":"intent"}'
# Recall
curl -X POST $URL/v1/recall -H "Authorization: Bearer $TOKEN" -H 'content-type: application/json' \
-d '{"query":"release"}'
# Forget
curl -X DELETE "$URL/v1/memories/$ID" -H "Authorization: Bearer $TOKEN"

Recall answers carry context_hash, the SHA-256 of exactly what was returned, which matches the audit log.

authorization_details follows the RFC 9396 shape:

{
"type": "remembrancer/memory",
"actions": ["recall", "remember"],
"kinds": ["episode", "fact", "intent"],
"max_classification": "internal",
"channel_kinds": ["owner_only", "direct", "group"]
}

Issue one with a person’s session token:

Terminal window
curl -X POST $URL/v1/grants -H "Authorization: Bearer $SESSION" -H 'content-type: application/json' \
-d '{"agent_id":"...","default_channel_id":"...","authorization_details":{"max_classification":"confidential"}}'

Set source_type honestly. web and other_agent content lands as a candidate that the owner must promote. Add source_refs for memories drawn from documents or records, and register who can read them with PUT /v1/resource-access, so the memory follows the document’s permissions.