pub struct McpPrepareInstallRequest {
pub choice_id: String,
pub contract: CatalogClientContract,
pub inputs: Vec<McpInstallationInput>,
pub plan_handle: String,
pub policy_session_id: String,
pub secrets: Vec<McpInstallationSecret>,
pub secret_storage: McpInstallationSecretStorage,
pub source: McpServerCardReference,
}Expand description
Side-effect-free preparation of one original bound remote MCP choice.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§choice_id: StringExact selected alternative from that plan.
contract: CatalogClientContractRequired bound catalogue and confirmed remote installation capabilities.
inputs: Vec<McpInstallationInput>Declared non-secret values. Non-empty only when the caller requires
mcp-configured-remote-installation; omitted values use the card default.
plan_handle: StringOriginal single-use bound plan, never a client-authored configuration.
policy_session_id: StringAn existing local session attached to this connection, not permission to attach one.
secrets: Vec<McpInstallationSecret>One entry per declared secret placeholder of the selected choice. Non-empty
only when the caller requires mcp-configured-remote-installation.
secret_storage: McpInstallationSecretStorageThe trusted host presents this choice alongside the exact secret placeholders.
source: McpServerCardReferenceThe exact original source, used transiently only after confirmation.