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 摘要。