github / github/copilot-cli

Unactionable message when github-mcp-server is disable in Azure Dev Ops repository

未关闭
#1,505 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:mcp
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

We made changes to the CLI so that when you run it from inside a repository that is connected to an Azure DevOps remote we don't enable the built in GitHub MCP Server and instead print this message to the timeline:

● Detected Azure DevOps repository. GitHub MCP server has been disabled. Use /mcp enable github-mcp-server to re-enable.

However, if you run `/mcp enable github-mcp-server`, this doesn't actually work:

✗ Server "github-mcp-server" not found. Use /mcp to open the MCP server list.

### Affected version

v0.0.411

### Steps to reproduce the behavior

1. Start copilot in a repository with an AzDo remote so the above message triggers.
2. Run /mcp enable github-mcp-server

### Expected behavior

The server should be enabled, instead of an error being printed.

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。