modelcontextprotocol / modelcontextprotocol/csharp-sdk
Support a non-SSE JSON-only mode similar to the TypeScript SDKs `enableJsonResponse: true`
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.5k
- Forks
- 814
- Avg merge
- 9d 19h
- Merged PRs (30d)
- 4
Description
The server needs to be configured to support JSON mode (or not). For example in the TypeScript SDK there is
enableJsonResponse: trueonStreamableHTTPServerTransport. At the same time, the client also has configuration for what it prefers, that's whatTransportModeonSseClientTransportin the .NET SDK is for. I have no idea about Python but if the SDK is public, you can search through the source code for similarly named symbols.
Originally posted by @TomasHubelbauer in #449
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by searching the C# SDK for transport implementations and symbols related to StreamableHTTPServerTransport, SseClientTransport, TransportMode, and enableJsonResponse. Compare the TypeScript SDK behavior to determine the server and client configuration needed; done means the C# SDK supports a non-SSE JSON-only mode for both sides.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100