MCP server updates using google/go-github APIs#1408
Merged
SamMorrowDrums merged 3 commits intomainfrom Nov 16, 2025
Merged
Conversation
google/go-github APIs
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the GitHub MCP Server to use native google/go-github v79 API methods for ProjectsV2 operations, replacing custom HTTP request handling with proper SDK integration. This change depends on the go-github v79 upgrade introduced in PR #1407, which fixed critical data unmarshalling issues.
Key changes:
- Replaces manual HTTP requests and custom request building with go-github SDK API methods
- Removes custom type definitions in favor of using types from the go-github library
- Updates
item_idparameter handling to useRequiredBigIntfor safer int64 conversion
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
SamMorrowDrums
previously approved these changes
Nov 15, 2025
Collaborator
SamMorrowDrums
left a comment
There was a problem hiding this comment.
Seems much cleaner
Collaborator
|
Merge conflicts prevent me from actually merging (rebase of dependency upgrade PR onto main is likely cause), and probably can be resolved by rebasing this PR against main. |
2bdd94c to
a1297e1
Compare
Contributor
Author
|
conflicts addressed ✅ |
SamMorrowDrums
approved these changes
Nov 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR builds upon and directly depends on the updates introduced in #1407, which upgraded the project’s dependency to
google/go-github@V79. The upgrade to V79 resolves fundamental issues related to data unmarshalling from Github’s ProjectsV2 RESTful API, ensuring structured and accurate decoding of API responses and laying the groundwork for the API updates in this PR.Context
With the go-github@V79 upgrade, enables support for new and updated ProjectsV2 API endpoints, JSON unmarshalling across different resource types, and compatibility with recent API endpoints.
Key Changes
ProjectsV2RESTful API contracts.ProjectsV2data correctly.Dependency
Note: This PR must be merged after #1407 as it requires the fixes and new capabilities introduced in the
go-github@V79upgrade.Testing
Click to expand local testing
Org testing:
User testing: