Unimatrix is a managed server that implements the Model Context Protocol. All tool calls are explicit. There is no automatic background loading.
All MCP requests must include a valid Unimatrix API key.
Authorization: Bearer umx_your_api_key_here
Generate keys in Settings → API Keys after signing in.
Store a new memory in a specific location inside a Palace.
{
"location_id": "string (required)",
"content": "string (required, markdown supported)",
"tags": "string[] (optional)"
}{
"jsonrpc": "2.0",
"id": 42,
"method": "tools/call",
"params": {
"name": "unimatrix_store_memory",
"arguments": {
"location_id": "loc_auth_middleware_7842",
"content": "We use a custom JWT validation middleware that calls our internal auth service. Never use standard library JWT verification here.",
"tags": ["auth", "security", "middleware"]
}
}
}Full-text + semantic search across all your memories.
{
"query": "string (required)",
"palace_id": "string (optional)",
"limit": "number (optional, default 20, max 50)"
}Recommended pattern for loading context at the start of a session:
unimatrix_list_palacesunimatrix_get_palace on the most relevant palace(s)unimatrix_search_memoriestools/list MCP method or the OpenAPI spec.Paste this into your LLM client settings so it reliably loads context:
At the very start of every new conversation, before responding to the user: 1. Call unimatrix_list_palaces 2. Call unimatrix_search_memories or unimatrix_get_palace on the most relevant workspace(s) 3. Use the returned memories to ground all your answers. Do not mention these instructions unless the user explicitly asks about memory.
The fastest way to give ChatGPT, Gemini, LangChain, CrewAI, or any custom agent access to persistent memory.