Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Feature Request: High-level helper tools for GitHub Projects V2 (e.g. move_issue_to_column)

Aberta
#2,603 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github, go, graphql
Domínio
api, tooling

Direção de pesquisa

Comece lendo as ferramentas existentes add_project_item e update_project_item_field, além dos parâmetros propostos na issue e do fluxo de busca. Defina o escopo e o comportamento dos helpers de alto nível para Projects que resolvem Projects, Items, Fields e opções de status; em seguida, verifique se as ferramentas resultantes oferecem suporte aos workflows descritos de issue-to-project e movimentação de status.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

request ai review

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:

  1. Fetch the project list or ID.
  2. Fetch the project items to locate the global node ID of the issue item.
  3. Query the project fields to locate the Status field ID and the specific option ID matching "In Progress".
  4. Call update_project_item_field with 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:

  1. add_issue_to_project:

    • Parameters:
      • project_number (int) or project_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.
  2. move_project_item (or update_project_item_status):

    • Parameters:
      • project_number (int) or project_id (string)
      • repository_owner (string)
      • repository_name (string)
      • issue_number (int) (or pull_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.

These higher-level helper tools would make Projects V2 management significantly easier and more robust for AI agents using the Model Context Protocol.

Linguagem predominante
Go
Estrelas
33.1k
Forks
5k
Merge médio
2d 1h
PRs com merge (30d)
25

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de github/github-mcp-server

Todas as issues de github/github-mcp-server

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.