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: articles/azure-mcp-server/get-started/tools/visual-studio.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: build-2025
16
16
In this article, you learn how to complete the following tasks:
17
17
18
18
- Install and authenticate to the Azure MCP Server
19
-
- Connect to Azure MCP Server using using GitHub Copilot agent mode in Visual Studio
19
+
- Connect to Azure MCP Server using GitHub Copilot agent mode in Visual Studio
20
20
- Run prompts to test Azure MCP Server operations and interact with Azure resources
21
21
22
22
## Prerequisites
@@ -33,8 +33,8 @@ Visual Studio uses a file named `mcp.json` to check for MCP Server configuration
33
33
1.`%USERPROFILE%\.mcp.json`: Serves as a global MCP server configuration for a specific user. Adding an MCP server here would make it load for all Visual Studio solutions.
34
34
1.`<SOLUTIONDIR>\.vs\mcp.json`: Specific to Visual Studio and only loads the specified MCP servers for a specific user, for the specified solution.
35
35
1.`<SOLUTIONDIR>\.mcp.json`: Works well if you're looking for an MCP configuration that you can track in source control for a repo.
36
-
1.`<SOLUTIONDIR>\.vscode\mcp.json`: Scoped to the repository/solution and typically not source controlled.
37
-
1.`<SOLUTIONDIR>\.cursor\mcp.json`: Scoped to the repository/solution and typically not source controlled.
36
+
1.`<SOLUTIONDIR>\.vscode\mcp.json`: Scoped to the repository/solution and typically not included in source control.
37
+
1.`<SOLUTIONDIR>\.cursor\mcp.json`: Scoped to the repository/solution and typically not included in source control.
38
38
39
39
> [!NOTE]
40
40
> Some of these locations require .mcp.json while others require mcp.json.
@@ -106,18 +106,19 @@ Complete the following steps to install Azure MCP Server for a specific director
106
106
1. In order to authenticate Azure MCP Server, Copilot prompts you to sign-in to Azure using the browser.
107
107
108
108
> [!NOTE]
109
-
> Copilot won't prompt you to sign-in to Azure if you're already authenticated via other local tooling such as the Azure CLI.
109
+
> Copilot doesn't you to sign-in to Azure if you're already authenticated via other local tooling such as the Azure CLI.
110
110
111
111
1. Copilot requests permission to run the necessary Azure MCP Server operation for your prompt. Select **Allow this time** or use the arrow to select a more specific behavior:
112
112
- **Always allow** sets the operation to always run for any GitHub Copilot Agent Mode session or any Visual Studio Code workspace.
113
113
- **Allow in this session** always runs the operation in the current GitHub Copilot Agent Mode session.
114
114
115
-
:::image type="content" source="../../media/github-copilot-run-command.png" alt-text="A screenshot showing how to run Azure MCP Server tools in Visual Studio.":::
115
+
:::image type="content" source="../../media/github-copilot-run-command.png" alt-text="A screenshot showing how to run Azure MCP Server tools in Visual Studio.":::
116
+
116
117
The output for the previous prompt should resemble the following text:
117
118
118
119
```output
119
120
The following resource groups are available for your subscription:
0 commit comments