Skip to main content
The Crosmos MCP server exposes four tools. Memory tools accept an optional space_id; when omitted, the server resolves a default space from configuration or the authenticated account.

search_memories

Search memories with hybrid retrieval.
required
The search query.
The tool returns a ranked text response with score, memory type, optional event time, and memory content.

add_memory

Store raw sources or a conversation. Provide exactly one of sources or messages.

Raw source

Source fields:

Conversation

Conversation fields:

list_spaces

List spaces available to the authenticated user.
Agents should call this when they need to discover a space ID or when default space resolution fails.

health_check

Check connectivity to the Crosmos Memory API.
The tool returns the API health status.

Agent usage pattern

1

Search before answering

Use search_memories when the user asks about prior context, preferences, or history.
2

Answer with context

Use returned memories as grounded context, not as the final answer by themselves.
3

Store new context

Use add_memory when the user shares facts, preferences, corrections, or conversation context worth remembering.