Session Memory MCP Server
Policy-controlled access to live and historical agent session context for ADK-Rust Enterprise. Typed session state, scoped memory recall, replay snapshots, and resumable HITL workflows.
Tools (11)
| Tool | Purpose | Risk Class |
|---|---|---|
get_session_state |
Read current typed session state | Read-only |
list_session_events |
Inspect operational events | Read-only |
retrieve_memory |
Search scoped memory by subject and purpose | Read-only |
store_memory |
Write approved memory entries | Internal write |
update_memory |
Correct existing memory (new version) | Internal write |
delete_memory |
Remove sensitive/incorrect entries | Identity/Security |
redact_memory |
Redact PII from memory | Internal write |
list_memory_refs |
List memory that influenced a session | Read-only |
create_replay_snapshot |
Freeze session state for replay | Internal write |
resume_session |
Resume paused HITL workflow | External write |
terminate_session |
Stop session with audit reason | External write |
Example Prompts & Outputs
Get session state
Prompt: "What's the current state of the refund session?"
Retrieve scoped memory
Prompt: "What do we know about customer 1187?"
Tool call: retrieve_memory
Output:
Store a new memory
Prompt: "Remember that this customer's preferred language is Swahili"
Output:
Resume a paused workflow
Prompt: "The manager approved the refund, resume the session"
Output:
Create replay snapshot
Prompt: "Freeze this session state for replay testing"
Output:
Terminate with audit reason
Prompt: "Stop this session — suspected policy violation"
Output:
Memory Types
| Type | Description | Mutability |
|---|---|---|
turn_memory |
Recent conversational context | Mutable during session |
session_state |
Typed workflow state | Versioned |
profile_memory |
User/customer facts across sessions | Policy-governed |
project_memory |
Workspace decisions and preferences | Policy-governed |
artifact_memory |
References to artifacts (not content) | References only |
Installation
MCP Client Config
Contributors
| James Karanja Maina |
|---|
License
Apache-2.0 — see LICENSE for details.
Part of the ADK-Rust Enterprise MCP server ecosystem.
Built with ❤️ by Zavora AI
Registry Compliance
This server implements the ADK MCP SDK contract:
- HealthCheck — async health probe for registry monitoring
- mcp-server.toml — manifest declaring tools, risk classes, and credentials
- Structured tracing —
RUST_LOGenv-filter for observability