memory.retrieve_context
Retrieve relevant memories for a query from a session.
How to use it
memory.retrieve_context is exposed by the Memory Bank MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the memory.retrieve_context tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Memory Bank MCP
go install github.com/Protocol-Lattice/memory-bank-mcp@latestOther tools in Memory Bank MCP (13)
Check if the server is running.
Add a memory to a session's short-term buffer.
Get the vector embedding for a piece of text.
Persist a session's short-term buffer to the long-term vector store.
Directly embed and store a memory in the long-term store.
Add a short-term memory directly to a shared space.
Make a principal's session view include a specific space.
Remove a space from a principal's session view.
Retrieve memories from a principal's merged view (local + joined spaces).
Grant a role (reader, writer, admin) to a principal for a space.
List all spaces a principal has access to.
Revoke a principal's access to a space.
Create or update a shared space with a TTL and ACL.