csharp-sdk/tests/ModelContextProtocol.Tests/Utils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub 2c75acded8
Improve progress reporting (#145)
* Improve progress reporting

- Enable injecting an `IProgress<>` into a tool call to report progress when the client has supplied a progress token
- Add a custom type for ProgressToken and ProgressNotification to map to the schema
- Simplify RequestId to match ProgressToken's shape
- Serialize StdioClientTransport's SendMessageAsync implementation
- Add strongly-typed names for all request methods
- Change all request IDs created by McpJsonRpcEndpoint to include a guid for that endpoint

* Address PR feedback
2025-03-31 09:33:16 -04:00
..
DelegatingTestOutputHelper.cs Refactor transports to help enable graceful shutdown (#142) 2025-03-30 17:10:14 -07:00
InMemoryTestSseServer.cs Improve progress reporting (#145) 2025-03-31 09:33:16 -04:00
LoggedTest.cs Refactor transports to help enable graceful shutdown (#142) 2025-03-30 17:10:14 -07:00
MockHttpHandler.cs Address some static analysis and TODOs (#12) 2025-03-20 23:09:38 -04:00
TestServerTransport.cs Improve progress reporting (#145) 2025-03-31 09:33:16 -04:00
XunitLoggerProvider.cs Add XunitLoggerProvider (#81) 2025-03-25 08:53:55 -04:00