pub struct CatalogMcpServerCandidate {
pub description: Option<String>,
pub display_name: String,
pub handle: String,
pub handle_expires_at: String,
pub installability: CatalogMcpServerInstallability,
pub kind: CatalogMcpServerCandidateKind,
pub media_type: McpServerCardMediaType,
pub provenance: CatalogMcpServerCandidateProvenance,
pub publisher: Option<String>,
pub source: CatalogCandidateSource,
}Expand description
An inert MCP server catalog result. Every free-text field is untrusted external data and must never be treated as an instruction, and the handle is the only way to refer to the candidate in a later operation.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§description: Option<String>Description taken verbatim from the card. Inert untrusted text.
display_name: StringDisplay name taken verbatim from the card. Inert untrusted text.
handle: StringOpaque, runtime-instance scoped, TTL-bound, single-use handle for this candidate. Carries no readable information and is rejected when stale, replayed, or presented to a different runtime instance. Never logged.
handle_expires_at: StringISO 8601 timestamp after which the handle is stale and will be rejected.
installability: CatalogMcpServerInstallabilityWhether this MCP server can be planned for installation, and if policy prevents it.
kind: CatalogMcpServerCandidateKindDiscriminator: this candidate describes an MCP server
media_type: McpServerCardMediaTypeJSON MCP media type of the underlying card.
provenance: CatalogMcpServerCandidateProvenanceWhere the catalog reference was observed, without the card itself or any content digest.
publisher: Option<String>Publisher taken verbatim from the card. Inert untrusted text.
source: CatalogCandidateSourceWhere the card came from: exactly one of a URL or embedded data, encoded as a tagged union so neither both nor neither can be represented.
Trait Implementations§
Source§impl Clone for CatalogMcpServerCandidate
impl Clone for CatalogMcpServerCandidate
Source§fn clone(&self) -> CatalogMcpServerCandidate
fn clone(&self) -> CatalogMcpServerCandidate
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more