-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature or problem you’d like to solve
Currently, github-mcp-server
provides tools to fetch "all comments" from issues, pull requests, and discussions.
get_issue_comments
get_pull_request_comments
get_discussion_comments
While this is useful, it can be inefficient when someone only need to access a specific comment.
So, I would like to request a new tool that can fetch individual comments directly using their anchor IDs, similar to how GitHub URLs work with anchors.
Proposed solution
This would be particularly useful for:
- Fetching specific comments without retrieving the entire comment thread
- Direct access to comments referenced by their URLs
- More efficient API usage when working with large comment threads
- Reduced API calls and bandwidth usage
- Faster access to specific comments
- Better support for comment-specific workflows
- Particularly valuable in restricted environments like GitHub Enterprise, where issue access may be limited
Example prompts or workflows (for tools/toolsets only)
The tool(s) should be able to fetch individual comments like these:
- Issue comment: 403 Forbidden for some users | Remote MCP #672 (comment)
- Pull request comment: Tommy/expand-list-discussions-tool #690 (comment)
- Discussion comment: What features do you most want to see? #545 (comment)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request