Expand description
Exact MCP protocol-version identity and immutable era-policy selection.
This module intentionally models only the two supported protocol eras. It does not normalize date strings or treat intermediate protocol revisions as aliases. The crate-root integration is owned separately so that this policy surface can remain independent of transport classification and lifecycle state.
Structs§
- Http
Endpoint Bundle - Immutable, configured HTTP endpoint bundle for one policy selection.
- Http
Endpoint Bundle Key - Opaque key for HTTP era negotiation and cached classification state.
- Http
EraCache - Per-bundle era cache that cannot be contaminated by origin-only matches.
- Http
Modern Probe - One isolated response to the configured modern HTTP probe.
- Legacy
Client Adapter Installed Receipt - Opaque, non-cloneable proof that the exact legacy client adapter is installed.
- Legacy
Receipt Binding - Immutable facts bound into a sealed legacy-adapter installation receipt.
- Legacy
Server Adapter Installed Receipt - Opaque, non-cloneable proof that the exact legacy server adapter is installed.
- Protocol
Policy Selection - A validated immutable policy and role.
- Protocol
Version - An exact, supported MCP protocol-version value.
- Stdio
EraClassifier - One-shot era classifier owned by a single server-side stdio process.
Enums§
- Http
Endpoint Bundle Error - Typed refusal while constructing a configured HTTP endpoint bundle.
- Http
EraDecision - Era classification result for a configured HTTP bundle.
- Http
Probe Body - The body category returned by one isolated modern HTTP probe.
- Http
Route Kind - One explicit configured HTTP route before protocol parsing.
- Modern
Version Support - Modern-version support result after era selection.
- Protocol
Era - A protocol era selected from one exact, supported protocol revision.
- Protocol
Policy - Immutable policy chosen before a client connects or a server binds.
- Protocol
Policy Error - Typed policy-validation refusals raised before connect or bind side effects.
- Protocol
Role - The role for which an immutable policy is validated.
- Protocol
Version Error - Typed refusal for an unsupported protocol-version spelling.
- Stdio
EraDecision - Deterministic result of considering one stdio frame.
- Stdio
EraRejection - Typed refusal classes for invalid stdio era-selection traffic.
- Stdio
EraState - The state of one server-side stdio process’s immutable era selection.
- Stdio
Opening Frame - The opening frame relevant to stdio era selection.
Constants§
- LEGACY_
PROTOCOL_ VERSION - The exact legacy MCP protocol revision supported by this policy surface.
- MODERN_
PROTOCOL_ VERSION - The exact modern MCP protocol revision supported by this policy surface.
Traits§
- Legacy
Adapter Receipt Issuer - Sealed issuer interface for the exact legacy-adapter installation path.