csharp-sdk/src/ModelContextProtocol/Protocol
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aaron Powell 6fa1443a6c
Adding a base class for request params that exposes the progressToken (#99)
* Adding a base class for request params that exposes the progressToken

This aligns more with the type structure see in the other SDK's (eg: https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/types.py#L41) while also ensuring they are exposing the JSONRPCRequest (https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json#L771-L806) data.

Storing progressToken as an object as it could be an int or string (per https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json#L1268-L1274).

Fixes #67

* Using usings

* Apply suggestions from code review

---------

Co-authored-by: Stephen Toub <stoub@microsoft.com>
2025-03-25 23:40:48 -04:00
..
Messages Logging Capability (#53) 2025-03-21 17:50:41 -04:00
Transport Overhaul tool handling (#89) 2025-03-25 15:32:46 -04:00
Types Adding a base class for request params that exposes the progressToken (#99) 2025-03-25 23:40:48 -04:00