Skip to content

--add-github-mcp-tool issue_write causes no MCP tools to be available #3422

Description

@Xerillio

Describe the bug

I'm using Copilot CLI and when running copilot --add-github-mcp-tool issue_write the MCP server in the session will have no available tools:

MCP · GitHub MCP Server

 id: github-mcp-server
 kind: mcp
 name: github-mcp-server
 displayName: GitHub MCP Server
 scope: Built-in
 enabled: ✓ yes (read-only here)
 trust: {
   "origin": {
     "kind": "builtin"
   },
   "capabilities": {},
   "permissions": {}
 }

tools (0)
No tools advertised.

...

Affected version

My Copilot CLI version is 1.0.92, and I'm using the online/built-in github-mcp-server.
Through PowerShell on Windows 11.

Steps to reproduce the behavior

  1. Run copilot --add-github-mcp-tool issue_write
  2. In the session type /mcp show github-mcp-server
  3. The output above is displayed (tools (0) - No tools advertised.)

I also noticed, when selecting and copying from the terminal, the text "tools (0) No tools advertised." becomes

tools
Loading tools…

in my clipboard. Not sure if this is an indication of it being stuck trying to load the tools.

Expected vs actual behavior

I would expect the issue_write tool to be available in my session.

Also, I would expect --add-github-mcp-tool to append tools rather than replace all available tools, but perhaps that's by design, although confusing naming. I can confirm copilot --add-github-mcp-tool list_issues "correctly" makes list_issues available as the only tool.

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions