Feature request: batch-fetch merged PR metadata for release notes / changelog generation
还没有人认领这个 Issue。
评估
调研方向
首先阅读现有的 search_pull_requests 和 list_pull_requests 工具,以及仓库的测试和文档约定。定义有界的 pull_numbers 输入、针对缺失请求或未合并请求的逐 PR 处理方式,以及规范化的元数据响应。在不添加 diff 聚合或 release 推断的情况下,测试和文档覆盖约定的 v1 行为,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Problem
For a release window, teams often have a known list of merged PR numbers. Building a structured changelog today requires opening each PR or scripting against REST/GraphQL outside MCP. Agents would benefit from one MCP call that returns normalized metadata for many PRs.
Proposed solution (v1)
Add a tool that accepts:
owner,repopull_numbers: array of integers (bounded)
Returns (exact fields up to maintainers), per PR, for example:
number,title,html_urlmerged_at,merge_commit_sha(when available)labels(at leastname)authorlogin
Output: JSON suitable for templating Markdown release notes in the client (prose stays in the agent or human editor).
Explicit non-goals (v1):
- Full combined diff across PRs (too heavy); linking to each PR is enough.
- Guessing “what shipped in this release” without an explicit PR list—the caller provides the list.
Why this matters
- Release engineering + agents: “Here are the PRs we shipped” → one call → table/sections for notes, Slack, or tickets.
- Composes with
search_pull_requests/list_pull_requests: caller selects PRs, tool hydrates details.
Relationship to existing requests
- Create/update releases (#1909) addresses publishing a release after notes exist; this request is read-side batch hydration of PR metadata to produce those notes.
Related issues
- Issue/PR relationship graph (planning context, different shape): https://github.com/github/github-mcp-server/issues/1510
- Companion (batch review threads): https://github.com/github/github-mcp-server/issues/2301
Acceptance criteria (suggestion)
- Bounded input; documented max PR count.
- Clear behavior for non-merged or missing PRs (per-PR errors vs fail-all—documented).
- Tests + docs per repo conventions.
Note
We are happy to prototype a PR if maintainers agree on v1 scope.
- 主要语言
- Go
- 星标
- 33.1k
- 派生
- 5k
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 25
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/github-mcp-server 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
github/github-mcp-server#3042 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
github/github-mcp-server#3032 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 74/100
github/github-mcp-server#2803 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
kind/bug status/0-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
🤔 refinement needed
难度 2/5 1-3 小时 新手友好度 75/100
equinor/radix-operator#1979 ·