github / github/copilot-cli

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

Offen
#2,814 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:enterprise area:mcp
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es wird keine Quelldatei oder kein Test genannt. Beginne damit, den Fehler unter Linux mit Copilot CLI 1.0.31 und der im Bericht beschriebenen lokalen MCP-URL zu reproduzieren; verfolge, wo die Enterprise-MCP-Genehmigungsrichtlinie angewendet wird. Als erledigt gilt die Aufgabe, wenn festgestellt wurde, warum die dokumentierte Ausnahme für lokale URLs abgelehnt wird, und eine Regressionprüfung für das erwartete Ausnahmeverhalten hinzugefügt wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github, shell
Bereich
cli, security
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.