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

Bad Request of "Missing Session Id" from a stateful MCP server

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
csharp
領域
api

調査の方向性

まず、報告された 400 レスポンスをベースラインとして、stateful MCP サーバーに対して MCP Client SDK で ListServerTools 呼び出しを再現します。リンクされている stateful/stateless のドキュメントを読み、クライアントが Mcp_Session_Id をどのように処理しているかを追跡します。必要なセッション処理によってリクエストが成功するか、想定されるクライアント設定が明確に文書化されれば完了です。

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

説明

needs repro

I used the MCP Client SDK and was trying to call a MCP server. With a test connection of calling the ListServerTools and got below response:

Response status code does not indicate success: 400 (Bad Request). Response body: {"jsonrpc":"2.0","id":"server-error","error":{"code":-32600,"message":"Bad Request: Missing session ID"}}

I have read the document here https://csharp.sdk.modelcontextprotocol.io/v1/concepts/stateless/stateless.html

In my understanding the client SDK should be able to handle the Mcp_Session_Id internally, or anything I have missed?

主要言語
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 を短くまとめたダイジェスト。