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/cursor.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ In this article, you learn how to complete the following tasks:
23
23
24
24
- An [Azure account](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio) with an active subscription
25
25
-[Cursor](https://cursor.sh/) - The AI-powered code editor
26
-
-[Node.js](https://nodejs.org/) version 18 or higher installed on your system
Copy file name to clipboardExpand all lines: articles/azure-mcp-server/get-started/tools/visual-studio.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ In this article, you learn how to complete the following tasks:
30
30
31
31
Visual Studio uses a file named `mcp.json` to check for MCP Server configurations, including configurations set up by other development environments. MCP server configurations are read from the following directories, in the following order:
32
32
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.
33
+
1.`%USERPROFILE%\.mcp.json`: Serves as a global MCP server configuration for a specific user. Add an MCP server here to 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
-
1.`<SOLUTIONDIR>\.mcp.json`: Works well if you're looking for an MCP configuration that you can track in source control for a repo.
35
+
1.`<SOLUTIONDIR>\.mcp.json`: A solution-level MCP configuration that you can track in source control for a repo.
36
36
1.`<SOLUTIONDIR>\.vscode\mcp.json`: Scoped to the repository/solution and typically not included in source control.
37
37
1.`<SOLUTIONDIR>\.cursor\mcp.json`: Scoped to the repository/solution and typically not included in source control.
38
38
@@ -41,11 +41,11 @@ Visual Studio uses a file named `mcp.json` to check for MCP Server configuration
41
41
42
42
The following options demonstrate two of the most common approaches to connect to Azure MCP Server from Visual Studio.
43
43
44
-
## [Global install](#tab/one-click)
44
+
## [Solution install](#tab/manual)
45
45
46
-
Complete the following steps to globally add Azure MCP Server for all Visual Studio solutions for a specific user:
46
+
Complete the following steps to install Azure MCP Server for a specific directory:
47
47
48
-
1. Create a new file `%USERPROFILE%\.mcp.json`. Use Visual Studio to edit this file so that its JSON schema is automatically applied.
48
+
1. Create a new file at the root of your solution named `.mcp.json`. Use Visual Studio to edit this file so that its JSON schema is automatically applied.
49
49
1. Inside the `.mcp.json` file, add the following JSON:
50
50
51
51
```json
@@ -65,14 +65,14 @@ Complete the following steps to globally add Azure MCP Server for all Visual Stu
65
65
```
66
66
67
67
1. Save your changes.
68
-
1. Inside Visual Studio, Open GitHub Copilot and select Agent Mode.
68
+
1. Open GitHub Copilot and select Agent Mode.
69
69
1. Select the tools icon to view the available tools. Search for *Azure MCP Server* to filter the results.
70
70
71
-
## [Directory install](#tab/manual)
71
+
## [Global install](#tab/one-click)
72
72
73
-
Complete the following steps to install Azure MCP Server for a specific directory:
73
+
Complete the following steps to globally add Azure MCP Server for all Visual Studio solutions for a specific user:
74
74
75
-
1. Create a new file at the root of your solution named `.mcp.json`. Use Visual Studio to edit this file so that its JSON schema is automatically applied.
75
+
1. Create a new file at `%USERPROFILE%\.mcp.json`. Use Visual Studio to edit this file so that its JSON schema is automatically applied.
76
76
1. Inside the `.mcp.json` file, add the following JSON:
77
77
78
78
```json
@@ -92,7 +92,7 @@ Complete the following steps to install Azure MCP Server for a specific director
92
92
```
93
93
94
94
1. Save your changes.
95
-
1. Open GitHub Copilot and select Agent Mode.
95
+
1. Inside Visual Studio, Open GitHub Copilot and select Agent Mode.
96
96
1. Select the tools icon to view the available tools. Search for *Azure MCP Server* to filter the results.
97
97
98
98
---
@@ -101,7 +101,7 @@ Complete the following steps to install Azure MCP Server for a specific director
101
101
102
102
## Use prompts to test the Azure MCP Server
103
103
104
-
1. If you haven't already, Open GitHub Copilot and select Agent Mode.
104
+
1. Open GitHub Copilot and select Agent Mode.
105
105
1. Enter a prompt that causes the agent to use Azure MCP Server tools, such as *List my Azure resource groups*.
106
106
1. In order to authenticate Azure MCP Server, Copilot prompts you to sign-in to Azure using the browser.
0 commit comments