Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#2,603 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, go, graphql
Lĩnh vực
api, tooling

Hướng nghiên cứu

Bắt đầu bằng cách đọc các tool add_project_item và update_project_item_field hiện có, cùng với các tham số được đề xuất trong issue và luồng tra cứu. Xác định phạm vi và hành vi cho các helper cấp cao của Project có chức năng phân giải Projects, Items, Fields và các tùy chọn trạng thái, sau đó xác minh rằng các tool kết quả hỗ trợ các workflow issue-to-project và chuyển trạng thái được mô tả.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/github-mcp-server

Tất cả issue của github/github-mcp-server

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.