-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat: add add_reply_to_pull_request_comment tool #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add a new tool that allows AI agents to reply to existing pull request comments. This tool uses GitHub's CreateCommentInReplyTo REST API to create threaded conversations on pull requests. Features: - Reply to any existing PR comment using its ID - Proper error handling for missing parameters and API failures - Comprehensive test coverage (8 test cases) - Follows project patterns and conventions - Registered in pull_requests toolset as a write operation Parameters: - owner: Repository owner (required) - repo: Repository name (required) - pullNumber: Pull request number (required) - commentId: ID of comment to reply to (required) - body: Reply text content (required) This tool complements the existing add_comment_to_pending_review tool by enabling responses to already-posted comments, enhancing AI-powered code review workflows. Closes: #N/A
|
Hi @plaskowski Is this PR ready for review? |
|
@skanehira I have been using it for a while from my fork. To be honest I don't plan to work on this soon so feel free to pick up the work to bring it to mergable state. |
|
@plaskowski is this what will enable Claude to reply to these kinds of comments?
If so, what needs to be done to bring this to a mergeable state? Happy to try to help. |
yes
I will be honest - I have no idea as I have not yet read the contribution guideline. Most likely some test coverage and then maintainer review. The tool itself already works, I am using it (by using my fork built locally). |
|
@plaskowski, I've taken this up in another PR to get into a mergeable state. Can you describe how you've been using it locally so that I can do the same and test it myself? |
|
I was instructing the agent in simple terms. Initially it posted as general
comment but after few back and forth it understood that I want to reply in
thread (in don't recall what exact term I used)
…On Wed, Jan 21, 2026 at 4:19 PM Ilya Kamens ***@***.***> wrote:
*ilyakamens* left a comment (github/github-mcp-server#723)
<#723 (comment)>
@plaskowski <https://github.com/plaskowski>, I've taken this up in
another PR to get into a mergeable state. Can you describe how you've been
using it locally so that I can do the same and test it myself?
—
Reply to this email directly, view it on GitHub
<#723 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPIF4ZF6TOPJNT3DHFYPU34H6KGTAVCNFSM6AAAAACCAX6TIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONZYG42DQNRWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Oops, sorry. I was trying to ask how you ran it locally. Was it by following this and running it in Docker? https://github.com/github/github-mcp-server?tab=readme-ov-file#prerequisites-1 |
|
Yes, I have build the docker image locally
…On Wed, Jan 21, 2026 at 11:35 PM Ilya Kamens ***@***.***> wrote:
*ilyakamens* left a comment (github/github-mcp-server#723)
<#723 (comment)>
Oops, sorry. I was trying to ask how you ran it locally. Was it by
following this and running it in Docker?
https://github.com/github/github-mcp-server?tab=readme-ov-file#prerequisites-1
—
Reply to this email directly, view it on GitHub
<#723 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPIF43EYMUBRWTC5N5VCMT4H75JXAVCNFSM6AAAAACCAX6TIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOOBRGQ2TOMRXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
PR opened: #1856 We'll see how it goes! |

Add a new tool that allows AI agents to reply to existing pull request comments. This tool uses GitHub's CreateCommentInReplyTo REST API to create threaded conversations on pull requests.
Features:
Parameters:
This tool complements the existing add_comment_to_pending_review tool by enabling responses to already-posted comments, enhancing AI-powered code review workflows.
Closes: #635