modelcontextprotocol / modelcontextprotocol/java-sdk
StdioServerTransportProvider uses incorrect Mono.zip operator
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 1.1k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 9
Description
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:
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...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at mcp/src/main/java/io/modelcontextprotocol/server/transport/StdioServerTransportProvider.java:152 and inspect the surrounding Mono.zip usage and the IntelliJ warning. Verify whether the operator is incorrect and affects the stdio transport, then check relevant existing transport coverage; done means the warning or behavior is resolved and the affected path is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100