Status: workaround. This sample demonstrates a pragmatic way to run long-running MCP tools today, before the MCP Task extension (SEP-2663) is available in the Azure Functions MCP trigger. Once tasks land, the protocol handles async natively (server returns
resultType: "task", client pollstasks/getvia the SDK) and this two-tool workaround becomes unnecessary.