pub struct InitializeCapabilities {
pub experimental_api: Option<bool>,
pub explicit_gateway_oauth: Option<bool>,
pub extensions: Option<BTreeMap<String, Value>>,
pub mcp_server_openai_form_elicitation: Option<bool>,
pub opt_out_notification_methods: Option<Vec<String>>,
pub request_attestation: Option<bool>,
pub required_human_approval: Option<bool>,
}Expand description
Client-declared capabilities negotiated during initialize.
Fields§
§experimental_api: Option<bool>Opt into receiving experimental API methods and fields.
explicit_gateway_oauth: Option<bool>Use explicit gateway OAuth login instead of automatic browser authorization. Applies to this app-server’s gateway runtime; later connections cannot undo it.
extensions: Option<BTreeMap<String, Value>>MCP extension settings declared by the app-server client.
mcp_server_openai_form_elicitation: Option<bool>Legacy opt-in for the openai/form MCP extension.
New clients should declare openai/form in Self::extensions.
opt_out_notification_methods: Option<Vec<String>>Exact notification method names that should be suppressed for this connection (for example thread/started).
request_attestation: Option<bool>Opt into attestation/generate requests for upstream x-oai-attestation.
required_human_approval: Option<bool>Present humanCommand approvals to a person and return only a one-time decision. Requires experimentalApi. Pending requests can be replayed to compatible clients.