Skip to content

BREAKING CHANGE: Remove MCP server mode#275

Merged
jpoehnelt merged 2 commits intogoogleworkspace:mainfrom
sqrrrl:no-mcp
Mar 6, 2026
Merged

BREAKING CHANGE: Remove MCP server mode#275
jpoehnelt merged 2 commits intogoogleworkspace:mainfrom
sqrrrl:no-mcp

Conversation

@sqrrrl
Copy link
Member

@sqrrrl sqrrrl commented Mar 6, 2026

Description

Please include a summary of the change and which issue is fixed. If adding a new feature or command, please include the output of running it with --dry-run to prove the JSON request body matches the Discovery Document schema.

Dry Run Output:

// Paste --dry-run output here if applicable

Checklist:

  • My code follows the AGENTS.md guidelines (no generated google-* crates).
  • I have run cargo fmt --all to format the code perfectly.
  • I have run cargo clippy -- -D warnings and resolved all warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have provided a Changeset file (e.g. via pnpx changeset) to document my changes.

@sqrrrl sqrrrl requested a review from jpoehnelt as a code owner March 6, 2026 15:50
@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: 0245fb2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@googleworkspace/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@googleworkspace-bot googleworkspace-bot added area: mcp area: docs area: core Core CLI parsing, commands, error handling, utilities labels Mar 6, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request implements a breaking change by completely removing the Model Context Protocol (MCP) server mode. This change streamlines the application by eliminating a feature that is no longer supported or desired, simplifying the codebase and documentation by removing all associated components and references.

Highlights

  • MCP Server Removal: The Model Context Protocol (MCP) server mode has been entirely removed from the application, including its source code, documentation, and related configuration.
  • Documentation Updates: All references to the MCP server, such as its section in the README and its area label in contributing guidelines, have been removed.
  • Codebase Cleanup: The src/mcp_server.rs file, which housed the MCP server logic, has been deleted, and its import and command handling in src/main.rs have been removed.
Changelog
  • AGENTS.md
    • Removed the area: mcp label from the contributing guidelines.
  • README.md
    • Removed the 'MCP Server' section detailing its usage.
    • Removed the 'MCP Server' entry from the table of contents.
  • src/main.rs
    • Removed the mcp_server module import.
    • Removed the conditional handling for the mcp command.
  • src/mcp_server.rs
    • Deleted the mcp_server.rs file, which contained the Model Context Protocol server implementation.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Generative AI Prohibited Use Policy, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the Model Context Protocol (MCP) server functionality. The changes include deleting the mcp_server.rs file, removing the corresponding module and command handling from main.rs, and updating the documentation in README.md and AGENTS.md to reflect this removal. The changes are consistent and effectively remove the feature from the codebase. The removal appears to be complete with no dangling references found in the provided files.

@googleworkspace-bot
Copy link
Collaborator

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the MCP server mode, which is a significant breaking change. The changes are clean and effectively remove the mcp command and its implementation across the codebase, including documentation updates. My main feedback is regarding the versioning of this breaking change in the changeset file to ensure it follows semantic versioning principles.

@@ -0,0 +1,5 @@
---
"@googleworkspace/cli": minor
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The pull request title correctly identifies this as a BREAKING CHANGE due to the removal of the mcp command. However, the changeset is marked as minor. According to semantic versioning, breaking changes should trigger a major version update. This is important to signal to users that an update will break their existing workflows if they depend on the removed feature.

Suggested change
"@googleworkspace/cli": minor
"@googleworkspace/cli": major

@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.09%. Comparing base (59ad873) to head (0245fb2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #275      +/-   ##
==========================================
+ Coverage   57.95%   59.09%   +1.13%     
==========================================
  Files          37       36       -1     
  Lines       13803    12953     -850     
==========================================
- Hits         7999     7654     -345     
+ Misses       5804     5299     -505     

☔ 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.

@jpoehnelt jpoehnelt merged commit dd3fc90 into googleworkspace:main Mar 6, 2026
32 of 33 checks passed
stefanhoth added a commit to stefanhoth/crusty-proxy that referenced this pull request Mar 6, 2026
v0.8.0+ removes the stdio MCP transport we rely on for proxying
gws commands (see googleworkspace/cli#275). Pinned in Dockerfile
and blocked via Renovate allowedVersions until we have an alternative.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
github-actions bot pushed a commit to stefanhoth/crusty-proxy that referenced this pull request Mar 6, 2026
## [1.9.1](v1.9.0...v1.9.1) (2026-03-06)

### Bug Fixes

* **gws:** pin @googleworkspace/cli to 0.7.0, block Renovate upgrades ([560eea3](560eea3)), closes [googleworkspace/cli#275](googleworkspace/cli#275)
@stefanhoth
Copy link

@sqrrrl Hi there, I started using the cli today and added the MCP to my workflow - so useful! So I was quite shocked to see this PR - already merged no less.

Could you give some insights how you/the team thinks about the future of the MCP?

PS: I realize I match this classic xkcd and I apologize.

shigechika added a commit to shigechika/gws-cli that referenced this pull request Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Core CLI parsing, commands, error handling, utilities area: docs area: mcp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants