Skip to content

fix(.github/workflows): replace github mcp server with gh cli#4695

Closed
julieqiu wants to merge 2 commits intogoogleapis:mainfrom
julieqiu:fix-mcp-create-issue
Closed

fix(.github/workflows): replace github mcp server with gh cli#4695
julieqiu wants to merge 2 commits intogoogleapis:mainfrom
julieqiu:fix-mcp-create-issue

Conversation

@julieqiu
Copy link
Member

Remove use of the GitHub MCP and use the pre-installed GitHub CLI directly for use in Gemini workflows.

The GitHub MCP server was previously being run via a Docker container, which caused issues because Docker is not available on the execution runner. This change removes the use of the GitHub MCP server entirely and instead leverages the pre-installed GitHub CLI tools directly within the workflow execution environment to handle issue and pull request operations.

Fixes googleapis#4664
@julieqiu julieqiu requested a review from a team as a code owner March 20, 2026 01:21
@gemini-code-assist
Copy link
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@julieqiu
Copy link
Member Author

@gemini-cli please confirm if you can create an issue with the updated settings in this PR

@github-actions
Copy link

🤖 Hi @julieqiu, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.10%. Comparing base (ec03ba5) to head (677707d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4695   +/-   ##
=======================================
  Coverage   79.10%   79.10%           
=======================================
  Files         111      111           
  Lines        9420     9420           
=======================================
  Hits         7452     7452           
  Misses       1453     1453           
  Partials      515      515           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

🤖 AI Assistant: Plan of Action

I have analyzed the request and propose the following plan. This plan will not be executed until it is approved by a maintainer.

Resource Estimate:

  • Estimated Tool Calls: ~1
  • Files to Modify: 0

Proposed Steps:

  • Step 1: Post a comment confirming that I cannot create an issue. The github MCP server (which provided the create_issue tool) is removed by the updated settings in this PR, and my security protocol strictly prohibits me from using the gh shell command for repository operations.

Please review this plan. To approve, comment @gemini-cli /approve on this issue. To make changes, comment changes needed.

@julieqiu julieqiu changed the title build(workflows): replace github mcp server with gh cli fix(.github/workflows): replace github mcp server with gh cli Mar 20, 2026
@julieqiu julieqiu closed this Mar 20, 2026
@julieqiu julieqiu reopened this Mar 20, 2026
@julieqiu julieqiu marked this pull request as draft March 20, 2026 02:31
@julieqiu
Copy link
Member Author

@gemini-cli please confirm if you can create an issue with the updated settings in this PR

1 similar comment
@julieqiu
Copy link
Member Author

@gemini-cli please confirm if you can create an issue with the updated settings in this PR

@julieqiu julieqiu closed this Mar 20, 2026
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.

1 participant