csharp-sdk/tests/ModelContextProtocol.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Halter bab74d5895
Fix StdioServerTransport.DisposeAsync hang (#235)
- It's not just Unix, it's all platforms that can hang
- Windows doesn't hang on Ctrl-C because that triggers
  the end of the Stream, but that doesn't help in IHostApplicationLifetime.StopAsync() scenarios

4e9627e311/src/libraries/System.Console/src/System/ConsolePal.Unix.ConsoleStream.cs (L13)
4e9627e311/src/libraries/System.Console/src/System/ConsolePal.Windows.cs (L1149)
2025-04-08 10:20:16 -07:00
..
Client Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
Configuration Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
Protocol Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
Server Enable servers to log to the clients via ILogger (#229) 2025-04-07 23:16:42 -04:00
Transport Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
Utils Fix StdioServerTransport.DisposeAsync hang (#235) 2025-04-08 10:20:16 -07:00
ClientIntegrationTestFixture.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
ClientIntegrationTests.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
DiagnosticTests.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
DockerEverythingServerTests.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
EverythingSseServerFixture.cs Refactor transports to help enable graceful shutdown (#142) 2025-03-30 17:10:14 -07:00
GlobalUsings.cs Rename project and namespaces 2025-03-19 15:02:38 +02:00
McpJsonUtilitiesTests.cs Hardcode the source generator in one remaining location and simplify McpJsonUtilities. (#204) 2025-04-03 13:42:42 -04:00
ModelContextProtocol.Tests.csproj Fix StdioServerTransport.DisposeAsync hang (#235) 2025-04-08 10:20:16 -07:00
SseIntegrationTests.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
SseServerIntegrationTestFixture.cs Remove McpServerConfig and have McpClientFactory accept IClientTransport instances directly. (#230) 2025-04-08 17:37:41 +01:00
SseServerIntegrationTests.cs Use Kestrel for all in-memory HTTP tests (#225) 2025-04-06 19:27:17 -07:00
StdioServerIntegrationTests.cs Fix StdioServerTransport.DisposeAsync hang (#235) 2025-04-08 10:20:16 -07:00
TestAttributes.cs Add initial Activity / Metric support (#183) 2025-04-02 11:09:05 -04:00