- Notifications
You must be signed in to change notification settings - Fork2.7k
feat: Add GitHub Packages toolset#1209
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
- Introduced new tools for managing GitHub Packages, including listing, retrieving, and deleting packages and their versions.- Implemented comprehensive unit tests for the new package-related tools to ensure functionality and error handling.- Updated toolset metadata to include the new packages tools in the available tools list.
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 comprehensive GitHub Packages toolset to the GitHub MCP Server, enabling management and retrieval of package information for both organizations and users. The addition provides nine package-related operations including listing, retrieving details, and deletion capabilities for packages and their versions.
- Adds a new "packages" toolset with read/write operations for managing GitHub packages
- Implements comprehensive test coverage for all package operations with proper error handling scenarios
- Updates documentation to include the new packages toolset with detailed tool descriptions
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
pkg/github/tools.go | Adds packages toolset metadata and integrates it into the default toolset group |
pkg/github/packages.go | Implements all package-related operations with proper error handling and API interactions |
pkg/github/packages_test.go | Comprehensive test suite covering all package operations with success and error scenarios |
pkg/github/toolsnaps/*.snap | Generated tool snapshots for all package operations with proper schema definitions |
docs/remote-server.md | Documents the new packages toolset with installation links |
README.md | Updates toolset list and adds detailed package tool documentation |
Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.
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.
pkg/github/toolsnaps/delete_org_package.snap
This pull request introduces a new "Packages" toolset to the GitHub MCP Server, enabling management and retrieval of GitHub Packages and their versions for both organizations and users. It updates documentation and code to include the new toolset, and adds support for several package-related operations such as listing, retrieving, and deleting packages and versions.
New Packages toolset integration:
packages
toolset to the available toolsets in the codebase, with a description and integration into the default toolset group. This toolset supports managing and viewing package metadata, versions, and deletion operations.[1][2][3][4]Documentation updates:
README.md
anddocs/remote-server.md
to document the newpackages
toolset, including a detailed list of available package-related tools and their parameters.[1][2][3]New package management tools:
list_org_packages
)get_org_package
)list_package_versions
)get_package_version
)list_user_packages
)delete_org_package
)delete_org_package_version
)delete_user_package
)delete_user_package_version
)Closes:#1208
