Copilot
8f2e21d734
Fix: Synthesize handlers for empty tool/prompt/resource collections ( #865 )
...
* Initial plan
* Allow handlers for empty tool/prompt/resource collections
Changed condition from `IsEmpty: false` to `not null` check in McpServerImpl.cs for resources (line 298), prompts (line 459), and tools (line 547). This allows handlers to be synthesized even when collections are empty, enabling dynamic addition of items after initialization.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2025-10-16 09:57:50 -04:00
..
Utils
Fix slow shutdown when a Streamable HTTP client is connected ( #843 )
2025-10-10 17:50:57 -07:00
AuthEventTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
AuthorizeAttributeTests.cs
Add net10.0 assets and run some fixers ( #875 )
2025-10-15 15:27:43 -04:00
AuthTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
GlobalUsings.cs
Separate ASP.NET Core tests into a distinct project and make the main test project netfx compatible. ( #254 )
2025-04-09 19:16:53 +01:00
HttpServerIntegrationTests.cs
Propagate tool call exceptions through filters ( #844 )
2025-10-14 19:10:55 -07:00
MapMcpSseTests.cs
Add middleware and authz support for server-side handlers ( #733 )
2025-09-10 10:07:45 -07:00
MapMcpStatelessTests.cs
Clean up namespaces ( #410 )
2025-05-14 14:50:26 -04:00
MapMcpStreamableHttpTests.cs
Propagate tool call exceptions through filters ( #844 )
2025-10-14 19:10:55 -07:00
MapMcpTests.cs
Add net10.0 assets and run some fixers ( #875 )
2025-10-15 15:27:43 -04:00
ModelContextProtocol.AspNetCore.Tests.csproj
Fix: Synthesize handlers for empty tool/prompt/resource collections ( #865 )
2025-10-16 09:57:50 -04:00
SseIntegrationTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
SseServerIntegrationTestFixture.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
SseServerIntegrationTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
StatelessServerIntegrationTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
StatelessServerTests.cs
Decouple Handlers and Collections from protocol types ( #765 )
2025-09-24 09:42:03 -05:00
StreamableHttpClientConformanceTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00
StreamableHttpServerConformanceTests.cs
Add net10.0 assets and run some fixers ( #875 )
2025-10-15 15:27:43 -04:00
StreamableHttpServerIntegrationTests.cs
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
2025-09-16 10:22:10 -07:00