Fix find_issues MCP tool: use correct Forgejo API endpoint #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/find-issues-endpoint"
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
find_issuestool returning 404 by changing endpoint from non-existent/finder/issuesto/repos/issues/searchRepositoryMetatype andrepositoryfield onIssuefor cross-repo contextrequest_with_headers()method to captureX-Total-Countresponse headerassigneeusername toassigned=trueAPI param + client-side username filteringmilestone→milestones, addqsearch parameter to match Forgejo APIFinderIssueResulttype (replaced byIssue+RepositoryMeta)Issueinstead ofFinderIssueResultTest plan
cargo buildpassescargo testpasses (2/2 tests)forgejo_find_issueswith no params returns issuesforgejo_find_issueswithstate=openreturns open issuesforgejo_find_issueswithassignee=delandtjreturns assigned issuesforgejo_find_issueswithowner=ourworld_itreturns org issues