Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Request for Sample: ASP.NET Core MCP Client with One Persisted Connection Per User Session

オープン
#1,126 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
csharp

調査の方向性

まず、リポジトリに既存する MCP クライアントおよびサーバーのサンプルを確認し、最も近い ASP.NET Core またはセッション処理のエントリポイントを特定します。永続化された接続をユーザーセッションごとにどのようにスコープし、クリーンアップし、並行実行のためにシリアライズするか、また Elicitation、Tasks、Progress をどのようにサポートするかを定義します。公式サンプルでこれらの動作が実証され、推奨される stateful アプローチが明確になれば完了です。

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

説明

documentation enhancement help wanted P3 ready for work

Request

Please create an official sample demonstrating how to implement an ASP.NET Core Web API that acts as an MCP client and maintains a persisted MCP connection per user per session. This sample should address:

  • Managing unique MCP connections per user session (not as a server)
  • Connection persistence & cleanup strategy
  • Handling concurrency and avoiding message interleaving
  • Support for critical MCP features (Elicitation, Tasks, Progress streams, etc.) that require a stable client↔server session

Why

Features like Elicitation, Tasks, and Progress in MCP require a long-lived, stable client-to-server session, which isn’t covered in the current samples (existing samples are either server-side or single-user/console apps). A sample showing this pattern will help teams implement full MCP compatibility in scalable web API scenarios.

If my assumption on the need for one connection per user per session is incorrect for these features, please clarify the recommended approach for handling MCP features that require stateful communication.

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

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

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

はじめの一歩

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

modelcontextprotocol/csharp-sdk のほかの issue

modelcontextprotocol/csharp-sdk の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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