LearnNewsExamplesServices
Frontmatter
id7663
titleFeat: Implement GitHub API-based ''list_issues'' Tool
stateClosed
labels
enhancementhacktoberfestai
assigneesMannXo
createdAtOct 26, 2025, 1:11 PM
updatedAtNov 1, 2025, 7:22 PM
githubUrlhttps://github.com/neomjs/neo/issues/7663
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 1, 2025, 7:22 PM

Feat: Implement GitHub API-based 'list_issues' Tool

Closed v11.0.0 enhancementhacktoberfestai
tobiu
tobiu commented on Oct 26, 2025, 1:11 PM

This ticket is a feature request to implement a new tool in the github-workflow MCP server.

Motivation: The pr-workflow.md guide (which is now largely obsolete) contained instructions for using gh issue list. Currently, there is no corresponding GitHub API-based tool to list issues from the repository. The existing get_local_issue_by_id tool only allows for local lookup. Implementing a list_issues tool would provide a complete set of GitHub interaction tools for agents.

Implementation Details:

  • GraphQL Query: The FETCH_ISSUES_FOR_SYNC GraphQL query (located in ai/mcp/server/github-workflow/services/queries/issueQueries.mjs) is already comprehensive and can likely be re-used as the basis for this new tool.
  • Service Method: A new method will need to be added to an appropriate service (e.g., IssueService.mjs) to encapsulate the logic for calling the GraphQL API and processing the results.
  • Tool Registration: The new tool (list_issues) must be registered in ai/mcp/server/github-workflow/services/toolService.mjs, mapping it to the newly created service method.
  • OpenAPI Specification: A complete and accurate definition for the list_issues tool, including its input parameters and output shape, must be added to github-workflow/openapi.yaml. Tiny spec errors can break tools completely, so precision is crucial.

Functionality: The new list_issues tool should provide a way to query GitHub's API to retrieve a list of issues, similar to how list_pull_requests works for pull requests.

Parameters: Consider parameters such as limit, state (e.g., open, closed, all), and potentially labels or assignee for filtering.

Documentation: The tool's description in openapi.yaml should be comprehensive and self-explanatory, following the guidelines established in #7659.

tobiu added the enhancement label on Oct 26, 2025, 1:11 PM
tobiu added the ai label on Oct 26, 2025, 1:11 PM
MannXo
MannXo Oct 27, 2025, 1:27 PM

Can I work on this one @tobiu ?

tobiu
tobiu Oct 27, 2025, 1:56 PM

@MannXo Sure. This one should be quite straight forward. Hint: all 3 MCP servers should now be fully functional, and I updated the AGENTS.md file => with a fresh/updated fork definitely worth some testing.

tobiu assigned to @MannXo on Oct 27, 2025, 1:56 PM
tobiu added the hacktoberfest label on Oct 27, 2025, 1:56 PM
MannXo referenced in commit 7f720ed - "feat(mcp/github-workflow): add list_issues tool, OpenAPI path/schemas and verification tests on Oct 28, 2025, 10:24 AM
MannXo cross-referenced by PR #7678 on Oct 28, 2025, 10:31 AM
tobiu closed this issue on Nov 1, 2025, 7:22 PM
tobiu referenced in commit be4f244 - "feat(mcp/github-workflow): add list_issues tool, OpenAPI path/schemas and verification tests on Nov 1, 2025, 7:22 PM