csharp-sdk/tests/ModelContextProtocol.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Dick fe6b401014
Add initial support for Resource Templates (#18)
* Add initial support for Resource Templates

* Make ListResourceTemplatesHandler not required

The server was throwing if this handler wasn't specified, and it should probably be optional anyway.

* Remove extra line

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Fix spaces

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Fix spaces

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Add and use a default ListResourceTemplatesHandler

If no ListResourceTemplatesHandler is specified, use a default one that returns an empty result.

* Fix spaces

* Spaces

* Add Client extensions for ListResourceTemplates

* Integration Test for Client ListResourceTemplates

* Fix comment

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Make Defaults internal

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Simplify test call

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Make delegate static

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Fix test comment

* Spaces

* Fix xml doc

Co-authored-by: Stephen Toub <stoub@microsoft.com>

* Make default handler inline

* Spaces

Co-authored-by: Stephen Halter <halter73@gmail.com>

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-03-21 14:09:45 -04:00
..
Client Upgrade to xunit.v3 (#8) 2025-03-20 16:19:35 +02:00
Configuration Add initial support for Resource Templates (#18) 2025-03-21 14:09:45 -04:00
Protocol Address some static analysis and TODOs (#12) 2025-03-20 23:09:38 -04:00
Server Add initial support for Resource Templates (#18) 2025-03-21 14:09:45 -04:00
Transport Remove InternalsVisibleTo from main project. (#46) 2025-03-21 17:35:19 +00:00
Utils Address some static analysis and TODOs (#12) 2025-03-20 23:09:38 -04:00
ClientIntegrationTestFixture.cs Rename project and namespaces 2025-03-19 15:02:38 +02:00
ClientIntegrationTests.cs Add initial support for Resource Templates (#18) 2025-03-21 14:09:45 -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 Upgrade to xunit.v3 (#8) 2025-03-20 16:19:35 +02:00
SseIntegrationTests.cs Remove InternalsVisibleTo from main project. (#46) 2025-03-21 17:35:19 +00:00
SseServerIntegrationTestFixture.cs Ensure all test client instances are cleaned up (#3) 2025-03-19 17:27:49 -04:00
SseServerIntegrationTests.cs Upgrade to xunit.v3 (#8) 2025-03-20 16:19:35 +02:00