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
Copy file name to clipboardExpand all lines: docs/copilot/customization/mcp-servers.md
+6-16Lines changed: 6 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,22 +57,6 @@ VS Code supports the following MCP capabilities:
57
57
* Install the latest version of [Visual Studio Code](/download)
58
58
* Access to [Copilot](/docs/copilot/setup.md)
59
59
60
-
## Enable MCP support in VS Code
61
-
62
-
The `setting(chat.mcp.access)` setting controls which MCP servers can be installed and run in VS Code:
63
-
64
-
*`all` (default): All MCP servers are allowed
65
-
*`registry`: Only MCP servers from the registry are allowed
66
-
*`none`: No MCP servers are allowed
67
-
68
-
### Centrally manage MCP support
69
-
70
-
You have two options to centrally manage MCP support in your organization:
71
-
72
-
***Device management**: Centrally enable or disable MCP support in your organization via group policies or configuration profiles. Learn more about [managing VS Code settings with device management](/docs/setup/enterprise.md#centrally-manage-vs-code-settings).
73
-
74
-
***GitHub Copilot policy**: Control the availability of MCP servers in your organization with a GitHub Copilot policy. Learn more about [Managing policies and features for Copilot in your enterprise](https://docs.github.com/en/enterprise-cloud@latest/copilot/how-tos/administer/enterprises/managing-policies-and-features-for-copilot-in-your-enterprise) in the GitHub Copilot documentation.
75
-
76
60
## Add an MCP server
77
61
78
62
> [!CAUTION]
@@ -84,6 +68,8 @@ You can install an MCP server directly from the [GitHub MCP server registry](htt
84
68
85
69
To install an MCP server from the Extensions view:
86
70
71
+
1. Enable the MCP server gallery with the `setting(chat.mcp.gallery.enabled)` setting.
72
+
87
73
1. Open the Extensions view (`kb(workbench.view.extensions)`)
88
74
89
75
1. Enter `@mcp` in the search field to show the list of MCP servers or run the **MCP: Browse Servers** command from the Command Palette.
@@ -482,6 +468,10 @@ You can enable _development mode_ for MCP servers by adding a `dev` key to the M
482
468
483
469
Learn more about [MCP development mode](/api/extension-guides/ai/mcp.md#mcp-development-mode-in-vs-code) in the MCP Dev Guide.
484
470
471
+
## Centrally control MCP access
472
+
473
+
Organizations can centrally manage access to MCP servers via GitHub policies. Learn more about [enterprise management of MCP servers](/docs/setup/enterprise.md#configure-mcp-server-access).
Copy file name to clipboardExpand all lines: docs/setup/enterprise.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,22 @@ Duplicate key values are not supported. For example, including both `"microsoft"
94
94
95
95
If you want to learn more about extensions in VS Code, refer to the [extensions documentation](/docs/configure/extensions/extension-marketplace.md).
96
96
97
+
## Configure MCP server access
98
+
99
+
By default, VS Code allows developers to [add any MCP server](/docs/copilot/customization/mcp-servers.md) to their environment. Organizations can restrict which MCP servers are allowed to be used by developers in VS Code. The following configuration options are available in their [GitHub Copilot settings](https://docs.github.com/en/copilot/how-tos/administer-copilot/configure-mcp-server-access):
100
+
101
+
* Configure from which source MCP servers are enabled to run (controls the `setting(chat.mcp.access)` VS Code setting)
102
+
103
+
***All**: developers can run MCP servers from any source
104
+
***Registry**: developers can only run MCP servers from the MCP registry, other MCP servers are blocked from running
105
+
***None**: MCP server support is disabled
106
+
107
+
* Configure a custom MCP registry URL
108
+
109
+
When the `setting(chat.mcp.gallery.enabled)` VS Code setting is enabled, developers can view the list of MCP servers in the Extensions view. By default, VS Code fetches the list of MCP servers from the [GitHub MCP registry](https://github.com/mcp). Organizations can configure a custom MCP registry URL to fetch the list of MCP servers from a different source.
110
+
111
+
Learn how to [configure MCP server access](https://docs.github.com/en/copilot/how-tos/administer-copilot/configure-mcp-server-access) in the GitHub Copilot documentation.
112
+
97
113
## Configure automatic updates
98
114
99
115
The `update.mode` VS Code setting controls whether VS Code automatically updates when a new version is released. The updates are fetched from a Microsoft online service.
0 commit comments