Update GitHub MCP Server to v0.19.0 and add "default" toolset support #2035
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.
Overview
This PR updates the GitHub MCP Server from v0.18.0 to v0.19.0 and adds support for the new "default" toolset feature introduced in the upstream release. This enhancement simplifies workflow configuration by allowing users to specify
toolset: [default]instead of explicitly listing individual toolsets.Changes
1. Version Update (v0.18.0 → v0.19.0)
Updated the default GitHub MCP Server Docker image version across the codebase:
pkg/constants/constants.go: UpdatedDefaultGitHubMCPServerVersionconstantghcr.io/github/github-mcp-server:v0.19.02. "default" Toolset Support
Added support for the new "default" toolset keyword introduced in GitHub MCP Server v0.19.0 PR #1229:
Schema Update:
Usage Examples:
3. Documentation
Updated three documentation files with comprehensive guidance:
.github/instructions/github-agentic-workflows.instructions.mdpkg/cli/templates/instructions.md.github/instructions/github-mcp-server.instructions.mdEach file now explains:
context,repos,issues,pull_requests,users4. Testing
Added comprehensive test coverage for the "default" toolset:
TestGetGitHubToolsets: Validates toolset parsingTestClaudeEngineGitHubToolsetsRendering: Verifies Claude engine outputTestCopilotEngineGitHubToolsetsRendering: Verifies Copilot engine outputTestCodexEngineGitHubToolsetsRendering: Verifies Codex engine outputAll tests verify that:
GITHUB_TOOLSETS=defaultGITHUB_TOOLSETS=default,discussions)Benefits
toolset: [default]instead of listing 5 separate toolsets[default, discussions]vs[context, repos, issues, pull_requests, users, discussions]Validation
Related
Original prompt
Fixes #2034
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.