pub struct ManagedMcpServerConfig {
pub display_name: String,
pub headers_refresh_ttl_ms: Option<i64>,
pub timeout: Option<i64>,
pub tools: Option<Vec<String>>,
pub url: String,
}Expand description
Non-secret host-managed HTTP MCP server configuration. The containing map key is the stable managed identity; credentials are supplied dynamically by the host.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§display_name: StringHuman-readable catalog display name.
headers_refresh_ttl_ms: Option<i64>Maximum dynamic-header cache lifetime in milliseconds.
timeout: Option<i64>Timeout in milliseconds for tool discovery and tool calls.
tools: Option<Vec<String>>Tools to include. Defaults to all tools when omitted.
url: StringHosted MCP streamable HTTP endpoint.
Trait Implementations§
Source§impl Clone for ManagedMcpServerConfig
impl Clone for ManagedMcpServerConfig
Source§fn clone(&self) -> ManagedMcpServerConfig
fn clone(&self) -> ManagedMcpServerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ManagedMcpServerConfig
impl Debug for ManagedMcpServerConfig
Source§impl Default for ManagedMcpServerConfig
impl Default for ManagedMcpServerConfig
Source§fn default() -> ManagedMcpServerConfig
fn default() -> ManagedMcpServerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManagedMcpServerConfig
impl<'de> Deserialize<'de> for ManagedMcpServerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ManagedMcpServerConfig
impl RefUnwindSafe for ManagedMcpServerConfig
impl Send for ManagedMcpServerConfig
impl Sync for ManagedMcpServerConfig
impl Unpin for ManagedMcpServerConfig
impl UnsafeUnpin for ManagedMcpServerConfig
impl UnwindSafe for ManagedMcpServerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more