| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This branch is 2 commits behind main (#2600, #2605), which is why the merge status shows BEHIND. I rebased the branch onto current main locally. The rebased commit is available on fork branch advancedresearcharray/github-mcp-server@koesie10/get-code-quality-finding (a216cc4). @koesie10 — to update this PR's branch: git fetch https://github.com/advancedresearcharray/github-mcp-server.git koesie10/get-code-quality-finding
git push origin FETCH_HEAD:koesie10/get-code-quality-finding --force-with-leaseCI was already green on the original commit; no review comments to address. The implementation looks good — follows the same pattern as get_code_scanning_alert, uses raw REST since the Code Quality API isn't in go-github yet, and includes tests with tool snaps. |
Sorry, something went wrong.
|
Opened rebased PR #2616 targeting main directly — ready for maintainer review and merge. |
Sorry, something went wrong.
There was a problem hiding this comment.
Adds first-class support for GitHub “Code Quality” findings to the MCP server by introducing a new read-only tool and grouping it under a dedicated code_quality toolset (including icon + docs/snapshots).
Changes:
| File | Description |
|---|---|
| README.md | Documents the new code_quality toolset and the get_code_quality_finding tool parameters/scopes. |
| pkg/octicons/required_icons.txt | Adds the code-square icon to the required Octicons list. |
| pkg/github/tools.go | Defines ToolsetMetadataCodeQuality and registers GetCodeQualityFinding in AllTools. |
| pkg/github/helper_test.go | Adds a mock route constant for the new code-quality findings endpoint. |
| pkg/github/code_quality.go | Implements get_code_quality_finding tool handler using the REST endpoint. |
| pkg/github/code_quality_test.go | Adds snapshot + behavioral tests for the new tool. |
| pkg/github/toolsnaps/get_code_quality_finding.snap | Adds the tool schema snapshot for CI toolsnap validation. |
| docs/toolsets-and-icons.md | Documents the new Code Quality toolset icon mapping. |
| docs/remote-server.md | Adds the code_quality toolset to the remote server toolset list. |
| docs/feature-flags.md | Updates generated docs content for reviewer description text. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks great, just giving it a final look.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
This adds a new tool to get a single code quality finding by its finding number. It returns the response that the REST API returns.
Why
See internal linked issue. This will allow Copilot to retrieve and fix Code Quality findings
What changed
MCP impact
Prompts tested (tool changes only)
Security / limits
Tool renaming
Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.
Lint & tests
Docs