- Notifications
You must be signed in to change notification settings - Fork3.1k
Migrate secret_scanning toolset to modelcontextprotocol/go-sdk#1436
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
omgitsads merged 9 commits intoomgitsads/go-sdkfromcopilot/migrate-secret-protection-toolsetNov 19, 2025
+206 −101
Merged
Changes fromall commits
Commits
Show all changes
9 commits Select commitHold shift + click to select a range
952172d Initial plan
Copilot3985dc0 Migrate secret_scanning toolset to modelcontextprotocol/go-sdk
Copilot0c9e6bf Enable secret_protection toolset in DefaultToolsetGroup
Copilot7a24f37 Don't assert without a testing.T
omgitsads2c4d718 just return the tool & handler
omgitsads9fef216 use lowercase strings for the jsonschema types
omgitsadsdc151cf Add Close method to IOLogger to close underlying reader and writer
omgitsads2d2b626 Update cmd/github-mcp-server/generate_docs.go
omgitsadse1a3e63 Merge remote-tracking branch 'origin/omgitsads/go-sdk' into copilot/m…
LuluBeatsonFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "Get secret scanning alert" | ||
| }, | ||
| "description": "Get details of a specific secret scanning alert in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "alertNumber" | ||
| ], | ||
| "properties": { | ||
| "alertNumber": { | ||
| "type": "number", | ||
| "description": "The number of the alert." | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "The owner of the repository." | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "The name of the repository." | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_secret_scanning_alert" | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint": true, | ||
| "title": "List secret scanning alerts" | ||
| }, | ||
| "description": "List secret scanning alerts in a GitHub repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo" | ||
| ], | ||
| "properties": { | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "The owner of the repository." | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "The name of the repository." | ||
| }, | ||
| "resolution": { | ||
| "type": "string", | ||
| "description": "Filter by resolution", | ||
| "enum": [ | ||
| "false_positive", | ||
| "wont_fix", | ||
| "revoked", | ||
| "pattern_edited", | ||
| "pattern_deleted", | ||
| "used_in_tests" | ||
| ] | ||
| }, | ||
| "secret_type": { | ||
| "type": "string", | ||
| "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter." | ||
| }, | ||
| "state": { | ||
| "type": "string", | ||
| "description": "Filter by state", | ||
| "enum": [ | ||
| "open", | ||
| "resolved" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_secret_scanning_alerts" | ||
| } |
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
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.