Skip to content

Sync MCP server toolset/permissions mapping to v1.3.0#39650

Merged
pelikhan merged 3 commits into
mainfrom
copilot/update-mcp-version-to-v1-3-0
Jun 16, 2026
Merged

Sync MCP server toolset/permissions mapping to v1.3.0#39650
pelikhan merged 3 commits into
mainfrom
copilot/update-mcp-version-to-v1-3-0

Conversation

Copilot AI commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The DefaultGitHubMCPServerVersion and action pin SHA were already bumped to v1.3.0, but the toolset/permissions data files were not updated to match — leaving several tools missing from the mapping entirely.

github_toolsets_permissions.json

  • Added copilot toolset (assign_copilot_to_issue, request_copilot_review) with issues: write + pull-requests: write permissions
  • Added discussion_comment_write to the discussions toolset
  • Added get_file_blame to the repos toolset (feature-flagged in MCP; no additional permissions needed)

github_tool_to_toolset.json

  • Added four new tool→toolset entries for the above tools: get_file_blamerepos, assign_copilot_to_issuecopilot, request_copilot_reviewcopilot, discussion_comment_writediscussions

Note: assign_copilot_to_issue and request_copilot_review were present in MCP since v1.2.0 but were never added to gh-aw's mapping; this catch-up fix lands alongside the v1.3.0 update. The copilot toolset is intentionally excluded from DefaultGitHubToolsets and ActionFriendlyGitHubToolsets per existing gh-aw design.

Copilot AI and others added 2 commits June 16, 2026 18:56
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update MCP version to latest v1.3.0 for bug fix Sync MCP server toolset/permissions mapping to v1.3.0 Jun 16, 2026
Copilot AI requested a review from pelikhan June 16, 2026 19:06
@pelikhan pelikhan marked this pull request as ready for review June 16, 2026 19:57
Copilot AI review requested due to automatic review settings June 16, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates gh-aw’s embedded GitHub MCP server metadata so its tool→toolset and toolset→permissions mappings match the already-bumped GitHub MCP server version (v1.3.0). This prevents newer MCP tools from being “unknown” to gh-aw validation and permission-mapping logic.

Changes:

  • Added a new copilot toolset (and mapped assign_copilot_to_issue, request_copilot_review) with the appropriate permissions metadata.
  • Extended existing toolsets/mappings to include discussion_comment_write (discussions) and get_file_blame (repos).
  • Refreshed the generated workflow lock metadata for pr-code-quality-reviewer.
Show a summary per file
File Description
pkg/workflow/data/github_toolsets_permissions.json Adds/extends toolsets to include the missing MCP tools and their associated permission scopes.
pkg/workflow/data/github_tool_to_toolset.json Adds the missing tool→toolset mappings so gh-aw can correctly associate these tools to their toolsets.
.github/workflows/pr-code-quality-reviewer.lock.yml Updates the generated lock metadata (frontmatter hash) for the workflow.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 0

@pelikhan pelikhan merged commit e5c3b79 into main Jun 16, 2026
44 checks passed
@pelikhan pelikhan deleted the copilot/update-mcp-version-to-v1-3-0 branch June 16, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants