modelcontextprotocol / modelcontextprotocol/java-sdk

StdioServerTransportProvider uses incorrect Mono.zip operator

未关闭
#303 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug good first issue P3 ready for work
主要语言
Java
星标
3.7k
派生
1.1k
平均合并
1 天 15 小时
30 天内合并 PR
9

描述

Hello,

I was debugging another issue and looking at the code, and I noticed this line: [#[line]](https://github.com/modelcontextprotocol/java-sdk/blob/2f944349cc77009d020ebddc8b9967b8e1b14baf/mcp/src/main/java/io/modelcontextprotocol/server/transport/StdioServerTransportProvider.java#L152)

When opened in IntelliJ, I noticed this warning being reported:

Image

I am not experienced at all with Mono so I don't know if it's a real problem or not, sharing just in case...

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 mcp/src/main/java/io/modelcontextprotocol/server/transport/StdioServerTransportProvider.java:152 开始,检查周围的 Mono.zip 用法和 IntelliJ 警告。确认该运算符是否不正确并影响 stdio transport,然后检查相关的现有 transport 覆盖情况;当警告或行为得到解决且受影响的路径得到验证时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。