Skip to content

Tags: modelcontextprotocol/csharp-sdk

Tags

v0.1.0-preview.12

Toggle v0.1.0-preview.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove batching support from StreamableHttpServerTransport (#372)

v0.1.0-preview.11

Toggle v0.1.0-preview.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Improve testing for StreamableHttpHandler and IdleTrackingBackgroundS…

…ervice (#345)

* Add idle session pruning tests
* Remove redundant CTS from StreamableHttpHandler
  * StreamableHttpServerTransport.HandlePostRequest already creates the equivelant CTS
    which DeleteRequest_CompletesSession_WhichCancelsLongRunningToolCalls verifies
* Fix accept header validation for GET
* Use InvalidOperationException for transport-not-connected errors in doc comments
* Fix flaky Cancellation_ThrowsCancellationException test

v0.1.0-preview.10

Toggle v0.1.0-preview.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add server-side Streamable HTTP transport support (#330)

- Changes IJsonRpcMessage to an abstract base class so RelatedTransport will always be available
- Streamable HTTP supports multiple concurrent HTTP request with their own indpendent SSE response streams
- RelatedTransport indicates the source or destination of the JsonRpcMessage

- Changes the default RequestId to a JSON number for better compatibility with MCP servers in the wild

v0.1.0-preview.9

Toggle v0.1.0-preview.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Clean up logging (#286)

v0.1.0-preview.8

Toggle v0.1.0-preview.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Expose a JsonSerializerOptions setting in the prompts APIs (#279)

* Expose a JsonSerializerOptions setting in the prompts APIs

* Change namespace for workaround converter.

v0.1.0-preview.7

Toggle v0.1.0-preview.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Separate ASP.NET Core tests into a distinct project and make the main…

… test project netfx compatible. (#254)

* Separate ASP.NET Core tests into a distinct project and make the main test project netfx compatible.

* Fix merge conflicts.

* Update tests/ModelContextProtocol.Tests/ModelContextProtocol.Tests.csproj

Co-authored-by: Stephen Halter <[email protected]>

* Revert "Fix merge conflicts."

This reverts commit 852169b.

* Fix merge conflicts

---------

Co-authored-by: Stephen Halter <[email protected]>

v0.1.0-preview.6

Toggle v0.1.0-preview.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Move notification handler registrations to capabilities (#207)

* Move notification handler registrations to capabilities

Currently request handlers are set on the capability objects, but notification handlers are set after construction via an AddNotificationHandler method on the IMcpEndpoint interface. This moves handler specification to be at construction as well. This makes it more consistent with request handlers, simplifies the IMcpEndpoint interface to just be about message sending, and avoids a concurrency bug that could occur if someone tried to add a handler while the endpoint was processing notifications.

* Address more feedback and further cleanup

v0.1.0-preview.5

Toggle v0.1.0-preview.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[UnitTests] Add more UTs (#139)

* + Tests for McpClientExtensions code

* + code coverage for ClientOptions/Capabilities code

---------

Co-authored-by: Esteban Solano <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>

v0.1.0-preview.4

Toggle v0.1.0-preview.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump package version (#167)

v0.1.0-preview.3

Toggle v0.1.0-preview.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.1.0-preview.3 (#162)