pub struct McpServerStdio {
pub name: String,
pub command: String,
pub args: Vec<String>,
pub env: Vec<EnvVariable>,
}Expand description
Stdio transport configuration for MCP. All agents MUST support this transport.
Fields§
§name: StringHuman-readable name identifying this server.
command: StringAbsolute path to the MCP server executable.
args: Vec<String>Command-line arguments to pass to the server.
env: Vec<EnvVariable>Environment variables to set when launching the server.
Trait Implementations§
Source§impl Clone for McpServerStdio
impl Clone for McpServerStdio
Source§impl Debug for McpServerStdio
impl Debug for McpServerStdio
Source§impl<'de> Deserialize<'de> for McpServerStdio
impl<'de> Deserialize<'de> for McpServerStdio
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
impl Eq for McpServerStdio
Source§impl PartialEq for McpServerStdio
impl PartialEq for McpServerStdio
Source§impl Serialize for McpServerStdio
impl Serialize for McpServerStdio
impl StructuralPartialEq for McpServerStdio
Auto Trait Implementations§
impl Freeze for McpServerStdio
impl RefUnwindSafe for McpServerStdio
impl Send for McpServerStdio
impl Sync for McpServerStdio
impl Unpin for McpServerStdio
impl UnsafeUnpin for McpServerStdio
impl UnwindSafe for McpServerStdio
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