Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
MayorFaj wants to merge2 commits intogithub:main
base:main
Choose a base branch
Loading
fromMayorFaj:feature/github-packages-support

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 newpackages 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:

  • UpdatedREADME.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:

  • 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.
@CopilotCopilotAI review requested due to automatic review settingsOctober 12, 2025 19:09
@MayorFajMayorFaj requested a review froma team as acode ownerOctober 12, 2025 19:09
Copy link
Contributor

@CopilotCopilotAI 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
FileDescription
pkg/github/tools.goAdds packages toolset metadata and integrates it into the default toolset group
pkg/github/packages.goImplements all package-related operations with proper error handling and API interactions
pkg/github/packages_test.goComprehensive test suite covering all package operations with success and error scenarios
pkg/github/toolsnaps/*.snapGenerated tool snapshots for all package operations with proper schema definitions
docs/remote-server.mdDocuments the new packages toolset with installation links
README.mdUpdates 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.

@MayorFaj
Copy link
ContributorAuthor

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 freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

+1 more reviewer

@Faramarz336Faramarz336Faramarz336 approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add GitHub Packages Support to MCP Server

2 participants

@MayorFaj@Faramarz336

[8]ページ先頭

©2009-2025 Movatter.jp