oa::network::mcp::McpServerConfig

Configuration for one McpServer instance.

StRust public API

Declaration

pub struct McpServerConfig { pub name: String, pub version: String, pub instructions: String, pub max_message_bytes: usize, pub max_nesting_depth: u32, pub max_json_nodes: u32, pub cache_ttl_ms: u32, pub cache_scope: McpCacheScope, }
Public Rust declaration.

Public Methods

fn clone(&self) -> McpServerConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

fn default() -> Self

Public Data Members

nameStringfield
versionStringfield
instructionsStringfield
max_message_bytesusizefield
max_nesting_depthu32field
max_json_nodesu32field
cache_ttl_msu32field
cache_scopeMcpCacheScopefield

Public Method Documentation

fn clone( &self ) -> McpServerConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.