Skip to content

fix: Adapt to GitHub MCP Tooling Consolidation#354

Merged
jerop merged 3 commits intogoogle-github-actions:mainfrom
cperez08:fix/update-mpc-instructions-and-pin-version
Oct 23, 2025
Merged

fix: Adapt to GitHub MCP Tooling Consolidation#354
jerop merged 3 commits intogoogle-github-actions:mainfrom
cperez08:fix/update-mpc-instructions-and-pin-version

Conversation

@cperez08
Copy link
Copy Markdown
Contributor

@cperez08 cperez08 commented Oct 11, 2025

This pull request addresses recent workflow failures where the Gemini CLI could not perform review tasks due to breaking changes in the GitHub MCP server.

These changes were introduced in the GitHub MCP server's latest release, which consolidated the get_pull_request* tools into a single pull_request_read with multiple methods.

Key Changes and Fixes

  1. Dependency Pinning: The Docker image for the GitHub MCP Server is now pinned to a specific version (v0.18.0) instead of using latest. This prevents unexpected disruptions from future upstream updates and ensures consistent action stability.
  2. Tool Reference Update: Updates MCP tool references and associated prompts for the review and invoke workflows and examples.

For full details on the upstream changes, see the GitHub MCP Server release notes:
v0.18.0 Release Notes

Fixes #353

@google-cla
Copy link
Copy Markdown

google-cla bot commented Oct 11, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@cperez08 cperez08 force-pushed the fix/update-mpc-instructions-and-pin-version branch 2 times, most recently from 94d9cce to 9cc452a Compare October 12, 2025 06:10
werdnum pushed a commit to werdnum/family-assistant that referenced this pull request Oct 21, 2025
This update adapts our Gemini CI workflows to the breaking changes
introduced in GitHub MCP Server v0.18.0, which consolidated multiple
pull request tools into a single 'pull_request_read' tool.

Changes:
- Pin GitHub MCP server to v0.18.0 instead of 'latest' to prevent
  unexpected disruptions from future upstream updates
- Update tool references from individual tools to consolidated
  'pull_request_read' tool:
  * get_pull_request → pull_request_read.get
  * get_pull_request_files → pull_request_read.get_files
  * get_pull_request_diff → pull_request_read.get_diff
- Update prompts to use new tool references
- Maintain dependabot exclusions in dispatch and scheduled-triage
  workflows

Based on google-github-actions/run-gemini-cli#354

Reviewed: cache-no-cache

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
werdnum pushed a commit to werdnum/family-assistant that referenced this pull request Oct 21, 2025
This update adapts our Gemini CI workflows to the breaking changes
introduced in GitHub MCP Server v0.18.0, which consolidated multiple
pull request tools into a single 'pull_request_read' tool.

Changes:
- Pin GitHub MCP server to v0.18.0 instead of 'latest' to prevent
  unexpected disruptions from future upstream updates
- Update tool references from individual tools to consolidated
  'pull_request_read' tool:
  * get_pull_request → pull_request_read.get
  * get_pull_request_files → pull_request_read.get_files
  * get_pull_request_diff → pull_request_read.get_diff
- Update prompts to use new tool references
- Maintain dependabot exclusions in dispatch and scheduled-triage
  workflows

Based on google-github-actions/run-gemini-cli#354

Reviewed: cache-no-cache

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@joshualitt
Copy link
Copy Markdown
Contributor

LGTM

The current Docker image reference for GitHub MCP is using 'latest'.
This is error-prone and has led to recent failures due to breaking
changes, such as tool name consolidations introduced in [v0.18.0](https://github.com/github/github-mcp-server/releases/tag/v0.18.0)
where the `get_pull_request*` tools used in this repo were renamed
and consolidated.
The underlying GitHub MCP server tooling for pull request read
operations has been consolidated, moving away from individual tools like
`get_pull_request*` into a single tool `pull_request_read` with multiple
methods.

Changes were made on [v0.18.0](https://github.com/github/github-mcp-server/releases/tag/v0.18.0) of the GitHub MCP server.
The underlying GitHub MCP server tooling for pull request read
operations has been consolidated, moving away from individual tools like
`get_pull_request*` into a single tool `pull_request_read` with multiple
methods.

Changes were made on [v0.18.0](https://github.com/github/github-mcp-server/releases/tag/v0.18.0) of the GitHub MCP server.
@cperez08 cperez08 force-pushed the fix/update-mpc-instructions-and-pin-version branch from 9cc452a to 4841daa Compare October 23, 2025 03:57
Copy link
Copy Markdown
Contributor

@jerop jerop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @cperez08!

@jerop jerop merged commit 879fbe9 into google-github-actions:main Oct 23, 2025
7 checks passed
google-github-actions-bot added a commit that referenced this pull request Oct 23, 2025
## What's Changed
* Move `gemini-invoke` to custom command. by @joshualitt in
#348
* Move rest of prompts to custom commands. by @joshualitt in
#350
* Normalize tool names in prompts. by @joshualitt in
#351
* Fix interpolation syntax. by @joshualitt in
#357
* Switch to local telemetry and upload manually to GCP by @joshualitt in
#361
* fix: Adapt to GitHub MCP Tooling Consolidation by @cperez08 in
#354
* refactor(ci): prioritize event triggers in dispatch workflow by @jerop
in #366
* fix(action): correct upload artifacts condition by @jerop in
#368

## New Contributors
* @joshualitt made their first contribution in
#348
* @cperez08 made their first contribution in
#354

**Full Changelog**:
v0.1.13...v0.1.14
@cperez08 cperez08 deleted the fix/update-mpc-instructions-and-pin-version branch October 27, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Pull request review is not working, since github-mcp-server 0.18.0

3 participants