Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new get_project tool to retrieve a specific project by number and removes pagination parameters from the existing list_projects tool.
- Implements
GetProjectfunction to fetch a single project by number for users or organizations - Removes
beforeandafterpagination parameters fromListProjectstool - Updates documentation and tests to reflect these changes
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pkg/github/tools.go | Registers the new GetProject tool in the projects toolset |
| pkg/github/projects.go | Implements GetProject function and removes pagination from ListProjects |
| pkg/github/projects_test.go | Adds comprehensive tests for GetProject and updates ListProjects tests |
| pkg/github/toolsnaps/list_projects.snap | Updates tool snapshot without pagination parameters |
| pkg/github/toolsnaps/get_project.snap | New tool snapshot for GetProject |
| README.md | Updates documentation to include GetProject and remove pagination from ListProjects |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
tonytrg
reviewed
Sep 22, 2025
430c552 to
62bcbfc
Compare
MattBabbage
reviewed
Sep 26, 2025
| "readOnlyHint": true | ||
| }, | ||
| "description": "List Projects for a user or organization", | ||
| "description": "List Projects for an user or org", |
Contributor
There was a problem hiding this comment.
it would be 'a user or organisation' 🫢
3d20042 to
31000b0
Compare
nickytonline
pushed a commit
to nickytonline/github-mcp-http
that referenced
this pull request
Oct 4, 2025
* Add get_project tool * Remove pagination for now * Fix url formatting * Minor tweaks * Add list project fields tool * Wording
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:
list_projectstoolget_projecttool for user and orglist_project_fieldstool for user and orgImplements #44
Implements new projects V2 API. FYI implementation of project tools will use google/go-github when they implement the new API.
Pagination will be added in the next step.