Skip to content

MCP tools ​

The OpenBrain MCP server registers these tools (snake_case names for Node/cutover parity):

ToolPurpose
memory_ingestStore a new memory (optional subjectKey)
memory_searchSemantic search with optional filters (filter.subjectKey, metadata)
memory_getFetch one memory by id
memory_updateUpdate content/metadata/subjectKey (admin)
memory_deleteSoft-delete (admin)
memory_upsertKeyed upsert by column-backed externalKey
memory_ingest_batchBatch ingest or upsert (per-item subjectKey)
memory_statsFaceted counts for the current organization (optional filter.subjectKey)
memory_changesIncremental changes since an ISO-8601 timestamp (optional filter.subjectKey)
memory_recentMost recently stored memories (optional filter.subjectKey)
openbrain_healthReadiness probe (database + embeddings; cached with the public health checks)

Write tools that accept content (memory_ingest, memory_upsert, memory_ingest_batch item content, memory_update) reject bodies longer than OPENBRAIN_MAX_CONTENT_LENGTH (default 100000 UTF-8 characters) with an MCP tool error. The same cap applies on REST (422) and is enforced again inside the memory writer so dashboard and webhook paths cannot bypass it.

See Connect your AI app for non-technical setup, or MCP setup (technical) for manual configuration.