Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new Dependabot toolset that allows fetching and listing Dependabot alerts in GitHub repositories.
- Registers a
dependabottoolset in the main tool group with two read-only tools. - Implements
get_dependabot_alertandlist_dependabot_alertshandlers with full request/response logic. - Adds tests and updates documentation to expose the new tools.
Reviewed Changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/github/tools.go | Registered the dependabot toolset and added ToStringPtr |
| pkg/github/dependabot.go | Added implementations for the two Dependabot alert tools |
| pkg/github/dependabot_test.go | Created unit tests covering success and error scenarios |
| docs/remote-server.md | Updated toolsets table to include Dependabot |
| README.md | Listed Dependabot tools and detailed their parameters |
Files not reviewed (2)
- pkg/github/toolsnaps/get_dependabot_alert.snap: Language not supported
- pkg/github/toolsnaps/list_dependabot_alerts.snap: Language not supported
JoannaaKL
approved these changes
Jul 3, 2025
nickytonline
pushed a commit
to nickytonline/github-mcp-http
that referenced
this pull request
Oct 4, 2025
* add dependabit get and list tools * add toolsnaps * add unit tests for new tools * generate-docs
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.
Add new
dependabottoolset containing:get_dependabot_alertlist_dependabot_alertsExample prompts:
Note:
For filtering alerts when listing them, I've included state (default open) and severity enums. But they could have instead been comma-separated strings.
Closes: