mcp_start_task

Function mcp_start_task 

Source
pub async fn mcp_start_task(
    mcp_config: McpConfig,
) -> Result<(Router, CancellationToken)>
Expand description

Start an MCP service based on configuration

This function creates and configures an MCP proxy service based on the provided configuration. It supports both SSE and Streamable HTTP client protocols, with automatic backend protocol detection for URL-based services.