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
Enhance MCP server setup instructions in documentation
Updated prerequisites and configuration steps for MCP servers in Visual Studio. Added recommendations for the latest servicing release and clarified file creation instructions.
Copy file name to clipboardExpand all lines: docs/ide/mcp-servers.md
+11-32Lines changed: 11 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ monikerRange: '>= vs-2022'
15
15
Model Context Protocol (MCP) is an open standard that enables AI models to interact with external tools and services through a unified interface. In Visual Studio, MCP support enhances GitHub Copilot's agent mode by allowing you to connect any MCP-compatible server to your agentic coding workflow. This article guides you through setting up MCP servers and using tools with agent mode in Visual Studio.
16
16
17
17
## Prerequisites
18
-
+[Visual Studio 2022 version 17.14](/visualstudio/releases/2022/release-history) or later.
18
+
+[Visual Studio 2022 version 17.14](/visualstudio/releases/2022/release-history) or later. The latest servicing release of 17.14 is highly recommended as MCP features are actively being added with each release.
19
19
20
20
## How do MCP and Visual Studio extend GitHub Copilot's agent?
21
21
@@ -29,54 +29,33 @@ By standardizing this interaction, MCP eliminates the need for custom integratio
29
29
30
30
## Configuration example with GitHub MCP server
31
31
32
-
1. Create a new file: `<SOLUTIONDIR>\.mcp.json`. Using Visual Studio to edit this file is recommended so its JSON schema is automatically applied.
32
+
The following walkthrough requires 17.14.9 or later.
33
+
34
+
1. Create a new file: `<SOLUTIONDIR>\.mcp.json` or `%USERPROFILE%\.mcp.json`. Using Visual Studio to edit this file is recommended so its JSON schema is automatically applied.
33
35
2. Paste the following contents into the `.mcp.json` file
5. In Visual Studio, click the `Ask`dropdown in the GitHub Copilot Chat window, and then select `Agent`.
69
50
70
-
5. When prompted, paste your personal access token into the dialog.
71
-
72
-
:::image type="content" source="media/vs-2022/mcp-servers/model-context-protocol-personal-access-token.png" alt-text="Screenshot that shows entering the personal access token." lightbox="media/vs-2022/mcp-servers/model-context-protocol-personal-access-token.png":::
0 commit comments