Merged
Conversation
…ssion instructions
Update params
Add only new tool to the readme
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements two new repository tools for listing releases and getting the latest release from GitHub repositories. The implementation follows the existing patterns in the codebase for similar repository tools.
- Adds
ListReleasesandGetLatestReleasefunctions torepositories.go - Registers both new tools in the default toolset
- Provides comprehensive test coverage for both successful and error scenarios
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pkg/github/tools.go | Registers the new ListReleases and GetLatestRelease tools in the default toolset |
| pkg/github/repositories.go | Implements the core functionality for both tools with proper error handling and response formatting |
| pkg/github/repositories_test.go | Adds comprehensive test coverage for both tools including success and error cases |
| README.md | Updates documentation to include the new tools and their parameters |
|
Ur so nice |
nickytonline
pushed a commit
to nickytonline/github-mcp-http
that referenced
this pull request
Oct 4, 2025
* docs: add required GitHub token permissions per action (github#128) * Feat: Add support for GitHub Releases (list and latest) tools * Update repositories.go Update params * Update README.md Add only new tool to the readme * Revise GitHub PAT instructions and permissions section * Readme formatting --------- Co-authored-by: Arya Soni <aryasoni98@gmail.com> Co-authored-by: Arya Soni <18515597+aryasoni98@users.noreply.github.com>
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.
Implement ListReleases and GetLatestRelease tools in repositories.go
Register both tools in the repos toolset
Add comprehensive tests for listing and fetching the latest release in repositories_test.go
All tests pass, confirming correct integration and behavior
Continue work started by @aryasoni98 in #469