Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

The GitHub Remote MCP Authentication Test was failing because get_repository was absent from the repos toolset definition, despite being mapped to that toolset in github_tool_to_toolset.json.

Changes

Data Consistency Fix

  • Added get_repository to repos toolset in pkg/workflow/data/github_toolsets_permissions.json
  • Toolset now properly exposes: get_commit, get_file_contents, get_latest_release, get_release_by_tag, get_repository, get_repository_tree, get_tag, list_branches, list_commits, list_releases, list_tags

Workflow Configuration

  • Added explicit allowed: [get_repository, list_issues, issue_read] to .github/workflows/github-remote-mcp-auth-test.md
  • Ensures Copilot CLI and remote MCP server expose required tools

Technical Context

The discrepancy existed between two data files:

// github_tool_to_toolset.json - Mapping (was correct)
"get_repository": "repos"

// github_toolsets_permissions.json - Definition (was incomplete)
"repos": {
  "tools": ["get_commit", "get_file_contents", ..., "list_tags"]
  // ❌ get_repository missing
}

When workflows specified toolsets: [repos], the remote MCP server wouldn't expose get_repository because the toolset definition didn't include it, even though the mapping indicated it should belong there.

Original prompt

This section details on the original issue you should resolve

<issue_title>[deep-report] Fix GitHub Remote MCP Authentication Test tool availability</issue_title>
<issue_description>### Description
The GitHub Remote MCP Authentication Test is failing because MCP tools (list_issues/get_repository) are not loaded in the runtime. Update the workflow/tool configuration to ensure the remote MCP toolsets are enabled (or add a local-mode fallback) before running the auth check.

Expected Impact

Restores the daily MCP auth test and prevents false-negative failures caused by missing toolsets.

Suggested Agent

MCP configuration agent or workflow maintainer

Estimated Effort

Quick (< 1 hour)

Data Source

DeepReport Intelligence Briefing - 2026-01-21 (discussion #10967)

AI generated by DeepReport - Intelligence Gathering Agent

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Added get_repository tool to repos toolset in github_toolsets_permissions.json
- Added allowed: [get_repository, list_issues, issue_read] to workflow frontmatter
- Rebuilt binary to embed updated toolset definitions
- Recompiled workflow

Co-authored-by: mnkiefer <[email protected]>
Copilot AI changed the title [WIP] Fix GitHub Remote MCP Authentication Test tool availability Add missing get_repository tool to repos toolset Jan 21, 2026
Copilot AI requested a review from mnkiefer January 21, 2026 18:31
@pelikhan pelikhan marked this pull request as ready for review January 21, 2026 19:33
@pelikhan pelikhan merged commit 0c3a4e0 into main Jan 21, 2026
47 of 48 checks passed
@pelikhan pelikhan deleted the copilot/fix-mcp-authentication-tool-availability branch January 21, 2026 20:54
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.

[deep-report] Fix GitHub Remote MCP Authentication Test tool availability

3 participants