René's URL Explorer Experiment


Title: Split PR review creation, commenting, submission and deletion by williammartin · Pull Request #410 · github/github-mcp-server · GitHub

Open Graph Title: Split PR review creation, commenting, submission and deletion by williammartin · Pull Request #410 · github/github-mcp-server

X Title: Split PR review creation, commenting, submission and deletion by williammartin · Pull Request #410 · github/github-mcp-server

Description: Description Fixes #343 This is a very large PR as a result of needing to: Split an existing tool into multiple finer grained tools Introducing GraphQL support Previously, PR review submission and commenting was provided by: add_pull_request_review_comment create_pull_request_review However, Gemini experienced issues with the schema for comments on create_pull_request_review. The original desire was to remove comments from that schema and require users to use add_pull_request_review_comment but as it turns out, this tool isn't that useful because it was backed by the REST API which only allows the addition of a single comment and then submits the review. As a result, this PR has introduced a number of new tools backed by the GraphQL API: create_pending_pull_request_review add_pull_request_review_comment_to_pending_review submit_pending_pull_request_review A tool was added to create and submit a review without comments: create_and_submit_pull_request_review A tool was added to clean up pending reviews which were previously not a valid state: delete_pending_pull_request_review Finally, in order to help the LLM determine line numbers for pull requests we added: get_pull_request_diff It's important to note that these tools are focused on working with a review that the caller owns. It does not allow adding arbitrary comments to review threads. Example: Created: https://github.com/github/github-mcp-server/pull/410/files#r2095483869 This worked with both GPT-4.1 and Gemini. E2E Tests github.com Details ➜ github-mcp-server git:(343-remove-comments-from-create_pull_request_review) ✗ GOMAXPROCS=1 GITHUB_MCP_SERVER_E2E_HOST=https://github.com GITHUB_MCP_SERVER_E2E_TOKEN=$(gh auth token --hostname github.com) go test -v -count=1 --tags e2e ./e2e === RUN TestGetMe === PAUSE TestGetMe === RUN TestToolsets === PAUSE TestToolsets === RUN TestTags === PAUSE TestTags === RUN TestFileDeletion === PAUSE TestFileDeletion === RUN TestDirectoryDeletion === PAUSE TestDirectoryDeletion === RUN TestRequestCopilotReview === PAUSE TestRequestCopilotReview === RUN TestPullRequestAtomicCreateAndSubmit === PAUSE TestPullRequestAtomicCreateAndSubmit === RUN TestPullRequestReviewCommentSubmit === PAUSE TestPullRequestReviewCommentSubmit === RUN TestPullRequestReviewDeletion === PAUSE TestPullRequestReviewDeletion === CONT TestGetMe e2e_test.go:76: Building Docker image for e2e tests... e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestGetMe (2.44s) === CONT TestPullRequestReviewDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1360: Getting current user... e2e_test.go:1389: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1413: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1430: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1447: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1462: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1480: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1507: Deleting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1513: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... e2e_test.go:1398: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652889839... --- PASS: TestPullRequestReviewDeletion (6.96s) === CONT TestPullRequestReviewCommentSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1115: Getting current user... e2e_test.go:1144: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1168: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1185: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1214: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1229: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1250: Adding file review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1270: Adding single line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1292: Adding multi line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1308: Submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1322: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... e2e_test.go:1153: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652896783... --- PASS: TestPullRequestReviewCommentSubmit (11.26s) === CONT TestPullRequestAtomicCreateAndSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:955: Getting current user... e2e_test.go:984: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:1008: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:1025: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:1054: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:1071: Creating and submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:1085: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... e2e_test.go:993: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652908027... --- PASS: TestPullRequestAtomicCreateAndSubmit (5.49s) === CONT TestRequestCopilotReview e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:810: Getting current user... e2e_test.go:839: Creating repository williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:863: Creating branch in williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:880: Creating commit with new file in williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:908: Creating pull request in williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:922: Requesting Copilot review for pull request in williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:934: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... e2e_test.go:848: Deleting repository williammartin/github-mcp-server-e2e-TestRequestCopilotReview-1747652913523... --- PASS: TestRequestCopilotReview (4.53s) === CONT TestDirectoryDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:611: Getting current user... e2e_test.go:639: Creating repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:663: Creating branch in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:680: Creating commit with new file in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:698: Getting file contents in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:726: Deleting directory in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:740: Listing commits in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... e2e_test.go:774: Getting commit williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067:19469e4668a4c95924f09208dcd5dcd2531cbff1... e2e_test.go:648: Deleting repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652918067... --- PASS: TestDirectoryDeletion (5.28s) === CONT TestFileDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:419: Getting current user... e2e_test.go:447: Creating repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:471: Creating branch in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:488: Creating commit with new file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:503: Getting file contents in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:531: Deleting file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:545: Listing commits in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... e2e_test.go:579: Getting commit williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359:c19b22660f4bd4206bc295b772b113df8f353df6... e2e_test.go:456: Deleting repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652923359... --- PASS: TestFileDeletion (5.22s) === CONT TestTags e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:281: Getting current user... e2e_test.go:310: Creating repository williammartin/github-mcp-server-e2e-TestTags-1747652928525... e2e_test.go:327: Creating tag williammartin/github-mcp-server-e2e-TestTags-1747652928525:v0.0.1... e2e_test.go:357: Listing tags for williammartin/github-mcp-server-e2e-TestTags-1747652928525... e2e_test.go:390: Getting tag williammartin/github-mcp-server-e2e-TestTags-1747652928525:v0.0.1... e2e_test.go:319: Deleting repository williammartin/github-mcp-server-e2e-TestTags-1747652928525... --- PASS: TestTags (4.03s) === CONT TestToolsets e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestToolsets (0.18s) PASS ok github.com/github/github-mcp-server/e2e 45.657s GHES Details ➜ github-mcp-server git:(343-remove-comments-from-create_pull_request_review) GOMAXPROCS=1 GITHUB_MCP_SERVER_E2E_HOST=https://ghe.io GITHUB_MCP_SERVER_E2E_TOKEN=$(gh auth token --hostname ghe.io) go test -v -count=1 --tags e2e ./e2e === RUN TestGetMe === PAUSE TestGetMe === RUN TestToolsets === PAUSE TestToolsets === RUN TestTags === PAUSE TestTags === RUN TestFileDeletion === PAUSE TestFileDeletion === RUN TestDirectoryDeletion === PAUSE TestDirectoryDeletion === RUN TestRequestCopilotReview e2e_test.go:797: Skipping test because the host does not support copilot reviews --- SKIP: TestRequestCopilotReview (0.00s) === RUN TestPullRequestAtomicCreateAndSubmit === PAUSE TestPullRequestAtomicCreateAndSubmit === RUN TestPullRequestReviewCommentSubmit === PAUSE TestPullRequestReviewCommentSubmit === RUN TestPullRequestReviewDeletion === PAUSE TestPullRequestReviewDeletion === CONT TestGetMe e2e_test.go:76: Building Docker image for e2e tests... e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestGetMe (1.43s) === CONT TestPullRequestReviewDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1360: Getting current user... e2e_test.go:1389: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1413: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1430: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1447: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1462: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1480: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1507: Deleting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1513: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... e2e_test.go:1398: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652364427... --- PASS: TestPullRequestReviewDeletion (15.82s) === CONT TestPullRequestReviewCommentSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1115: Getting current user... e2e_test.go:1144: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1168: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1185: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1214: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1229: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1250: Adding file review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1270: Adding single line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1292: Adding multi line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1308: Submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1322: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... e2e_test.go:1153: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652380360... --- PASS: TestPullRequestReviewCommentSubmit (20.76s) === CONT TestPullRequestAtomicCreateAndSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:955: Getting current user... e2e_test.go:984: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:1008: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:1025: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:1054: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:1071: Creating and submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:1085: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... e2e_test.go:993: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652401180... --- PASS: TestPullRequestAtomicCreateAndSubmit (15.77s) === CONT TestDirectoryDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:611: Getting current user... e2e_test.go:639: Creating repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:663: Creating branch in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:680: Creating commit with new file in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:698: Getting file contents in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:726: Deleting directory in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:740: Listing commits in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... e2e_test.go:774: Getting commit williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798:acc838ff4168023b112c524208c18b025e4d5bf6... e2e_test.go:648: Deleting repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652416798... --- PASS: TestDirectoryDeletion (16.60s) === CONT TestFileDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:419: Getting current user... e2e_test.go:447: Creating repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:471: Creating branch in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:488: Creating commit with new file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:503: Getting file contents in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:531: Deleting file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:545: Listing commits in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... e2e_test.go:579: Getting commit williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355:0f170b760e7e4e73de707f300cd68f6e260af44b... e2e_test.go:456: Deleting repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652433355... --- PASS: TestFileDeletion (17.15s) === CONT TestTags e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:281: Getting current user... e2e_test.go:310: Creating repository williammartin/github-mcp-server-e2e-TestTags-1747652450592... e2e_test.go:327: Creating tag williammartin/github-mcp-server-e2e-TestTags-1747652450592:v0.0.1... e2e_test.go:357: Listing tags for williammartin/github-mcp-server-e2e-TestTags-1747652450592... e2e_test.go:390: Getting tag williammartin/github-mcp-server-e2e-TestTags-1747652450592:v0.0.1... e2e_test.go:319: Deleting repository williammartin/github-mcp-server-e2e-TestTags-1747652450592... --- PASS: TestTags (10.59s) === CONT TestToolsets e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestToolsets (0.18s) PASS ok github.com/github/github-mcp-server/e2e 98.542s GHEC Details ➜ github-mcp-server git:(343-remove-comments-from-create_pull_request_review) GOMAXPROCS=1 GITHUB_MCP_SERVER_E2E_HOST=https://staffship-01.ghe.com GITHUB_MCP_SERVER_E2E_TOKEN=$(gh auth token --hostname staffship-01.ghe.com) go test -v -count=1 --tags e2e ./e2e === RUN TestGetMe === PAUSE TestGetMe === RUN TestToolsets === PAUSE TestToolsets === RUN TestTags === PAUSE TestTags === RUN TestFileDeletion === PAUSE TestFileDeletion === RUN TestDirectoryDeletion === PAUSE TestDirectoryDeletion === RUN TestRequestCopilotReview e2e_test.go:797: Skipping test because the host does not support copilot reviews --- SKIP: TestRequestCopilotReview (0.00s) === RUN TestPullRequestAtomicCreateAndSubmit === PAUSE TestPullRequestAtomicCreateAndSubmit === RUN TestPullRequestReviewCommentSubmit === PAUSE TestPullRequestReviewCommentSubmit === RUN TestPullRequestReviewDeletion === PAUSE TestPullRequestReviewDeletion === CONT TestGetMe e2e_test.go:76: Building Docker image for e2e tests... e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestGetMe (3.66s) === CONT TestPullRequestReviewDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1360: Getting current user... e2e_test.go:1389: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1413: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1430: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1447: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1462: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1480: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1507: Deleting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1513: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... e2e_test.go:1398: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewDeletion-1747652508440... --- PASS: TestPullRequestReviewDeletion (10.60s) === CONT TestPullRequestReviewCommentSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:1115: Getting current user... e2e_test.go:1144: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1168: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1185: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1214: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1229: Creating pending review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1250: Adding file review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1270: Adding single line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1292: Adding multi line review comment to pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1308: Submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1322: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... e2e_test.go:1153: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestReviewCommentSubmit-1747652519303... --- PASS: TestPullRequestReviewCommentSubmit (18.60s) === CONT TestPullRequestAtomicCreateAndSubmit e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:955: Getting current user... e2e_test.go:984: Creating repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:1008: Creating branch in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:1025: Creating commit with new file in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:1054: Creating pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:1071: Creating and submitting review for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:1085: Getting reviews for pull request in williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... e2e_test.go:993: Deleting repository williammartin/github-mcp-server-e2e-TestPullRequestAtomicCreateAndSubmit-1747652537651... --- PASS: TestPullRequestAtomicCreateAndSubmit (9.81s) === CONT TestDirectoryDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:611: Getting current user... e2e_test.go:639: Creating repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:663: Creating branch in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:680: Creating commit with new file in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:698: Getting file contents in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:726: Deleting directory in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:740: Listing commits in williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... e2e_test.go:774: Getting commit williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435:2e082560a63f76f6604af4ccbd413e665b33fff7... e2e_test.go:648: Deleting repository williammartin/github-mcp-server-e2e-TestDirectoryDeletion-1747652547435... --- PASS: TestDirectoryDeletion (8.51s) === CONT TestFileDeletion e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:419: Getting current user... e2e_test.go:447: Creating repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:471: Creating branch in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:488: Creating commit with new file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:503: Getting file contents in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:531: Deleting file in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:545: Listing commits in williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... e2e_test.go:579: Getting commit williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997:8ce03e432fcd67b4ead2d763199365becf0c33d6... e2e_test.go:456: Deleting repository williammartin/github-mcp-server-e2e-TestFileDeletion-1747652555997... --- PASS: TestFileDeletion (8.05s) === CONT TestTags e2e_test.go:159: Starting Stdio MCP client... e2e_test.go:281: Getting current user... e2e_test.go:310: Creating repository williammartin/github-mcp-server-e2e-TestTags-1747652563993... e2e_test.go:327: Creating tag williammartin/github-mcp-server-e2e-TestTags-1747652563993:v0.0.1... e2e_test.go:357: Listing tags for williammartin/github-mcp-server-e2e-TestTags-1747652563993... e2e_test.go:390: Getting tag williammartin/github-mcp-server-e2e-TestTags-1747652563993:v0.0.1... e2e_test.go:319: Deleting repository williammartin/github-mcp-server-e2e-TestTags-1747652563993... --- PASS: TestTags (6.14s) === CONT TestToolsets e2e_test.go:159: Starting Stdio MCP client... --- PASS: TestToolsets (0.20s) PASS ok github.com/github/github-mcp-server/e2e 65.794s

Open Graph Description: Description Fixes #343 This is a very large PR as a result of needing to: Split an existing tool into multiple finer grained tools Introducing GraphQL support Previously, PR review submission and...

X Description: Description Fixes #343 This is a very large PR as a result of needing to: Split an existing tool into multiple finer grained tools Introducing GraphQL support Previously, PR review submission and...

Opengraph URL: https://github.com/github/github-mcp-server/pull/410

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4ce6ac8d-2bb4-206e-173e-356ab14daec5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBEC:5BC3A:2AD4:37EE:6B072D90
html-safe-nonce352a911a525ba306b98800c127469ae4270a039e2addb754f43b922549d1bf1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkVDOjVCQzNBOjJBRDQ6MzdFRTo2QjA3MkQ5MCIsInZpc2l0b3JfaWQiOiI1NTg5NDI3MDc0NTI1MjQ0ODE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac992a9c8912b1473cc0ef35463e954a9634d5e3d08db870c34347fe5fc05a7fbf
hovercard-subject-tagpull_request:2528309372
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/github-mcp-server/pull/410/files
twitter:imagehttps://avatars.githubusercontent.com/u/1611510?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1611510?s=400&v=4
og:image:altDescription Fixes #343 This is a very large PR as a result of needing to: Split an existing tool into multiple finer grained tools Introducing GraphQL support Previously, PR review submission and...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned0534ce3ec0f37caea4f39713cbc8a6a509506c09c7ac30e8e3e2e15348bd9c1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id942771284
octolytics-dimension-repository_nwogithub/github-mcp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id942771284
octolytics-dimension-repository_network_root_nwogithub/github-mcp-server
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea73ca0a5164c4669446bdffe239b0d7542ad735e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/github-mcp-server/pull/410/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F410%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fgithub-mcp-server%2Fpull%2F410%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fgithub-mcp-server
Reloadhttps://github.com/github/github-mcp-server/pull/410/files
Reloadhttps://github.com/github/github-mcp-server/pull/410/files
Reloadhttps://github.com/github/github-mcp-server/pull/410/files
githubhttps://github.com/github
github-mcp-serverhttps://github.com/github/github-mcp-server
Codehttps://github.com/github/github-mcp-server
Issues238 (238)https://github.com/github/github-mcp-server/issues
Pull requests227 (227)https://github.com/github/github-mcp-server/pulls
Discussionshttps://github.com/github/github-mcp-server/discussions
Actionshttps://github.com/github/github-mcp-server/actions
Security and quality2 (2)https://github.com/github/github-mcp-server/security
Insightshttps://github.com/github/github-mcp-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fgithub-mcp-server%2Fissues%2Fnew%2Fchoose
SamMorrowDrumshttps://github.com/SamMorrowDrums
mainhttps://github.com/github/github-mcp-server/tree/main
343-remove-comments-from-create_pull_request_reviewhttps://github.com/github/github-mcp-server/tree/343-remove-comments-from-create_pull_request_review
Conversation 24 https://github.com/github/github-mcp-server/pull/410
Commits 1 https://github.com/github/github-mcp-server/pull/410/commits
Checks 0 https://github.com/github/github-mcp-server/pull/410/checks
Findings https://github.com/github/github-mcp-server/pull/410/findings
Files changed https://github.com/github/github-mcp-server/pull/410/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
Split PR review creation, commenting, submission and deletion https://github.com/github/github-mcp-server/pull/410/files#top
Show all changes 1 commit https://github.com/github/github-mcp-server/pull/410/files
1de146b Split PR review creation, commenting, submission and deletion williammartin Apr 25, 2025 https://github.com/github/github-mcp-server/pull/410/commits/1de146b39f68c73dae6a718d7b137ac8ebf6247e
Clear filters https://github.com/github/github-mcp-server/pull/410/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
e2e_test.go https://github.com/github/github-mcp-server/pull/410/files#diff-e91d29c6d4c58503d9c2d72e2b04f1b70901a613e23008d1d1cfe8beff7038d4
go.mod https://github.com/github/github-mcp-server/pull/410/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
go.sum https://github.com/github/github-mcp-server/pull/410/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
server.go https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
githubv4mock.go https://github.com/github/github-mcp-server/pull/410/files#diff-0ca778f0e83993101bfd5eaa20f05bd78a0b37a5c8b056fd4e47ca4d377e0949
local_round_tripper.go https://github.com/github/github-mcp-server/pull/410/files#diff-8e5e2dbf928d243171f5e224695cb344c2fcd1e8b8e317f0876c4522adc3d714
objects_are_equal_values.go https://github.com/github/github-mcp-server/pull/410/files#diff-119d75b1c17ce55c65c51fb49cd8ce3cb29963e2f8948c9a2084ca7bdedecd15
objects_are_equal_values_test.go https://github.com/github/github-mcp-server/pull/410/files#diff-573beca1ecfc2f1bc44c33a368c1be18de2d6f4ea797f62b677509ab5f6ec7c8
query.go https://github.com/github/github-mcp-server/pull/410/files#diff-ee6021175c158feb2e3a8efc816f3efe86f5d30155497d2655b42c398d207b7c
helper_test.go https://github.com/github/github-mcp-server/pull/410/files#diff-e8fa532ff8ba951d7e64e769647b469b857271a3926192545c2d9ab7bb94f402
pullrequests.go https://github.com/github/github-mcp-server/pull/410/files#diff-c2e2a7250ef597d08ee5d429159bc89c4b862a7ed6cbcf30b8231a3ec599d190
pullrequests_test.go https://github.com/github/github-mcp-server/pull/410/files#diff-efebb180e5ae7933bb1c29403a3c82937a5716357f0c9538781f23770635872f
server_test.go https://github.com/github/github-mcp-server/pull/410/files#diff-014ce2a5e97b449dbaacef3a9a5b1cb9bd0e7a863b095ef29117af2a1d3bdf85
tools.go https://github.com/github/github-mcp-server/pull/410/files#diff-bcdea1f25cf43d8b075cfa770714fc9db90a9fe0bb05e5172304b66912b33889
third-party-licenses.darwin.md https://github.com/github/github-mcp-server/pull/410/files#diff-e4cb81371a7eb69f52c0c3e0d88e88ffca440f18fb38d292135e5acf706becea
third-party-licenses.linux.md https://github.com/github/github-mcp-server/pull/410/files#diff-11cd7bbf955824294eca14577a315025a4f4c81cc6fc678414983199d9497830
third-party-licenses.windows.md https://github.com/github/github-mcp-server/pull/410/files#diff-b9bb4518ae54a3751ff96ac27a80508a05d3eaf6a7c0e012b2a68b8f61a6b526
LICENSE https://github.com/github/github-mcp-server/pull/410/files#diff-16cd324c1af8b1fdb820c9ed1812a27c04b0a372fdc9a8d5b68d5faaa7f3e6f8
LICENSE https://github.com/github/github-mcp-server/pull/410/files#diff-b3b690f409fb02dbaad75755654b8c41b7aa46406dc0fa64132033ee8c6810db
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
e2e/e2e_test.gohttps://github.com/github/github-mcp-server/pull/410/files#diff-e91d29c6d4c58503d9c2d72e2b04f1b70901a613e23008d1d1cfe8beff7038d4
View file https://github.com/github/github-mcp-server/blob/1de146b39f68c73dae6a718d7b137ac8ebf6247e/e2e/e2e_test.go
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
go.modhttps://github.com/github/github-mcp-server/pull/410/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/github/github-mcp-server/blob/1de146b39f68c73dae6a718d7b137ac8ebf6247e/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/410/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/410/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/github/github-mcp-server/pull/410/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/github/github-mcp-server/pull/410/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
go.sumhttps://github.com/github/github-mcp-server/pull/410/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
View file https://github.com/github/github-mcp-server/blob/1de146b39f68c73dae6a718d7b137ac8ebf6247e/go.sum
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/410/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/410/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
https://github.com/github/github-mcp-server/pull/410/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
https://github.com/github/github-mcp-server/pull/410/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63
https://github.com/github/github-mcp-server/blob/main/.github/CODEOWNERS#L1
internal/ghmcp/server.gohttps://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
View file https://github.com/github/github-mcp-server/blob/1de146b39f68c73dae6a718d7b137ac8ebf6247e/internal/ghmcp/server.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/github-mcp-server/pull/410/{{ revealButtonHref }}
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
williammartinhttps://github.com/williammartin
May 19, 2025https://github.com/github/github-mcp-server/pull/410/files#r2095425286
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
SamMorrowDrumshttps://github.com/SamMorrowDrums
May 19, 2025https://github.com/github/github-mcp-server/pull/410/files#r2095589166
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
https://github.com/github/github-mcp-server/pull/410/files#diff-efffdb5f6c0e96b376f9f02d7a887ea629058c21a95e161981c5c08e41f12e0c
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
Please reload this pagehttps://github.com/github/github-mcp-server/pull/410/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.