Skip to main content

handle_mcp_method_not_allowed

Function handle_mcp_method_not_allowed 

Source
pub async fn handle_mcp_method_not_allowed() -> impl IntoResponse
Expand description

MCP 2025-11-25 requires servers to return 405 for GET requests on endpoints that only support POST.