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 摘要。