csharp-sdk/tests/ModelContextProtocol.Tests/Server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stephen Toub b12d728700
Fix pagination handling in McpServer (#177)
- We were adding tools/prompts from the collections on every request. If multiple requests came in with different cursors, we'd re-add the same tools each time.
- We were defeating the purpose of pagination by doing all of the aggregation in the server. If a custom handler returns a paginated result, we should instead propagate that back to the client, who can choose to get more results when needed.
2025-04-01 09:54:19 -04:00
..
McpServerDelegatesTests.cs Add initial support for Resource Templates (#18) 2025-03-21 14:09:45 -04:00
McpServerFactoryTests.cs Add ModelContextProtocol.AspNetCore (#160) 2025-03-31 12:01:04 -07:00
McpServerPromptTests.cs Add McpServerPrompt / McpClientPrompt and friends (#126) 2025-03-31 09:54:40 -04:00
McpServerResourceTests.cs Overhaul of Resources (#125) 2025-03-30 22:45:03 -04:00
McpServerTests.cs Fix pagination handling in McpServer (#177) 2025-04-01 09:54:19 -04:00
McpServerToolTests.cs Add McpServerPrompt / McpClientPrompt and friends (#126) 2025-03-31 09:54:40 -04:00