Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add bulk/batch issue label operations

Offen
#2,412 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Ruhig
Tech-Stack
go
Bereich
api, tooling

Rechercherichtung

Überprüfe das vorhandene issue_write MCP-Tool und den GitHub REST-Endpunkt zum Hinzufügen von Labels zu einem Issue. Vergleiche das vorgeschlagene Tool batch_update_issues mit einer Erweiterung von issue_write. Lege anschließend fest, wie ein einzelner Aufruf mehrere Issue-Nummern mit Hinzufüge- und Entfernen-Operationen verarbeiten soll, und überprüfe die dokumentierten Workflows.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

request ai review

[!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:

  1. Make N sequential issue_write calls (slow, noisy)
  2. Fall back to gh CLI 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
  1. "Add the stale label to all issues that haven't been updated in 90 days"
  2. "Label issues #10, #15, #20, #25 as sprint-42"
  3. "Move all needs-triage issues to triaged after review"
  4. "Add breaking-change label 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.

Vorherrschende Sprache
Go
Sterne
33.1k
Forks
5k
Ø Merge
2 T. 1 Std.
Gemergte PRs (30 T.)
25

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/github-mcp-server

Alle Issues in github/github-mcp-server

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.