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/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
@@ -16,7 +16,7 @@ monikerRange: '>= vs-2022'
16
16
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.
17
17
18
18
## Prerequisites
19
-
+[Visual Studio 2022 version 17.14](/visualstudio/releases/2022/release-history) or later.
19
+
+[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.
20
20
21
21
## How do MCP and Visual Studio extend GitHub Copilot's agent?
22
22
@@ -30,54 +30,33 @@ By standardizing this interaction, MCP eliminates the need for custom integratio
30
30
31
31
## Configuration example with GitHub MCP server
32
32
33
-
1. Create a new file: `<SOLUTIONDIR>\.mcp.json`. Using Visual Studio to edit this file is recommended so its JSON schema is automatically applied.
33
+
The following walkthrough requires 17.14.9 or later.
34
+
35
+
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.
34
36
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`.
70
51
71
-
5. When prompted, paste your personal access token into the dialog.
72
-
73
-
:::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":::
Copy file name to clipboardExpand all lines: docs/msbuild/customize-by-directory.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ A summary of MSBuild's general approach is as follows:
126
126
- For any given project, MSBuild finds the first *Directory.Build.props* upward in the solution structure, merges it with defaults, and stops scanning for more.
127
127
- If you want multiple levels to be found and merged, then [`<Import...>`](../msbuild/property-functions.md#msbuild-getpathoffileabove) (shown previously) the "outer" file from the "inner" file.
128
128
- If the "outer" file doesn't itself also import something above it, then scanning stops there.
129
-
- Only do this if the uupper level file actual exists
129
+
- Only do this if the outer file actually exists
130
130
131
131
Or more simply: the first *Directory.Build.props* that doesn't import anything is where MSBuild stops.
0 commit comments