Feature Request: High-level helper tools for GitHub Projects V2 (e.g. move_issue_to_column)
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
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ả
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.
- 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ự
-
textual definition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
geneontology/go-ontology#32653 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
needs design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Độ 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 70/100