Typed client calls drop the parse error when a reply misses a required field
メンテナーはふだん 3 日以内に返信
@gocamille がすでに取り組んでいます。
2026年10月30日 から。
評価
この issue はまだ評価されていません。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/rust-sdk のほかの issue
-
auth: refresh_token() requests offline_access that was never granted, so refreshes fail with invalid_scope対応中かも @jstar0 が 22 日前に担当しました。 オープンbug P1 ready for work T-security T-transport
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
modelcontextprotocol/rust-sdk#1330 ·
メンテナーはふだん 3 日以内に返信
-
`register_client` drops `client_secret_expires_at` from the registration response対応中かも @gocamille が 1 日前に担当しました。 オープンbug P2 ready for work T-security
modelcontextprotocol/rust-sdk#1416 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Return merged cache hints from list_all_* client methods対応中かも @gocamille が 2 日前に担当しました。 オープンenhancement P2 ready for work T-service
modelcontextprotocol/rust-sdk#1411 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
auth: refresh_token() always sends `scope`, so refresh fails against Salesforce ("scope parameter not supported")対応中かも @gocamille が 2 日前に担当しました。 オープンbug P2 ready for work T-security T-transport
modelcontextprotocol/rust-sdk#1408 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Auto discovery timeout rejects a late probe response during legacy initialization対応中かも @gocamille が 3 日前に担当しました。 オープンbug P1 ready for work T-service
modelcontextprotocol/rust-sdk#1400 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
modelcontextprotocol/rust-sdk の issue をすべて見る
似ている issue
-
bug duplicate enhancement priority: low ui
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
storytold/pdfcraft#5594 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
open-jarvis/OpenJarvis#1212 ·
メンテナーはふだん 4 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
CakeRepository/agentshangout#38 ·
メンテナーはふだん 1 日以内に返信