modelcontextprotocol / modelcontextprotocol/java-sdk
add a configuration option that can ignore illegal format jsonrpc
未关闭
还没有人认领这个 Issue。
enhancement
P3
- 主要语言
- Java
- 星标
- 3.7k
- 派生
- 1.1k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 9
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查所引用的 Spring AI issue,并跟踪通过 stdio 连接到 Spring AI MCP 服务器时如何处理非法 JSON-RPC 消息。当配置选项能够跳过这些错误,同时输出清晰的面向开发者的日志,且不会意外中断连接时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100