csharp-sdk/tests/ModelContextProtocol.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub b61cdef994
Add [McpServerTool] support for instance methods (#100)
* Add [McpServerTool] support for instance methods

By popular demand, enables [McpServerTool] on instance methods. The instance is constructed per invocation, using ActivatorUtilities.CreateInstance when possible so that constructor arguments are satisfied from DI.

* Add disposal tests
2025-03-26 09:34:30 -04:00
..
Client Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
Configuration Add [McpServerTool] support for instance methods (#100) 2025-03-26 09:34:30 -04:00
Protocol Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
Server Add [McpServerTool] support for instance methods (#100) 2025-03-26 09:34:30 -04:00
Transport Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
Utils Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
ClientIntegrationTestFixture.cs Add XunitLoggerProvider (#81) 2025-03-25 08:53:55 -04:00
ClientIntegrationTests.cs Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
EverythingSseServerFixture.cs Address some static analysis and TODOs (#12) 2025-03-20 23:09:38 -04:00
GlobalUsings.cs Rename project and namespaces 2025-03-19 15:02:38 +02:00
ModelContextProtocol.Tests.csproj Add gitattributes (#98) 2025-03-25 18:57:01 -07:00
SseIntegrationTests.cs Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
SseServerIntegrationTestFixture.cs Add XunitLoggerProvider (#81) 2025-03-25 08:53:55 -04:00
SseServerIntegrationTests.cs Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00