feat: add list_repo_milestones + list_repo_labels MCP tools (closes #80) #83
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp!83
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/83/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the two discovery tools requested in issue #80 by @byteflavour.
Problem
Two existing tools require numeric IDs with no way to discover them:
update_issueneeds a milestone IDadd_issue_labelsneeds label IDsThis blocks autonomous AI workflows.
Solution
Two new read-only tools:
list_repo_milestonesid,title,state,open_issues,closed_issues. Optionalstatefilter (open/closed/all).list_repo_labelsid,name,color,description.Changes
operation/issue/issue.go— constants, tool definitions, handler functions,RegisterTool()registrationtest/race/race_test.go—minimalArgsentries for both new toolsREADME.md— tool table updatedCHANGELOG.md— entry addeddemos/list-milestones-labels.md— showboat demo with live Codeberg API outputDemo
See
demos/list-milestones-labels.md— verified withshowboat verify✅Spec: https://codeberg.org/goern/forgejo-mcp/pulls/81