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

Updates github-mcp-server togo-github/v76#1289

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

Merged
JoannaaKL merged 7 commits intomainfromstephenotalora/mcp-server-latest-api-updates
Oct 27, 2025

Conversation

@stephenotalora
Copy link
Contributor

@stephenotalorastephenotalora commentedOct 23, 2025
edited
Loading

Towards:https://github.com/github/memex/issues/20995

Summary

The primary objective of this pull request is to updategithub-mcp-server to use the latest version of Google'sgo-github library(v76) whereProjectsService is first introduced. This upgrade aligns the server with recent GitHub API changes and leverages enhancements and newly introduced functionality available ingo-github/v76@latest.

While best efforts were made to adopt the existing ProjectsV2 APIs from upstream, not all components have been migrated yet. Further updates are pending the merge ofgoogle/go-github#3733, which introduces additional APIs required for full integration. Once merged, subsequent iterations will continue updating the MCP server to ensure complete feature parity with the upstream library.

Details

For easier review, I recommend going through this PR in commit order:

  • Dependency Update:

    • Upgradesgo-github fromv74 tov76 across the codebase to reflect the latest API surface and deprecations.
    • Adjusts internal calls where needed to align with breaking changes and updated interfaces introduced inv76.
      (Commit:ee90778)
  • License Updates:

    • Refreshes license files to ensure compliance and correctness following the dependency upgrade.
      (Commit:a73d2b4)
  • Code Refactoring:

    • RefactorsListProjects andGetProject to use the officialProjectsService fromgoogle/go-github.
      (Commits:ac0df34 and5599e22)
    • These updates replace custom or outdated implementations with the official client methods, aligning the server with upstream API conventions and improving long-term maintainability.

Trade-offs and Considerations

  • Some internal interfaces and usages were updated to accommodate breaking changes ingo-github/v76.
  • The upgrade may introduce minor behavioral differences due to upstream library changes; specially those changes outside of our domain (in Commit:ee90778).
  • Thegoogle/go-github library introduces additional APIs inAdd Endpoints For Project Items google/go-github#3733. While existing APIs have been adopted where possible, not all functionality has been migrated tov76 yet. CertainAPIs remain unavailable upstream, so refactoringprojects.go for partial functionality would not be practical at this stage.

Testing

Run the MCP server locally and ensured the agent was hitting the updated tools using `google/go-github` APIs

GetProject:

Screenshot 2025-10-23 at 6 55 12 PM

ListProject:

Screenshot 2025-10-23 at 6 56 47 PM

@stephenotalorastephenotalora self-assigned thisOct 23, 2025
@stephenotalorastephenotaloraforce-pushed thestephenotalora/mcp-server-latest-api-updates branch 4 times, most recently fromf26b150 to5599e22CompareOctober 23, 2025 19:21
@stephenotalorastephenotalora marked this pull request as ready for reviewOctober 24, 2025 00:53
@stephenotalorastephenotalora requested a review froma team as acode ownerOctober 24, 2025 00:53
CopilotAI review requested due to automatic review settingsOctober 24, 2025 00:53
Copy link
Contributor

CopilotAI 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 upgrades thegithub-mcp-server fromgo-github/v74 togo-github/v76, incorporating latest API changes and enhancements. The upgrade includes breaking changes in how certain Git operations are performed, requiring updates to method signatures throughout the codebase.

Key Changes:

  • Dependency upgrade fromgo-github/v74 togo-github/v76 with corresponding API signature updates
  • RefactoredListProjects andGetProject to use official upstreamProjectsService methods
  • Updated Git operations (CreateCommit,UpdateRef,CreateRef) to use new structured parameter types

Reviewed Changes

Copilot reviewed 47 out of 49 changed files in this pull request and generated 5 comments.

Show a summary per file
FileDescription
go.modUpdates go-github dependency to v76 and related transitive dependencies
pkg/github/repositories.goAdapts Git operation calls to use new v76 structured parameter types
pkg/github/projects.goRefactors project operations to use official upstream API methods
third-party-licenses.*.mdUpdates license references for upgraded dependencies
pkg/github/.go, pkg/raw/.go, internal/ghmcp/server.go, etc.Updates import statements from v74 to v76

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

@stephenotalorastephenotalora changed the titleupdates github-mcp-server to go-github/v76Updates github-mcp-server togo-github/v76Oct 24, 2025
@stephenotalorastephenotaloraforce-pushed thestephenotalora/mcp-server-latest-api-updates branch from69ac131 toa5a9a26CompareOctober 24, 2025 14:49
Copy link
Contributor

@tmelliottjrtmelliottjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

These changes look good me, mostly focusing on projects related updates, I'll defer to others more knowledgeable for the associated upgrade changes.

Copy link
Contributor

@JoannaaKLJoannaaKL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

🚀

stephenotalora reacted with heart emoji
@JoannaaKLJoannaaKL merged commit6f50407 intomainOct 27, 2025
16 checks passed
@JoannaaKLJoannaaKL deleted the stephenotalora/mcp-server-latest-api-updates branchOctober 27, 2025 12:53
@sogolkashani1994-stack

Towards:https://github.com/github/memex/issues/20995

Summary

The primary objective of this pull request is to updategithub-mcp-server to use the latest version of Google'sgo-github library(v76) whereProjectsService is first introduced. This upgrade aligns the server with recent GitHub API changes and leverages enhancements and newly introduced functionality available ingo-github/v76@latest.

While best efforts were made to adopt the existing ProjectsV2 APIs from upstream, not all components have been migrated yet. Further updates are pending the merge ofgoogle/go-github#3733, which introduces additional APIs required for full integration. Once merged, subsequent iterations will continue updating the MCP server to ensure complete feature parity with the upstream library.

Details

For easier review, I recommend going through this PR in commit order:

  • Dependency Update:

    • Upgradesgo-github fromv74 tov76 across the codebase to reflect the latest API surface and deprecations.
    • Adjusts internal calls where needed to align with breaking changes and updated interfaces introduced inv76.
      (Commit:ee90778)
  • License Updates:

    • Refreshes license files to ensure compliance and correctness following the dependency upgrade.
      (Commit:a73d2b4)
  • Code Refactoring:

    • RefactorsListProjects andGetProject to use the officialProjectsService fromgoogle/go-github.
      (Commits:ac0df34 and5599e22)
    • These updates replace custom or outdated implementations with the official client methods, aligning the server with upstream API conventions and improving long-term maintainability.

Trade-offs and Considerations

  • Some internal interfaces and usages were updated to accommodate breaking changes ingo-github/v76.
  • The upgrade may introduce minor behavioral differences due to upstream library changes; specially those changes outside of our domain (in Commit:ee90778).
  • Thegoogle/go-github library introduces additional APIs inAdd Endpoints For Project Items google/go-github#3733. While existing APIs have been adopted where possible, not all functionality has been migrated tov76 yet. CertainAPIs remain unavailable upstream, so refactoringprojects.go for partial functionality would not be practical at this stage.

Testing

Run the MCP server locally and ensured the agent was hitting the updated tools usinggoogle/go-github APIs

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

Reviewers

Copilot code reviewCopilotCopilot left review comments

@tmelliottjrtmelliottjrtmelliottjr approved these changes

@JoannaaKLJoannaaKLJoannaaKL approved these changes

Assignees

@stephenotalorastephenotalora

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@stephenotalora@sogolkashani1994-stack@tmelliottjr@JoannaaKL@tommaso-moro

[8]ページ先頭

©2009-2025 Movatter.jp