modelcontextprotocol / modelcontextprotocol/java-sdk
add a configuration option that can ignore illegal format jsonrpc
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 1.1k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 9
Description
Expected Behavior
add a configuration option that can ignore illegal format jsonrpc
Current Behavior
just break when meeting the illegal behavior.
Context
there is no guarantee that there are no interfering messages when connecting to spring ai mcp server using stdio.
Using the config, we can just skip the error but have a clear log for developers.
pls look at this issue on spring-ai
https://github.com/spring-projects/spring-ai/issues/3769
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 by reviewing the referenced Spring AI issue and tracing how illegal JSON-RPC messages are handled when connecting to a Spring AI MCP server over stdio. Done means a configuration option can skip these errors while emitting a clear developer-facing log, without breaking the connection unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100