Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 27, 2026

Three security workflows instructed agents to call GitHub MCP tools using hyphen-separated names (github-list_code_scanning_alerts), but the MCP gateway registers tools with triple underscores (github___list_code_scanning_alerts), causing workflow failures.

Changes

  • code-scanning-fixer.md: Updated 4 tool references to use github___ prefix
  • dependabot-bundler.md: Updated 1 tool reference
  • secret-scanning-triage.md: Updated 2 tool references
  • Regenerated corresponding .lock.yml files

Example

-**Tool Usage**: Tool names are prefixed with `github-` (e.g., `github-list_code_scanning_alerts`)
+**Tool Usage**: Tool names use triple underscores: `github___` (e.g., `github___list_code_scanning_alerts`)

-Use the GitHub MCP server to list all open code scanning alerts:
-- Call `github-list_code_scanning_alerts` tool with the following parameters:
+- Call `github___list_code_scanning_alerts` tool with the following parameters:

The MCP gateway registration pattern is {server_id}___{tool_name}, confirmed in workflow logs showing Registered tool: github___get_code_scanning_alert.

Original prompt

Fix code scanning fixer: https://github.com/githubnext/gh-aw/actions/runs/21395340331/job/61592174378


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Update code-scanning-fixer.md to use triple underscores (___) in MCP tool names
- Update dependabot-bundler.md with correct MCP tool naming
- Update secret-scanning-triage.md with correct MCP tool naming
- Replace github-* prefix with github___ prefix to match actual MCP gateway registration

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix code scanning fixer in GitHub Actions Fix MCP tool naming in security workflows Jan 27, 2026
Copilot AI requested a review from mnkiefer January 27, 2026 11:43
@mnkiefer mnkiefer marked this pull request as ready for review January 27, 2026 11:55
@mnkiefer mnkiefer merged commit 6e4a655 into main Jan 27, 2026
145 checks passed
@mnkiefer mnkiefer deleted the copilot/fix-code-scanning-fixer branch January 27, 2026 11:55
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.

2 participants