You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Configure MCP server access for your organization or enterprise
3
-
intro: You can configure an MCP Registry URL and access control policy to determine which MCP servers developers can discover and use in supported IDEs with {% data variables.product.prodname_copilot %}.
3
+
intro: You can configure an MCP registry URL and access control policy to determine which MCP servers developers can discover and use in supported IDEs with {% data variables.product.prodname_copilot %}.
4
4
permissions: Enterprise owners and organization owners
5
5
product: '{% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %}'
6
6
versions:
@@ -14,51 +14,79 @@ contentType: how-tos
14
14
---
15
15
16
16
> [!NOTE]
17
-
> * The display of available MCP servers based on a configured MCP registry is supported in {% data variables.product.prodname_vscode_shortname %} Stable and Insiders.
18
-
> * Policy enforcement for the "Registry only" setting is currently available only in {% data variables.product.prodname_vscode_shortname %} Insiders, with support for {% data variables.product.prodname_vscode_shortname %} Stable coming in October 2025. MCP registry and allowlisting support is coming to all other Copilot IDEs in the coming months.
17
+
> The MCP registry URL and allowlist are in {% data variables.release-phases.public_preview %} and subject to change.
19
18
20
19
## Overview
21
20
22
-
An MCP registry is a directory of Model Context Protocol (MCP) servers that acts like a catalog for IDEs and {% data variables.product.prodname_copilot_short %} (as well as other host applications). Each registry entry points to a server's manifest, which describes the tools, resources, and prompts that the server exposes.
21
+
An MCP registry is a directory of Model Context Protocol (MCP) servers that acts like a catalog for IDEs and {% data variables.product.prodname_copilot_short %} (as well as other host applications). Each registry entry points to a server's manifest, which describes the tools, resources, and prompts that server exposes.
23
22
24
-
As an enterprise or organization owner, you can configure an **MCP Registry URL** along with an access control policy to determine which MCP servers your developers can see and run in supported IDEs with {% data variables.product.prodname_copilot %}.
25
-
26
-
By configuring an MCP Registry, you can:
23
+
As an enterprise or organization owner, you can configure an **MCP registry URL**, allowing you to:
27
24
***Provide a curated catalog** of MCP servers your developers can discover and use
28
-
***Restrict access** to unapproved servers for more granular access control
25
+
***Restrict access** to unapproved servers for increased security and compliance
29
26
***Give clarity to developers** when a server is blocked by policy
30
27
31
-
If you don't have an MCP registry set up yet, see [Setting up an MCP Registry](#setting-up-an-mcp-registry) later in this article.
28
+
If you haven't created an MCP registry yet, see [Setting up an MCP registry](#setting-up-an-mcp-registry) later in this article.
32
29
33
30
## About MCP policy settings
34
31
35
32
The following settings let you control how MCP servers are discovered and accessed in your organization or enterprise.
36
33
37
-
### MCP servers policy
34
+
### MCP servers in {% data variables.product.prodname_copilot_short %}
38
35
39
-
First, you must set the overall **MCP servers in Copilot** policy:
40
-
* Enabled: MCP servers are allowed (default behavior depends on registry configuration)
41
-
* Disabled: No MCP servers can be used by any users with Copilot seats from this enterprise or organization
42
-
*No policy (Enterprise only): Child organizations can set their own MCP policies
36
+
First, you must set the overall **MCP servers in {% data variables.product.prodname_copilot_short %}** policy:
37
+
* Enabled for all: MCP servers are allowed (default behavior depends on registry configuration)
38
+
* Disabled for all: No MCP servers can be used by any users with {% data variables.product.prodname_copilot_short %} seats from this enterprise or organization
39
+
*Let organizations decide (Enterprise only): Child organizations can set their own MCP policies
43
40
44
41
### MCP Registry URL
45
42
46
-
The **MCP Registry URL** is an optional field where you specify the endpoint of your discoverable or restricted internal MCP registry.
43
+
The **MCP Registry URL** is an optional field where you specify the URL of your discoverable or restricted internal MCP registry. When you configure a registry URL:
47
44
48
-
When configured:
49
-
* The servers listed in the registry are displayed in IDEs that support MCP
50
-
* Enables the "Restrict MCP access to registry servers" option
45
+
* The servers listed in the registry are displayed in supported IDEs
46
+
* The "Restrict MCP access to registry servers" setting becomes configurable
51
47
52
-
### "Restrict MCP access to registry servers" setting
48
+
### Restrict MCP access to registry servers
53
49
54
50
Under the **Restrict MCP access to registry servers** setting, you choose how strictly to enforce registry-based access:
55
51
56
52
***Allow all** (default): Developers can run any local and remote MCP servers. Registry servers are still shown in the IDE catalog as a curated list for easier discoverability.
57
-
***Registry only**: Developers can only run MCP servers that are explicitly listed in the uploaded MCP registry. All other servers—whether remote (hosted) or local (running client-side on the user's machine)—will be blocked at runtime. In IDE UIs, blocked servers appear greyed out with a warning message. In the `mcp.json` configuration file, they may also show `"run": "blocked"`.
53
+
***Registry only**: Developers can only run MCP servers that are explicitly listed in the uploaded MCP registry. In IDE UIs, blocked servers appear greyed out with a warning message. In the `mcp.json` configuration file, they may also show `"run": "blocked"`.
54
+
55
+
> [!NOTE]
56
+
> If you choose the "Registry only" option with the MCP registry URL cleared, all MCP servers will be blocked.
57
+
58
+
#### Current enforcement limitations
59
+
60
+
The "Registry only" setting currently has the following limitations:
61
+
62
+
* Enforcement is based only on server name/ID matching, which can be bypassed by editing configuration files
63
+
* Strict enforcement that prevents installation of non-registry servers is not yet available
64
+
65
+
For the highest level of security, you can **disable MCP servers in {% data variables.product.prodname_copilot_short %}** until strict enforcement is available.
58
66
59
-
> [!WARNING]
60
-
> * You cannot configure the "Registry only" option without providing an MCP registry URL with a valid format and clicking "Save".
61
-
> * "Registry only" enforcement is currently active **only** in {% data variables.product.prodname_vscode_shortname %} Insiders. Support for other Copilot environments is being added in the coming months.
67
+
## How MCP policies apply to your users
68
+
69
+
MCP policies apply to **all users who receive {% data variables.product.prodname_copilot_short %} seats** from the organization or enterprise where the policy is configured.
70
+
71
+
When a policy is enabled or disabled at the enterprise level, it is automatically applied to all child organizations and their members, and cannot be overridden by those organizations.
72
+
73
+
When an enterprise lets child organizations configure their own MCP policies, each organization must choose its own registry URL and enforcement settings. This allows teams with different security or compliance needs to choose the configuration that works best for them.
> For Eclipse, JetBrains, and Xcode, these features are supported in the pre-release versions of {% data variables.product.prodname_copilot_short %}.
62
90
63
91
## Configuring the MCP allowlist policy for an enterprise
64
92
@@ -73,10 +101,7 @@ Under the **Restrict MCP access to registry servers** setting, you choose how st
73
101
***Allow all**: No restrictions. All MCP servers can be used.
74
102
***Registry only**: Only servers from the registry may run.
75
103
76
-
> [!NOTE]
77
-
> If no registry URL is set, the "Registry only" option blocks all MCP servers.
78
-
79
-
Your chosen policy will immediately apply to developers in your enterprise.
104
+
Your chosen policy will immediately apply to developers in your enterprise.
80
105
81
106
## Configuring the MCP allowlist policy for an organization
82
107
@@ -90,10 +115,7 @@ Your chosen policy will immediately apply to developers in your enterprise.
90
115
***Allow all**: No restrictions. All MCP servers can be used.
91
116
***Registry only**: Only servers from the registry may run.
92
117
93
-
> [!NOTE]
94
-
> If no registry URL is set, the "Registry only" option blocks all MCP servers.
95
-
96
-
Your chosen policy will immediately apply to developers in your organization.
118
+
Your chosen policy will immediately apply to developers in your organization.
97
119
98
120
## How are MCP allowlists enforced?
99
121
@@ -117,84 +139,145 @@ The resolution logic is:
117
139
118
140
1.**Scope**: Policies set by a parent enterprise override those set by an organization. Enterprise policies trickle down to all organizations and members within that enterprise.
1.**Recency of registry upload**: If two policies have the same scope and strictness, the registry most recently uploaded (saved) wins.
121
-
1.**Tie-breaker**: If all else is equal, the lowest internal ID wins (rare edge case).
142
+
1.**Recency of registry upload**: If two policies have the same scope and strictness, the most recently uploaded registry wins.
143
+
1.**Tie-breaker**: If all else is equal, the lowest internal ID wins.
122
144
123
145
> [!IMPORTANT]
124
-
> At this time, only one registry URL can be applied to a user. Even if multiple organizations or enterprises provide different registries, only the winning registry (determined by the above rules) is used.
146
+
> At this time, only one registry URL can be applied to a user. Even if multiple organizations or enterprises provide different registries, only the winning registry is used.
125
147
>
126
-
> **Recommendation**: To ensure consistency and avoid conflicts across multiple organizations, set and maintain your MCP registry URL and allowlist policy at the **enterprise** level whenever possible.
148
+
> **For uniform access**, you can set and maintain your MCP registry URL and allowlist policy at the enterprise level.
149
+
>
150
+
> **For varied team needs**, configure separate policies for each organization, ensuring users only belong to one organization to avoid policy conflicts.
151
+
152
+
## Setting up an MCP registry
153
+
154
+
If you don't already have an MCP registry configured, there are a few different ways you can create one depending on your needs.
155
+
156
+
### Self-hosting a registry
157
+
158
+
At its core, a registry is a set of HTTPS endpoints that serve details about the included MCP servers. To make your registry reachable, you can take any of the following paths:
159
+
* Fork and self-host the open-source MCP Registry
160
+
* Run the open-source registry locally using Docker
161
+
* Publish your own custom implementation
127
162
128
-
## Setting up an MCP Registry
163
+
To get started with the open-source registry, see the [MCP Registry Quickstart](https://github.com/modelcontextprotocol/registry/tree/main?tab=readme-ov-file#quick-start) in the `github/modelcontextprotocol` repository.
129
164
130
-
If you don't already have an MCP Registry configured, there are a few different ways you can create one depending on your needs.
165
+
A valid registry must:
166
+
* Be reachable over HTTPS
167
+
* Support URL routing
131
168
132
-
### Simple/static registry
169
+
To successfully configure your registry, you need to implement the following endpoints:
133
170
134
-
At its core, a registry is just an HTTPS endpoint that serves a list of MCP server manifests. You can publish this as a static JSON file on {% data variables.product.prodname_pages %}, an S3 bucket, or any web server. This is the fastest and most lightweight option.
171
+
*`GET /v0.1/servers`: Returns a list of all included MCP servers
172
+
*`GET /v0.1/servers/{serverName}/versions/latest`: Returns the latest version of a specific server
173
+
*`GET /v0.1/servers/{serverName}/versions/{version}`: Returns the details for a specific version of a server
135
174
136
-
### Example registry format
175
+
####Example registry format
137
176
138
-
Your registry must return a JSON response with the following structure:
177
+
Your registry must return a JSON response following [the v0.1 MCP registry specification](https://registry.modelcontextprotocol.io/docs#/operations/list-servers-v0.1):
139
178
140
-
```json
179
+
```json
141
180
{
142
181
"servers": [
143
182
{
144
-
"id": "github",
145
-
"name": "GitHub MCP Server",
146
-
"description": "Tools and resources for GitHub repos, issues, PRs, and Actions.",
* Additional publisher-provided fields may appear under `server._meta`
183
255
184
-
###Azure API Center
256
+
#### Support for v0.1
185
257
186
-
For enterprises that want a dynamic and fully managed option, Azure API Center (part of Azure API Management) can be used as an MCP Registry. It provides governance features, discovery UI, and integration with existing API catalogs.
258
+
To avoid breaking changes to your registry in the future, you should implement v0.1 of the MCP registry specification. Be aware that v0.1 is currently only supported in {% data variables.product.prodname_vscode_shortname %} Insiders, with other surfaces adding support soon. See the following table for more details.
187
259
188
-
**Steps to set up with Azure API Center:**
260
+
| Surface | v0.1 support date |
261
+
| ---------------------- | ----------------- |
262
+
| {% data variables.product.prodname_vscode_shortname %} Insiders | Oct 23, 2025 |
263
+
| {% data variables.product.prodname_vs %} | Nov 5, 2025 |
264
+
| {% data variables.product.prodname_vscode_shortname %} | Nov 14, 2025 |
265
+
| Eclipse | Dec 2025 |
266
+
| JetBrains IDEs | Dec 2025 |
267
+
| Xcode | Dec 2025 |
268
+
269
+
### Using Azure API Center as a registry
270
+
271
+
> [!NOTE]
272
+
> Azure API Center requires an Azure API Management subscription to function as an MCP registry. For pricing details, see [MCP management availability](https://learn.microsoft.com/en-us/azure/api-management/mcp-server-overview#availability) and [API Management pricing](https://azure.microsoft.com/en-us/pricing/details/api-management/) in the Azure API Center documentation.
273
+
274
+
For enterprises that want a dynamic and fully managed option, Azure API Center can be used as an MCP registry. It provides governance features, discovery UI, and integration with existing API catalogs.
189
275
190
276
1. Go to the Azure API Center portal.
191
277
1. Create a new API Center instance (or reuse an existing one).
192
278
1. Add your MCP servers as APIs, including their manifests and metadata.
193
279
1. Publish your API Center instance.
194
-
1. Copy the API Center endpoint URL—this becomes your MCP Registry URL.
280
+
1. Copy the API Center endpoint URL—this becomes your MCP registry URL.
195
281
1. Paste this URL into the **MCP Registry URL (optional)** field in your {% data variables.product.prodname_enterprise %} or organization settings.
196
282
197
-
> [!NOTE]
198
-
> Azure API Center includes a free tier for basic API cataloging and discovery. Larger organizations may choose to use paid Azure API Management plans for higher scale and advanced governance.
199
-
200
-
For more information, see [Azure API Center Documentation](https://learn.microsoft.com/en-us/azure/api-center/) and [Azure API Center Quickstart](https://learn.microsoft.com/en-us/azure/api-center/set-up-api-center).
283
+
For more information, see [Register and discover remote MCP servers in your API inventory](https://learn.microsoft.com/en-us/azure/api-center/register-discover-mcp-server) in the Azure API Center Documentation.
0 commit comments