Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

URL mode elicitation requires elicitationId, which the 2026-07-28 schema removed

未關閉
#1,399 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 3 天內回覆

@gocamille 已經在處理了。

開始於 2026年10月27日。

評估

這個 Issue 還沒有評估資料。

描述

bug P1 ready for work T-model

ElicitRequestParams::UrlElicitationParams (and ElicitRequestParamsWire::Url) declare elicitation_id: String as required (crates/rmcp/src/model.rs, current main). In the 2026-07-28 schema, ElicitRequestURLParams has mode, message and url only (schema/2026-07-28/schema.ts): the id served notifications/elicitation/complete, which that revision dropped, since the retry of the call is the completion.

So a server that answers a tools/call with a spec-conformant input_required result holding a URL elicitation is refused by an rmcp client: the input request does not deserialize as InputRequest::Elicitation. Codex 0.164.0 then fails the call with -32600: unsupported MCP tool input request (codex-rs/rmcp-client/src/tool_input.rs, parse_input).

Minimal input request that fails to parse:

{"method":"elicitation/create","params":{"mode":"url","message":"Sign in to github to continue.","url":"https://example.com/oauth/start"}}

Expected: elicitation_id optional (Option<String>) for URL mode, required only where the negotiated protocol is 2025-11-25.

主要語言
Rust
星號
4.1k
分支
680
平均合併
3 天 23 小時
30 天內合併 PR
34

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

modelcontextprotocol/rust-sdk 的其他 Issue

查看 modelcontextprotocol/rust-sdk 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。