Feature Request: High-level helper tools for GitHub Projects V2 (e.g. move_issue_to_column)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia leggendo gli strumenti esistenti add_project_item e update_project_item_field, insieme ai parametri proposti nell'issue e al flusso di ricerca. Definisci l'ambito e il comportamento degli helper di alto livello per i Projects che risolvono Projects, Items, Fields e opzioni di stato, quindi verifica che gli strumenti risultanti supportino i workflow descritti di issue-to-project e spostamento dello stato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, the github-mcp-server provides lower-level Projects V2 tools such as add_project_item and update_project_item_field.
However, these tools are highly dependent on raw GraphQL Global Node IDs (such as item_id, field_id, option_id, etc.) which are difficult for AI agents to retrieve, resolve, and manage dynamically.
For example, to move an issue (e.g. #42 in repository owner/repo) to a project board (e.g. Project Number 1 / Title "Development") in the "In Progress" status column, an AI agent currently has to perform multiple manual lookups:
- Fetch the project list or ID.
- Fetch the project items to locate the global node ID of the issue item.
- Query the project fields to locate the Status field ID and the specific option ID matching
"In Progress". - Call
update_project_item_fieldwith these raw GraphQL node IDs.
This is highly error-prone, requires multiple API round-trips, and makes Projects integration fragile for AI agents.
Proposed Feature:
We would love to see high-level wrapper tools that automate these lookups. For example:
-
add_issue_to_project:- Parameters:
project_number(int) orproject_id(string)repository_owner(string)repository_name(string)issue_number(int)
- Behavior: Automatically resolves the issue's global node ID and adds it to the specified project.
- Parameters:
-
move_project_item(orupdate_project_item_status):- Parameters:
project_number(int) orproject_id(string)repository_owner(string)repository_name(string)issue_number(int) (orpull_request_number/item_id)status_name(string, e.g."In Progress","Done")
- Behavior: Under the hood, resolves the item ID, finds the Project's "Status" field ID, finds the option ID matching the string
status_name, and performs the update.
- Parameters:
These higher-level helper tools would make Projects V2 management significantly easier and more robust for AI agents using the Model Context Protocol.
- Lingua principale
- Go
- Stelle
- 33.1k
- Fork
- 5k
- Merge medio
- 2g 1h
- PR unite (30g)
- 25
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/github-mcp-server
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/github-mcp-server#3235 ·
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
github/github-mcp-server#3042 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/github-mcp-server#3032 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
github/github-mcp-server#2803 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/github-mcp-server#2740 ·
Tutte le issue di github/github-mcp-server
Issue simili
-
textual definition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
geneontology/go-ontology#32653 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
needs design
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100