-
Notifications
You must be signed in to change notification settings - Fork 3k
MCP server updates using google/go-github APIs
#1408
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MCP server updates using google/go-github APIs
#1408
Conversation
google/go-github APIs
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 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
left a comment
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.
Seems much cleaner
|
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
|
conflicts addressed ✅ |
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: