Skip to content

Commit fccba1e

Browse files
authored
Merge pull request #9032 from microsoft/ntrogh/vnext/mcp-registry
MCP server gallery
2 parents ad92b8d + b882c66 commit fccba1e

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

docs/copilot/customization/mcp-servers.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,6 @@ VS Code supports the following MCP capabilities:
5757
* Install the latest version of [Visual Studio Code](/download)
5858
* Access to [Copilot](/docs/copilot/setup.md)
5959

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-
7660
## Add an MCP server
7761

7862
> [!CAUTION]
@@ -84,6 +68,8 @@ You can install an MCP server directly from the [GitHub MCP server registry](htt
8468

8569
To install an MCP server from the Extensions view:
8670

71+
1. Enable the MCP server gallery with the `setting(chat.mcp.gallery.enabled)` setting.
72+
8773
1. Open the Extensions view (`kb(workbench.view.extensions)`)
8874

8975
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
482468

483469
Learn more about [MCP development mode](/api/extension-guides/ai/mcp.md#mcp-development-mode-in-vs-code) in the MCP Dev Guide.
484470

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).
474+
485475
## Frequently asked questions
486476

487477
### Can I control which MCP tools are used?

docs/setup/enterprise.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,22 @@ Duplicate key values are not supported. For example, including both `"microsoft"
9494

9595
If you want to learn more about extensions in VS Code, refer to the [extensions documentation](/docs/configure/extensions/extension-marketplace.md).
9696

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+
97113
## Configure automatic updates
98114

99115
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

Comments
 (0)