Expand description
In-process memory MCP server for the UAR agent runtime.
Runs the full surreal-memory tool suite in-process, with no external server process.
Exposes:
- An Axum router using rmcp’s
StreamableHttpServicefor HTTP MCP clients. - All tools available as UAR-native calls through
MemoryService.
§HTTP exposure
Mount the router returned by memory_mcp_router() at the configured path:
ⓘ
let router = memory_mcp_router(Arc::clone(&memory_service));
app = app.nest(&config.memory.mcp_http_path, router);Structs§
- AddMemory
Params - AddObservations
Params - AddTo
Task Stream Params - Auto
Summarize Params - Compress
Memories Params - Conversation
Params - Create
Entity Params - Create
Relation Params - Create
Task Stream Params - Delete
Entity Params - Delete
Relation Params - Expand
Neighbors Params - Find
Path Params - GetContext
Params - GetRelated
Params - Hybrid
Search Params - Memory
IdParams - Scope
Filter Params - Search
Memories Params - Search
Params - Semantic
Search Params - Task
Stream Name Params - UarMemory
McpServer - In-process memory MCP server inheriting identical tools to the standalone surreal-memory-server, but run inside the UAR process.
- Update
Memory Params
Functions§
- memory_
mcp_ router - Build an Axum router that exposes the in-process memory MCP server over the streamable-HTTP transport (GET SSE / POST / DELETE on the same path).