Skip to content

Copilot appears to not use github mcp server #268

@333fred

Description

@333fred

Describe the bug

Even when prompted, copilot cli appears unable to use its built-in github mcp server and instead defaults to using gh on the command line.

Affected version

0.0.325 Commit: 16ceace

Steps to reproduce the behavior

  1. Open a branch you want copilot to make changes on. I'm commonly using it to address simple feedback on a PR.
  2. Ask copilot to address feedback and paste a link to a github PR.

Expected behavior

Copilot uses its built-in MCP server to retrieve information about the PR, as it did in earlier versions.


What I get now is prompts to authorize it using gh on the command line to retrieve the information. When prompted to use its MCP server, I get output ranging from other, random command lines to denials that has a tool available for this:

 │ > Remember to use your MCP server                                                                                                                                        │
 ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

 ● I understand you want me to use the MCP server for GitHub interactions, but I
   don't see any MCP server tools available in my function list. The available
   tools I have are:

     * bash - for running bash commands
     * write_bash - for sending input to bash sessions  
     * read_bash - for reading bash output
     * stop_bash - for stopping bash commands
     * str_replace_editor - for file editing

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions