github-mcp-server icon indicating copy to clipboard operation
github-mcp-server copied to clipboard

Add support for creating and updating repository security advisories

Open advancedresearcharray opened this issue 5 months ago • 2 comments

Summary

  • Add create_repository_security_advisory, update_repository_security_advisory, and request_cve_for_repository_security_advisory tools to the security_advisories toolset
  • Implement REST API integration for POST/PATCH repository advisory endpoints (not yet exposed in go-github) plus CVE request via the existing client method
  • Add unit tests, tool schema snapshots, and generated README documentation

Closes #2506

Test plan

  • [x] go test ./pkg/github -run 'Test_(Create|Update|RequestCVE|ParseAdvisory)'
  • [x] go test ./pkg/github
  • [x] go run ./cmd/github-mcp-server generate-docs

advancedresearcharray avatar Jun 06 '26 21:06 advancedresearcharray

Cleaned commit history and PR description (removed third-party attribution trailers).

PR adds three security_advisories toolset operations for repository advisory lifecycle management (create, update, CVE request) with unit tests and schema snapshots. Closes #2506.

CI workflows are awaiting maintainer approval for this fork PR.

advancedresearcharray avatar Jun 06 '26 21:06 advancedresearcharray

Merge-ready check-in

This PR looks ready for maintainer review/merge when you have a moment.

  • Change: Add support for creating and updating repository security advisories
  • CI: green / passing
  • Review: REVIEW_REQUIRED (mergeable: MERGEABLE)

Happy to rebase or address any remaining feedback. Thanks for maintaining the project.

advancedresearcharray avatar Jun 12 '26 17:06 advancedresearcharray