handler
MCP Protocol Handler
Section titled “MCP Protocol Handler”Core MCP protocol handling logic
Structs
Section titled “Structs”McpProtocolHandler
Section titled “McpProtocolHandler”MCP Protocol Handler - Integrates with protocol_transport_core
Methods
fn new() -> SelfCreate new MCP protocol handler
with_capabilities
Section titled “with_capabilities”fn with_capabilities(self, capabilities: ServerCapabilities) -> SelfConfigure server capabilities
with_auth_handler
Section titled “with_auth_handler”fn with_auth_handler<H>(self, handler: H) -> SelfConfigure authentication handler
with_tool_provider
Section titled “with_tool_provider”fn with_tool_provider<P>(self, provider: P) -> SelfConfigure tool provider
with_query_mode
Section titled “with_query_mode”fn with_query_mode(self, query_mode: QueryMode) -> SelfConfigure query mode