Wichtig
This feature is in Öffentliche Vorschau and is not the recommended method for restricting access to MCP servers. The more secure, generally available method is to define settings in your enterprise's managed-settings.json file. See Configuring an MCP server allowlist for your enterprise.
Prerequisites
Before you can fully configure MCP server access for your company, you need to create an MCP registry. See Konfigurieren einer MCP-Registrierung für Ihre Organisation oder Ihr Unternehmen.
Configuring the MCP allowlist policy for an enterprise
To ensure uniform access, you can set and maintain your MCP registry URL and allowlist policy at the enterprise level. Otherwise, if your teams have different needs, you should configure separate policies for each organization.
-
Navigieren Sie zu Ihrem Unternehmen. Beispielsweise auf der Seite Unternehmen in GitHub.com.
-
Klicken Sie oben auf der Seite auf AI-Steuerelemente.
-
Klicken Sie in der Randleiste auf MCP.
-
Ensure MCP servers in Copilot is set to Enabled everywhere.
-
In the MCP Registry URL section, enter the URL of your registry, then click Save.
Hinweis
Wenn Sie Ihre MCP-Registrierung mit Azure API Center einrichten, geben Sie die Basis-URL für Ihr API Center ein, einschließlich des Arbeitsbereichspfads, im Format:
https://SERVICE-NAME.data.REGION.azure-apicenter.ms/workspaces/WORKSPACE-NAMEBeispiel:
https://contoso-apic.data.eastus.azure-apicenter.ms/workspaces/defaultDas Einschließen zusätzlicher Routensuffixe wie
/v0.1/serversführt zu einem Fehler in der Registrierung, da GitHub Copilot den MCP-v0.1-Pfad automatisch anhängt. -
In the Restrict MCP access to registry servers section, select the dropdown menu, then click one of the following options:
- Allow all: No restrictions. All MCP servers can be used.
- Registry only: Only servers from the registry may run.
Your chosen policy will immediately apply to developers in your enterprise.
Configuring the MCP allowlist policy for an organization
-
Klicke in der rechten oberen Ecke von GitHub auf dein Profilbild und dann auf Your organizations.
-
Wählen Sie eine Organisation aus, indem Sie darauf klicken.
-
Klicke unter dem Organisationsnamen auf Settings. Wenn die Registerkarte „Einstellungen“ nicht angezeigt wird, wähle im Dropdownmenü die Option Einstellungen aus.

-
In der Randleiste unter "Code, Planung und Automatisierung" click Copilot, then click Policies.
-
In the "Features" section, ensure MCP servers in Copilot is set to Enabled.
-
In the MCP Registry URL (optional) field, enter the URL of your registry, then click Save.
Hinweis
Wenn Sie Ihre MCP-Registrierung mit Azure API Center einrichten, geben Sie die Basis-URL für Ihr API Center ein, einschließlich des Arbeitsbereichspfads, im Format:
https://SERVICE-NAME.data.REGION.azure-apicenter.ms/workspaces/WORKSPACE-NAMEBeispiel:
https://contoso-apic.data.eastus.azure-apicenter.ms/workspaces/defaultDas Einschließen zusätzlicher Routensuffixe wie
/v0.1/serversführt zu einem Fehler in der Registrierung, da GitHub Copilot den MCP-v0.1-Pfad automatisch anhängt. -
In the Restrict MCP access to registry servers section, select the dropdown menu, then click one of the following options:
- Allow all: No restrictions. All MCP servers can be used.
- Registry only: Only servers from the registry may run.
Your chosen policy will immediately apply to developers in your organization.
Next steps
For detailed information on MCP allowlist enforcement and limitations, see MCP private registry enforcement.