Skip to content

Conversation

@MayorFaj
Copy link
Contributor

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:

  • Added a new 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:

  • Updated README.md and docs/remote-server.md to document the new packages toolset, including a detailed list of available package-related tools and their parameters. [1] [2] [3]

New package management tools:

  • Added support for the following package operations, each with corresponding tool definitions:
    • List organization packages (list_org_packages)
    • Get organization package details (get_org_package)
    • List package versions (list_package_versions)
    • Get package version details (get_package_version)
    • List user packages (list_user_packages)
    • Delete organization package (delete_org_package)
    • Delete organization package version (delete_org_package_version)
    • Delete user package (delete_user_package)
    • Delete user package version (delete_user_package_version)

Closes: #1208
Screenshot 2025-10-12 at 20 06 47

- 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.
@Copilot Copilot AI review requested due to automatic review settings October 12, 2025 19:09
@MayorFaj MayorFaj requested a review from a team as a code owner October 12, 2025 19:09
Copy link
Contributor

Copilot AI left a 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 or learn how to get started.

@MayorFaj
Copy link
Contributor Author

Screenshot 2025-10-12 at 20 14 25

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub Packages Support to MCP Server

2 participants