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

Typed client calls drop the parse error when a reply misses a required field

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

メンテナーはふだん 3 日以内に返信

@gocamille がすでに取り組んでいます。

2026年10月30日 から。

評価

この issue はまだ評価されていません。

説明

enhancement P2 ready for work T-core T-service

When a server leaves out a required field, like inputSchema on a tool in tools/list, the reply falls through the untagged ServerResult to CustomResult (same thing as #1242), and list_tools only returns UnexpectedResponse. The handshake has the same problem, ExpectedInitResult just carries a Debug dump of the reply. So a client can't tell its user what's wrong with the server.

The typed calls could parse a CustomResult again as the type they expect and keep serde's error, e.g. tools[1]: missing field `inputSchema` . Would you take a PR for this?

主要言語
Rust
スター
4.1k
フォーク
680
平均マージ
3日 19時間
マージ済み PR(30日)
40

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

modelcontextprotocol/rust-sdk のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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