modelcontextprotocol / modelcontextprotocol/java-sdk
Support Unix Domain Sockets as local-only transport
未关闭
还没有人认领这个 Issue。
enhancement
waiting for triage
- 主要语言
- Java
- 星标
- 3.7k
- 派生
- 1.1k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 9
描述
It would be very helpful to use unix domain sockets (supported in Java 17) for localhost MCP Client <-> MCP Server communication.
Currently, stdio transport is used for testing, debugging, and deployment of MCP servers.
Unix domain sockets (UDS) would provide a localhost-only alternative to stdio.
I've provided an implementation in pr #439, along with test code. I'm open to refactoring, for naming consistency additional extensibility, etc.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
审查 pull request #439 及其配套的测试代码,然后将提议的 Unix 域套接字传输与 MCP 客户端和服务器使用的现有 stdio 传输进行比较。完成标准是:客户端与服务器能够通过 Java 17 的 Unix 域套接字进行通信,并且提供的测试通过。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- networking
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100