pub struct McpStartServerOptions { /* private fields */ }Expand description
Extensible McpStartServerRequest, including inputs added after it was published.
Required inputs are McpStartServerOptions::new arguments; optional inputs have fluent setters.
Input-only: it serialises to the flat wire request and is not deserialisable.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Implementations§
Source§impl McpStartServerOptions
impl McpStartServerOptions
Sourcepub fn config(self, value: Value) -> Self
pub fn config(self, value: Value) -> Self
MCP server configuration (stdio process or remote HTTP/SSE). Omit to start the server with its already-registered configuration (config-free start-by-name).
Sourcepub fn expected_installation_id(self, value: impl Into<String>) -> Self
pub fn expected_installation_id(self, value: impl Into<String>) -> Self
Exact receipt identity for explicit owned activation in this session.
Trait Implementations§
Source§impl Clone for McpStartServerOptions
impl Clone for McpStartServerOptions
Source§impl Debug for McpStartServerOptions
impl Debug for McpStartServerOptions
Auto Trait Implementations§
impl Freeze for McpStartServerOptions
impl RefUnwindSafe for McpStartServerOptions
impl Send for McpStartServerOptions
impl Sync for McpStartServerOptions
impl Unpin for McpStartServerOptions
impl UnsafeUnpin for McpStartServerOptions
impl UnwindSafe for McpStartServerOptions
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