Agent Memory + MCP

Explain how agent memory works with MCP: short working windows, episodic trail, durable long-term store exposed as tools (remember/recall/search/forget) and resources — retrieve slices instead of dumping full history into every prompt.

The Problem
The model does not “remember” your app
Mcp Tools (Actions)
remember — write a fact / preference
Mcp Resources (State)
URI-addressable memory blobs
Sample · Memory Mcp Server
Expose durable memory as MCP tools
Sample · Host Window + Client
Short chat window in the host
Hard Rules
Scope memory to user / tenant / session