Add bulk/batch issue label operations
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Xem xét công cụ MCP issue_write hiện có và endpoint REST của GitHub để thêm labels vào một issue. So sánh công cụ batch_update_issues được đề xuất với việc mở rộng issue_write, sau đó xác định cách một lần gọi duy nhất phải xử lý nhiều số issue với các thao tác thêm và xóa, đồng thời xác minh các workflow được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[!Note]
Responses generated with Claude
Describe the feature or problem you'd like to solve
There is no way to add labels to multiple issues in a single MCP tool call. The current issue_write tool supports labeling one issue at a time, but common workflows require labeling dozens of issues matching a search query (e.g., "label all issues from milestone X as priority/high").
This forces MCP clients to either:
- Make N sequential
issue_writecalls (slow, noisy) - Fall back to
ghCLI with scripting (breaks MCP-first pattern)
Proposed solution
Add a batch labeling capability — either as:
Option A: A new batch_update_issues tool that accepts a list of issue numbers and label operations:
{
"owner": "org",
"repo": "repo",
"issue_numbers": [1, 2, 3, 4, 5],
"add_labels": ["priority/high"],
"remove_labels": ["needs-triage"]
}
Option B: Extend issue_write with a batch method that accepts multiple issue numbers.
Example prompts or workflows
- "Add the
stalelabel to all issues that haven't been updated in 90 days" - "Label issues #10, #15, #20, #25 as
sprint-42" - "Move all
needs-triageissues totriagedafter review" - "Add
breaking-changelabel to all issues in the v3.0 milestone"
Additional context
The GitHub REST API supports adding labels to individual issues via POST /repos/{owner}/{repo}/issues/{issue_number}/labels. A batch tool would simply iterate internally, but having it as a single MCP call reduces round-trips and permission prompts for MCP clients like Claude Code.
- Ngôn ngữ chính
- Go
- Star
- 33.1k
- Fork
- 5k
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 25
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/github-mcp-server
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/github-mcp-server#3235 ·
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/github-mcp-server#3042 · 2 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/github-mcp-server#3032 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/github-mcp-server#2803 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/github-mcp-server#2740 ·
Tất cả issue của github/github-mcp-server
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
bug group: validation priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
codecheckers/chekhov#51 ·
-
Creating worktree from an existing remote branch with a slash in it, has unexpected behaviour Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100