-
Couldn't load subscription status.
- Fork 2.9k
Adding default toolset as configuration #1229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
...rver into tonytrg/add-default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a special "default" toolset configuration to simplify workflow setup when working with default and additional toolsets. Instead of requiring users to copy and recreate the default toolset and add specific toolsets, they can now use the default keyword to quickly reference the standard configuration.
- Adds a special
defaulttoolset keyword that expands to the standard toolset configuration - Implements
cleanToolsetsfunction to handle toolset processing logic including deduplication and special keyword expansion - Updates CLI help documentation to explain the new special toolset keywords and provide usage examples
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/github/tools.go | Adds metadata for special toolsets and updates help text generation |
| internal/ghmcp/server.go | Implements cleanToolsets function and integrates it into server initialization |
| internal/ghmcp/server_test.go | Comprehensive test suite for the cleanToolsets function |
| cmd/github-mcp-server/main.go | Updates default toolset initialization to use the new default keyword |
| README.md | Updates documentation to explain special toolsets and usage patterns |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
khondakar1
commented
Oct 15, 2025
Stop all approval request
khondakar1
commented
Oct 15, 2025
Stop all approval request
* 'main' of https://github.com/github/github-mcp-server: Add Gemini CLI extension (github#1232) Adding default toolset as configuration (github#1229)
Uh oh!
There was an error while loading. Please reload this page.
Context
As we now introduce default toolsets, we want to enable the workflow to quickly add specific toolsets to the current experience.
Right now this requires copying and recreating the default toolset and adding the specific toolsets.
To make it easier to configure we allow the additional special toolset
default.Changes
defaulttoolsetCloses: