Implementation for SEP-2243 Http Standardization (#1553)

Co-authored-by: Tarek Mahmoud Sayed <tarekms@microsoft.com>
Co-authored-by: Tarek Mahmoud Sayed <tarekms@ntdev.microsoft.com>
Co-authored-by: Tarek Mahmoud Sayed <10833894+tarekgh@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Mike Kistler 2026-05-14 17:39:37 -05:00 • committed by GitHub
commit b8c4d951ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -442,4 +442,13 @@ public class ConformanceTools
// and the client must reconnect to get the result.
return "Reconnection test completed successfully";
}
[McpServerTool(Name = "test_header_tool")]
[Description("A tool with x-mcp-header annotations for conformance testing")]
public static string TestHeaderTool(
[McpHeader("Region"), Description("The deployment region")] string region,
[Description("The query to execute")] string query)
{
return $"Executed in region {region}: {query}";
}
}