github / github/copilot-cli

Local MCP URLs that are supposed to be not covered by MCP approval policy are banned anyway

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

描述

### Describe the bug

My company uses GH Copilot Enterprise.

Generally MCP servers need to be approved, but several local URLs are supposed to be allowed to be run without any approval:

Image

GH Copilot CLI failed to add the MCP server on http://127.0.0.1:54000/mcp:

Image

### Affected version

1.0.31

### Steps to reproduce the behavior

see above

### Expected behavior

see above

### Additional context

OS: Linux

### Questions

Where in the settings is this list of URLs set?
(I am not an enterprise admin, I need to tell them)

Does this policy exemption really work? Did anybody test it at the GitHub side?

Why might this not be working?

贡献指南

打开贡献指南

调研方向

No source file or test is named. Start by reproducing the failure on Linux with Copilot CLI 1.0.31 and the local MCP URL described in the report; trace where the enterprise MCP approval policy is applied. Done means determining why the documented local-URL exemption is rejected and adding a regression check for the expected exemption behavior.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, shell
领域
cli, security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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