Expand description
The MCP-mapped store (RFC 0025 §4.1): the four store operations are
tools/calls against a declared MCP server, with argument templates and
result extraction from store.mcp.{put,get,list,delete}. The default
mapping is the RFC 0021 §8.3 checkpointer profile (state.put/get/list,
state.delete), so a server advertising those tools needs no mapping.
Every call carries _meta["agent/idempotency_key"] = "<key>#<seq>" and
_meta["agent/instance"], and is bounded by the store timeout.
Structs§
Traits§
- McpCall
- The one thing the adapter needs from a connected server:
tools/callwith per-call_metaand a timeout. Implemented bycrate::mcp::client::McpClientand by test doubles.
Functions§
- default_
ops - The default checkpointer profile (RFC 0021 §8.3 +
state.delete). - result_
ctx - The extraction context for a tool result:
structuredContent(or the text content parsed as JSON),isError,text,content.