Restore live GitHub MCP tools in toolset mappings and align docs with redistributed search ownership - #49790
Merged
Merged
Conversation
3 tasks
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Restore 4 tools dropped from GitHub MCP toolsets mapping
Restore live GitHub MCP tools in toolset mappings and align docs with redistributed search ownership
Aug 2, 2026
pelikhan
marked this pull request as ready for review
August 2, 2026 13:54
Contributor
There was a problem hiding this comment.
Pull request overview
Updates GitHub MCP metadata, validation mappings, documentation, and tests to reflect current toolset ownership.
Changes:
- Restores four live MCP tools in permission metadata.
- Redistributes search tools and adds missing toolset mappings.
- Refreshes documentation and focused tests.
Show a summary per file
| File | Description |
|---|---|
pkg/workflow/permissions_validator_test.go |
Tests restored permission mappings. |
pkg/workflow/github_tool_to_toolset_test.go |
Updates toolset ownership assertions. |
pkg/workflow/data/github_toolsets_permissions.json |
Adds restored tools and bumps metadata to 2.4. |
pkg/workflow/data/github_tool_to_toolset.json |
Updates validation ownership mappings. |
.github/aw/github-mcp-server.md |
Documents the revised MCP toolset layout. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 5/5 changed files
- Comments generated: 3
- Review effort level: Balanced
| "get_file_blame": "repos", | ||
| "get_file_contents": "repos", | ||
| "search_code": "repos", | ||
| "search_repositories": "repos", |
|
|
||
| | Tool | Purpose | Key Parameters | | ||
| |------|---------|----------------| | ||
| | `get_code_quality_finding` | Get details of a specific code quality finding | `owner`, `repo`, `alert_number` | |
| | Tool | Purpose | Key Parameters | | ||
| |------|---------|----------------| | ||
| | `assign_copilot_to_issue` | Assign GitHub Copilot to an issue | `owner`, `repo`, `issue_number` | | ||
| | `create_pull_request_with_copilot` | Ask Copilot to create a pull request | `owner`, `repo`, `issue_number` | |
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.
The GitHub MCP toolset metadata had drifted from the server’s live surface: four callable tools were missing from the embedded mappings, and the documentation still described a stale standalone
searchtoolset. This updates the shipped mappings and docs to reflect the current toolset layout.Restore dropped live tools in embedded toolset data
check_dependency_vulnerabilitiestosecurity_advisoriesrun_secret_scanningtosecret_protectionsemantic_issue_similarity_searchandsemantic_issues_searchtoissuesgithub_toolsets_permissions.jsonfrom2.3to2.4and update the changelog summaryAlign tool-to-toolset validation with current ownership
search_repositoriestorepossearch_userstouserssearch_orgsunderorgsget_code_quality_findingandcreate_pull_request_with_copilotin the tool-to-toolset map so validation matches the documented toolsetsRefresh GitHub MCP documentation
searchandexperimentssectionsrepos:search_code,search_commits,search_repositoriesorgs:search_orgsusers:search_usersissues:semantic_issue_similarity_search,semantic_issues_searchcode_qualityandcopilottoolset sectionslist_org_repository_security_advisoriesundersecurity_advisoriesLast Updatedto2026-08-02Tighten focused coverage
Example of the corrected ownership model:
{ "semantic_issue_similarity_search": "issues", "semantic_issues_search": "issues", "run_secret_scanning": "secret_protection", "check_dependency_vulnerabilities": "security_advisories", "search_repositories": "repos", "search_users": "users" }