csharp-sdk/tests/ModelContextProtocol.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub 70960e1f1b
Remove special-casing of string enumerables in McpServerTool (#699)
We special-case string enumerables, translating them to an array of text content blocks, but other enumerables just get serialized, and there's a reasonable expectation that returning a string[] would produce a JSON array of strings. Just delete the special-casing.
2025-08-13 13:05:42 -04:00
..
Client Styling: remove a few redundant parens from object initializer expressions. (#548) 2025-06-26 16:55:54 +03:00
Configuration Remove special-casing of string enumerables in McpServerTool (#699) 2025-08-13 13:05:42 -04:00
Protocol Fix ResourceLinkBlock deserialization by adding missing "name" case (#645) 2025-07-23 19:52:45 +03:00
Server Remove special-casing of string enumerables in McpServerTool (#699) 2025-08-13 13:05:42 -04:00
Transport Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
AIContentExtensionsTests.cs Add CallToolResult.ToChatMessage extension method (#575) 2025-07-01 07:09:49 -04:00
ClientIntegrationTestFixture.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
ClientIntegrationTests.cs Make CallToolResult.IsError optional (#573) 2025-06-30 11:35:07 -04:00
ClientServerTestBase.cs Fix deserialization of PrimitiveSchemaDefinition (#537) 2025-06-24 08:48:12 -04:00
DiagnosticTests.cs Clean up namespaces (#410) 2025-05-14 14:50:26 -04:00
DockerEverythingServerTests.cs Update content according to latest spec (#513) 2025-06-16 19:39:41 -04:00
EverythingSseServerFixture.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
GlobalUsings.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
McpJsonUtilitiesTests.cs Fix NotSupportedException when returning IEnumerable<ContentBlock> (#675) 2025-08-05 14:36:11 -07:00
ModelContextProtocol.Tests.csproj Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
PlatformDetection.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
StdioServerIntegrationTests.cs Enable netfx testing. (#588) 2025-07-08 18:50:37 +03:00
TestAttributes.cs Add initial Activity / Metric support (#183) 2025-04-02 11:09:05 -04:00