csharp-sdk/tests/mcpdotnet.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub 4597bbd7c2
Integrate Microsoft.Extensions.AI as a foundational building block (#94)
* Integrate Microsoft.Extensions.AI as a foundational building block

As with logging abstractions coming from M.E.Logging and DI abstractions coming from M.E.DependencyInjection, M.E.AI provides the relevant AI abstractions.

- Adds AsAIFunction and GetAIFunctionsAsync methods for getting functions for tools via a client.
- Uses AIFunctionFactory to implement McpServerBuilderExtensions.WithTools.
- Adds a RequestSamplingAsync overload that accepts ChatMessages/Options.
- Adds an AsSamplingChatClient method that provides an IChatClient usable on the server to request sampling of the client.
- Adds a CreateSamplingHandler method to enable an IChatClient to be easily used to satisfy sampling requests on the client.
- Deprecate McpDotNet.Extensions.AI.

* Address PR feedback
2025-03-17 16:34:00 -04:00
..
Client Overhaul McpClientFactory/McpServerFactory (#87) 2025-03-16 12:08:52 -04:00
Configuration Integrate Microsoft.Extensions.AI as a foundational building block (#94) 2025-03-17 16:34:00 -04:00
Server Integrate Microsoft.Extensions.AI as a foundational building block (#94) 2025-03-17 16:34:00 -04:00
Transport Remove TextReader/Writer parameterization from StdioServerTransport (#96) 2025-03-17 18:30:37 +01:00
Utils Add more tests (#51) 2025-03-12 18:55:52 +01:00
ClientIntegrationTestFixture.cs Overhaul McpClientFactory/McpServerFactory (#87) 2025-03-16 12:08:52 -04:00
ClientIntegrationTests.cs Integrate Microsoft.Extensions.AI as a foundational building block (#94) 2025-03-17 16:34:00 -04:00
EverythingSseServerFixture.cs Fix docker based integration tests to be more robust (#74) 2025-03-15 20:56:46 +01:00
GlobalUsings.cs Reorganize folders, samples, minor bug fix (#14) 2025-01-18 12:34:13 +01:00
mcpdotnet.Tests.csproj Integrate Microsoft.Extensions.AI as a foundational building block (#94) 2025-03-17 16:34:00 -04:00
SseIntegrationTests.cs Overhaul McpClientFactory/McpServerFactory (#87) 2025-03-16 12:08:52 -04:00