Expand description
Owner-isolated live MCP bindings with caller-owned, single-flight refresh.
This is a trusted-host cache, not an execution or credential grant. The connector must launch from the supplied immutable environment and credential revision, not re-read ambient state. Dropping that connector future must cancel its partially established transport. No refresh task is detached.
Structs§
- Connected
McpServer - Host connector output after successful, complete tool discovery. The cache checks server identity, completeness and every compiled descriptor.
- McpBinding
- One owned live connection. Retain this lease for the entire tool call.
- McpBinding
Cache - Shared across runs, but never across distinct owner/config/auth/env keys.
- McpBinding
Environment - Exact host-selected environment, including inherited variables and cwd.
- McpBinding
Key - Exact reuse identity. Private fields prevent omission of owner or revisions.
- McpBinding
Request - One immutable connection request, created after host policy projection.
- McpBinding
Ticket - Generation pinned during host preflight. Old steps cannot revive a revoked binding by looking up the same key after invalidation.
Enums§
- McpBinding
Error - Secret-free cache outcome, shared by all callers of one connection attempt.