Feature Request: High-level helper tools for GitHub Projects V2 (e.g. move_issue_to_column)
还没有人认领这个 Issue。
评估
调研方向
首先阅读现有的 add_project_item 和 update_project_item_field 工具,以及 issue 中提议的参数和查找流程。定义能够解析 Projects、Items、Fields 和状态选项的高级 Project helpers 的范围和行为,然后验证最终的工具支持所描述的 issue-to-project 和状态移动工作流。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Go
- 星标
- 33.1k
- 派生
- 5k
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 25
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/github-mcp-server 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
github/github-mcp-server#3235 ·
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
github/github-mcp-server#3042 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
github/github-mcp-server#3032 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 74/100
github/github-mcp-server#2803 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
github/github-mcp-server#2740 ·
查看 github/github-mcp-server 的全部 Issue
相似的 Issue
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
kind/bug status/0-triage
难度 2/5 1-3 小时 新手友好度 75/100
-
🤔 refinement needed
难度 2/5 1-3 小时 新手友好度 75/100
equinor/radix-operator#1979 ·