modelcontextprotocol / modelcontextprotocol/csharp-sdk

Support a non-SSE JSON-only mode similar to the TypeScript SDKs `enableJsonResponse: true`

オープン
#545 コメント 5 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement needs confirmation P2 ready for work
主要言語
C#
スター
4.5k
フォーク
814
平均マージ
9日 19時間
マージ済み PR(30日)
4

説明

The server needs to be configured to support JSON mode (or not). For example in the TypeScript SDK there is enableJsonResponse: true on StreamableHTTPServerTransport. At the same time, the client also has configuration for what it prefers, that's what TransportMode on SseClientTransport in 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず C# SDK で、StreamableHTTPServerTransport、SseClientTransport、TransportMode、enableJsonResponse に関連するトランスポート実装とシンボルを検索します。必要なサーバーとクライアントの設定を特定するために TypeScript SDK の動作と比較します。完了条件は、C# SDK がサーバー側とクライアント側の両方で SSE を使用しない JSON のみのモードをサポートすることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
api
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。