Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344, add --disable-builtin-mcps flag #1921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the agentic CLI tools to their latest stable releases and adds support for the new
--disable-builtin-mcpsflag introduced in Copilot CLI 0.0.344.Changes
CLI Version Updates
Both are minor patch releases with no breaking changes identified.
New Feature:
--disable-builtin-mcpsFlagAdded the
--disable-builtin-mcpsflag to the Copilot engine configuration. This flag was introduced in Copilot CLI 0.0.344 to disable built-in MCP servers (currently the GitHub MCP server).Why this flag is needed:
The flag ensures that gh-aw has full control over MCP server configuration. When the flag is present:
mcp-config.json) are activeImplementation details:
The flag is added early in the command line arguments (after basic flags like
--add-dirand--log-level, but before tool-specific flags):copilot --add-dir /tmp/gh-aw/ \ --log-level all \ --log-dir /tmp/gh-aw/.copilot/logs/ \ --disable-builtin-mcps \ --allow-tool 'github(...)' \ ...Testing
Files Modified
pkg/constants/constants.go- Updated version constantspkg/workflow/copilot_engine.go- Added--disable-builtin-mcpsflagpkg/workflow/copilot_engine_test.go- Added test coverage.github/workflows/*.lock.yml- Recompiled with new versions (30 files)Copilot CLI 0.0.344 Release Notes
For reference, the key changes in Copilot CLI 0.0.344 include:
--disable-builtin-mcpsflag for opt-outcopilot help configSee: https://github.com/github/copilot-cli/releases/tag/v0.0.344
Fixes #1920
Original prompt
This section details on the original issue you should resolve
<issue_title>[ca] Update Claude Code to 2.0.22 and Copilot CLI to 0.0.344</issue_title>
<issue_description># Update Agentic CLI Tools
This PR updates Claude Code and GitHub Copilot CLI to their latest stable releases.
Summary
Update: Claude Code 2.0.21 → 2.0.22
Version: 2.0.21 → 2.0.22
Release Timeline: October 16-17, 2025 (~22 hours between releases)
NPM Links: 2.0.21 | 2.0.22
Changes
Breaking Changes: None identified
New Features: Unknown (no public changelog available)
Bug Fixes: Unknown (no public changelog available)
Security: None reported
Performance: Unknown
CLI Changes: None detected via
--helpcomparisonImpact Assessment
Update: GitHub Copilot CLI 0.0.343 → 0.0.344
Version: 0.0.343 → 0.0.344
Release Timeline: October 16-18, 2025 (~25 hours between releases)
GitHub Release: v0.0.344
Changes
New Features
-pmodecopilot help configoutputBug Fixes
/terminal-setupcommandCLI Changes (New Flags)
Intermediate Version: 0.0.343 Changes
For context, 0.0.343 (released October 16) included:
--additional-mcp-configflag for temporary MCP server configurationImpact Assessment
-p) users will now have GitHub MCP server availableTesting
make recompilewith new versions.lock.ymlworkflow filesReferences
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
Show patch preview (500 of 712 lines)