Expand description
Host-owned MCP readiness and lazy startup, downstream of policy projection.
Cached catalogs describe tools, not executable grants. A prepared server pins its cache generation; the first governed call waits for a matching live connection and rejects a changed catalog rather than executing stale metadata.
Structs§
- Configured
McpConnector - Default host connector for configured stdio and remote HTTP declarations. Every connection is built from the immutable binding request; the connector never re-reads process environment or configuration during a run.
- McpRun
Resources - Root-host capture supplied alongside an already-resolved run policy. The catalog/environment are immutable; runtime clones share the same cache and transport supervisor. This is not a serializable request payload or a child reconnect grant. The application host retains shutdown ownership.
- McpRuntime
Manager - Shared host manager for exact-key connection reuse and lazy preparation.
- Prepared
McpServer - Complete preflight catalog and generation retained by one prepared step.
- Stdio
McpConnector - Concrete stdio host adapter. HTTP requires its own snapshot-aware adapter; this type intentionally does not claim to handle remote declarations.
Enums§
- McpRuntime
Error - Failure before or during a projected host tool call, without secret payloads.
Traits§
- McpConnector
- Trusted host adapter for transport establishment and complete discovery. Implementations must use the request’s snapshot and credential revision, preserve reconnect inputs, and cancel partial resources when dropped.