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