pub struct MCPCustomCreateParams {
pub name: String,
pub allowed_tools: Option<Vec<String>>,
pub auth_config_ids: Option<Vec<String>>,
pub custom_tools: Option<Vec<String>>,
pub managed_auth_via_composio: Option<bool>,
pub toolkits: Option<Vec<String>>,
}Expand description
Parameters for creating a custom MCP server
Fields§
§name: StringServer name
allowed_tools: Option<Vec<String>>Allowed tool slugs
auth_config_ids: Option<Vec<String>>Auth config IDs
custom_tools: Option<Vec<String>>Custom tools (deprecated; alias of allowed_tools)
managed_auth_via_composio: Option<bool>Whether to use Composio managed auth
toolkits: Option<Vec<String>>Toolkit slugs
Trait Implementations§
Source§impl Clone for MCPCustomCreateParams
impl Clone for MCPCustomCreateParams
Source§fn clone(&self) -> MCPCustomCreateParams
fn clone(&self) -> MCPCustomCreateParams
Returns a duplicate of the value. Read more
1.0.0 · 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 MCPCustomCreateParams
impl Debug for MCPCustomCreateParams
Auto Trait Implementations§
impl Freeze for MCPCustomCreateParams
impl RefUnwindSafe for MCPCustomCreateParams
impl Send for MCPCustomCreateParams
impl Sync for MCPCustomCreateParams
impl Unpin for MCPCustomCreateParams
impl UnsafeUnpin for MCPCustomCreateParams
impl UnwindSafe for MCPCustomCreateParams
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