modelcontextprotocol / modelcontextprotocol/java-sdk
Publish a `mcp-annotations` module with just annotations for MCP Server primitives annotations.
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- Java
- 星标
- 3.7k
- 派生
- 1.1k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 9
描述
Would you be open to publish a new module mcp-annotations with just a "standard" set of annotations for MCP Server Primitives (@Tool, @ToolArg, @Prompt, ...)?.
Those annotations could be used by frameworks downstream. That way we would avoid having to duplicate these annotations in the different frameworks.
E.g. Quarkus @Tool annotation:
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看链接的 Quarkus Tool.java 注解示例以及 java-sdk 仓库的模块布局。确定 MCP Server 原语的标准注解集,并定义新的 mcp-annotations 模块;当该模块发布并包含供下游框架使用的约定注解时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend-api-design
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100