Content-Length: 257572 | pFad | http://github.com/github/github-mcp-server/pull/723

37 feat: add add_reply_to_pull_request_comment tool by plaskowski · Pull Request #723 · github/github-mcp-server · GitHub
Skip to content

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

plaskowski
Copy link

@plaskowski plaskowski commented Jul 21, 2025

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: #635

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support replying to existing PR review comments
1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/github/github-mcp-server/pull/723

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy