Skip to content

Commit 8fc1748

Browse files
authored
Merge pull request #7675 from alexwolfmsft/getting-started-refactor-alt
Getting started refactor
2 parents e2df24f + 73f8c5b commit 8fc1748

16 files changed

+378
-45
lines changed

articles/azure-mcp-server/TOC.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,26 @@ items:
55
- name: Overview
66
href: overview.md
77
- name: Get started
8-
href: get-started.md
8+
expanded: true
9+
items:
10+
- name: Get started with Azure MCP Server
11+
href: get-started.md
12+
- name: Code editors and tools
13+
expanded: true
14+
items:
15+
- name: Visual Studio Code
16+
href: get-started/tools/visual-studio-code.md
17+
- name: Visual Studio
18+
href: get-started/tools/visual-studio.md
19+
- name: Cursor
20+
href: get-started/tools/cursor.md
21+
- name: Languages and frameworks
22+
expanded: true
23+
items:
24+
- name: Python
25+
href: get-started/languages/python.md
26+
- name: .NET
27+
href: get-started/languages/dotnet.md
928
- name: Tools
1029
expanded: true
1130
items:
Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,51 @@
11
---
2-
title: Get started using the Azure MCP Server
3-
description: Learn how to connect to and consume Azure MCP Server operations
4-
keywords: azure developer cli, azd
2+
title: Get started with the Azure MCP Server
3+
description: Overview of the options for using the Azure MCP Server with tools and languages
54
author: alexwolfmsft
65
ms.author: alexwolf
7-
ms.date: 05/14/2025
6+
ms.service: azure
7+
ms.date: 08/12/2025
88
ms.topic: get-started
9+
content_well_notification:
10+
- AI-contribution
11+
ai-usage: ai-assisted
912
ms.custom: build-2025
10-
zone_pivot_group_filename: developer/azure-mcp-server/azure-mcp-zone-pivot-groups.json
11-
zone_pivot_groups: azure-mcp-server-tools-frameworks
1213
---
1314

14-
# Get started with Azure MCP Server
15+
# Get started with the Azure MCP Server
1516

16-
The Azure MCP Server uses the Model Context Protocol (MCP) to standardize integrations between AI apps and external tools and data sources, allowing for AI systems to perform operations that are context-aware of your Azure resources.
17+
The Azure MCP Server enables AI-powered development tools to interact with Azure cloud services through the Model Context Protocol (MCP). It provides a unified way to manage Azure resources, deploy applications, and query cloud services directly from your development environment.
1718

18-
::: zone pivot="mcp-github-copilot"
19+
Azure MCP Server is designed to work across multiple tools, languages, frameworks, and use cases. You can use it to manage Azure resources through natural language conversations, build automation scripts, or integrate Azure operations into your applications.
1920

20-
[!INCLUDE [get-started-copilot](includes/get-started-copilot.md)]
21+
## Code editors
2122

22-
::: zone-end
23+
Azure MCP Server works with AI-powered code editors that support the Model Context Protocol. Learn how to get started with the following code editors:
2324

24-
::: zone pivot="mcp-csharp"
25+
- [**Visual Studio Code**](get-started/tools/visual-studio-code.md)
26+
- [**Visual Studio**](get-started/tools/visual-studio.md)
27+
- [**Cursor**](get-started/tools/cursor.md)
2528

26-
[!INCLUDE [get-started-dotnet](includes/get-started-dotnet.md)]
29+
## Languages & frameworks
2730

28-
::: zone-end
31+
You can also connect to Azure MCP Server using programming languages and frameworks. This documentation currently provides guidance and examples for Python and .NET.
2932

30-
::: zone pivot="mcp-python"
33+
### Python
3134

32-
[!INCLUDE [get-started-python](includes/get-started-python.md)]
35+
[Get started with Azure MCP Server and Python](get-started/languages/python.md) to enhance your apps and workflows:
3336

34-
::: zone-end
37+
- Use Python MCP client libraries to connect directly to Azure MCP Server.
38+
- Build automation scripts that manage Azure resources.
39+
- Integrate into web frameworks like Django, Flask, or FastAPI.
40+
- Incorporate Azure operations into data science workflows with Jupyter notebooks.
3541

36-
## Next steps
42+
### .NET
3743

38-
> [!div class="nextstepaction"]
39-
> [Learn more about Azure MCP Server tools](tools/index.md)
44+
[Get started with Azure MCP Server and .NET](get-started/languages/dotnet.md) to enhance your apps and workflows:
45+
46+
- Create console applications and command-line tools for Azure management.
47+
- Build ASP.NET Core web applications with integrated Azure capabilities.
48+
- Develop Azure Functions that leverage Azure MCP Server for resource management.
49+
- Create Windows desktop applications with Azure integration.
50+
51+
The Azure MCP Server provides flexibility to work with Azure in the way that best fits your development style and requirements, whether through interactive AI-powered editors or programmatic integration in your applications.

articles/azure-mcp-server/includes/get-started-dotnet.md renamed to articles/azure-mcp-server/get-started/languages/dotnet.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
---
2+
title: Get started using the Azure MCP Server with .NET
3+
description: Learn how to connect to and consume Azure MCP Server operations with .NET
4+
keywords: azure developer cli, azd
5+
author: alexwolfmsft
6+
ms.author: alexwolf
7+
ms.date: 08/11/2025
8+
ms.topic: get-started
9+
ms.custom: build-2025
10+
---
11+
12+
# Get started using the Azure MCP Server with .NET
13+
14+
[!INCLUDE [get-started-intro](../../includes/get-started-intro.md)]
115
In this article, you learn how to complete the following tasks:
216

317
- Install and authenticate to the Azure MCP Server
@@ -10,9 +24,9 @@ In this article, you learn how to complete the following tasks:
1024
- [.NET 9.0](https://dotnet.microsoft.com/en-us/download)
1125
- [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
1226

13-
[!INCLUDE [permissions-note](permissions-note.md)]
27+
[!INCLUDE [permissions-note](../../includes/permissions-note.md)]
1428

15-
[!INCLUDE [sign-in-local-development](sign-in-local-development.md)]
29+
[!INCLUDE [sign-in-local-development](../../includes/sign-in-local-development.md)]
1630

1731
## Create the .NET host app
1832

@@ -160,3 +174,8 @@ Complete the following steps to test your .NET host app:
160174
List all of the storage accounts in my subscription
161175
Get the available tables in my storage accounts
162176
```
177+
178+
## Next steps
179+
180+
> [!div class="nextstepaction"]
181+
> [Learn more about Azure MCP Server tools](../../tools/index.md)

articles/azure-mcp-server/includes/get-started-python.md renamed to articles/azure-mcp-server/get-started/languages/python.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
---
2+
title: Get started using the Azure MCP Server with Python
3+
description: Learn how to connect to and consume Azure MCP Server operations with Python
4+
keywords: azure developer cli, azd
5+
author: alexwolfmsft
6+
ms.author: alexwolf
7+
ms.date: 05/14/2025
8+
ms.topic: get-started
9+
ms.custom: build-2025
10+
---
11+
12+
# Get started using the Azure MCP Server with Python
13+
14+
[!INCLUDE [get-started-intro](../../includes/get-started-intro.md)]
15+
116
In this article, you learn how to complete the following tasks:
217

318
- Install and authenticate to the Azure MCP Server
@@ -10,9 +25,9 @@ In this article, you learn how to complete the following tasks:
1025
- [Python 3.9 or higher](https://www.python.org/downloads/) installed locally
1126
- [Node.js](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) installed locally
1227

13-
[!INCLUDE [permissions-note](permissions-note.md)]
28+
[!INCLUDE [permissions-note](../../includes/permissions-note.md)]
1429

15-
[!INCLUDE [sign-in-local-development](sign-in-local-development.md)]
30+
[!INCLUDE [sign-in-local-development](../../includes/sign-in-local-development.md)]
1631

1732
## Create the Python app
1833

@@ -211,3 +226,8 @@ Complete the following steps to test your .NET host app:
211226
List all of the storage accounts in my subscription
212227
Get the available tables in my storage accounts
213228
```
229+
230+
## Next steps
231+
232+
> [!div class="nextstepaction"]
233+
> [Learn more about Azure MCP Server tools](../../tools/index.md)
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
title: Get started using the Azure MCP Server with Cursor
3+
description: Learn how to connect to and consume Azure MCP Server operations with Cursor
4+
keywords: azure developer cli, azd, cursor, mcp
5+
author: alexwolfmsft
6+
ms.author: alexwolf
7+
ms.date: 08/11/2025
8+
ms.topic: get-started
9+
ms.custom: build-2025
10+
---
11+
12+
# Get started with the Azure MCP Server in Cursor
13+
14+
[!INCLUDE [get-started-intro](../../includes/get-started-intro.md)]
15+
16+
In this article, you learn how to complete the following tasks:
17+
18+
- Install and authenticate to the Azure MCP Server
19+
- Connect to Azure MCP Server using Cursor's AI-powered development environment
20+
- Run prompts to test Azure MCP Server operations and interact with Azure resources
21+
22+
## Prerequisites
23+
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+
- [Cursor](https://cursor.sh/) - The AI-powered code editor
26+
27+
[!INCLUDE [permissions-note](../../includes/permissions-note.md)]
28+
29+
## Install the Azure MCP Server
30+
31+
To install and configure Azure MCP Server in Cursor:
32+
33+
1. Navigate to **File > Preferences > Cursor Settings**
34+
1. Select **Tools & Integrations** from the left navigation.
35+
1. In the **MCP Tools** section of the page, select **New MCP Server** to open the `mcp.json` file for editing.
36+
37+
:::image type="content" source="../../media/cursor-configure-mcp-server.png" alt-text="A screenshot showing how to configure an MCP Server in Cursor.":::
38+
39+
1. Add the following configuration to the `mcpServers` JSON object:
40+
41+
```json
42+
"Azure MCP Server": {
43+
"command": "npx",
44+
"args": [
45+
"-y",
46+
"@azure/mcp@latest",
47+
"server",
48+
"start"
49+
]
50+
}
51+
```
52+
53+
## Use prompts to test the Azure MCP Server
54+
55+
1. Open Cursor's AI chat interface by pressing `Ctrl+L` or clicking the chat icon in the sidebar.
56+
2. Enter a prompt that utilizes Azure MCP Server capabilities, such as:
57+
58+
```text
59+
List my Azure storage accounts
60+
```
61+
62+
3. If you're prompted to authenticate to Azure, run the suggested auth tool to sign-in through the browser.
63+
64+
> [!NOTE]
65+
> Cursor doesn't prompt you to sign in to Azure if you're already authenticated via other local tooling such as the Azure CLI.
66+
67+
4. Cursor prompts you to run a tool to retrieve the storage accounts, such as `storage account list`. Select **Run tool** to continue.
68+
69+
The output should resemble the following text:
70+
71+
```output
72+
The following resource groups are available for your subscription:
73+
74+
1. **DefaultResourceGroup-EUS** (Location: `eastus`)
75+
2. **rg-testing** (Location: `centralus`)
76+
3. **rg-azd** (Location: `eastus2`)
77+
4. **msdocs-sample** (Location: `southcentralus`)
78+
5. **ai-testing** (Location: `eastus2`)
79+
80+
Let me know if you need further details or actions related to any of these resource groups!
81+
```
82+
83+
5. Explore more Azure MCP operations using other relevant prompts, such as:
84+
85+
```text
86+
List all of the storage accounts in my subscription
87+
Get the available tables in my storage accounts
88+
Show me the configuration of my App Service instances
89+
```
90+
91+
## Next steps
92+
93+
> [!div class="nextstepaction"]
94+
> [Learn more about Azure MCP Server tools](../../tools/index.md)

articles/azure-mcp-server/includes/get-started-copilot.md renamed to articles/azure-mcp-server/get-started/tools/visual-studio-code.md

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1+
---
2+
title: Get started using the Azure MCP Server with Visual Studio Code
3+
description: Learn how to connect to and consume Azure MCP Server operations with Visual Studio Code
4+
keywords: azure developer cli, azd
5+
author: alexwolfmsft
6+
ms.author: alexwolf
7+
ms.date: 08/11/2025
8+
ms.topic: get-started
9+
ms.custom: build-2025
10+
---
11+
12+
# Get started with the Azure MCP Server using Visual Studio Code
13+
14+
[!INCLUDE [get-started-intro](../../includes/get-started-intro.md)]
15+
116
In this article, you learn how to complete the following tasks:
217

318
- Install and authenticate to the Azure MCP Server
4-
- Connect to Azure MCP Server using using GitHub Copilot agent mode in Visual Studio Code
19+
- Connect to Azure MCP Server using GitHub Copilot agent mode in Visual Studio Code
520
- Run prompts to test Azure MCP Server operations and interact with Azure resources
621

722
## Prerequisites
@@ -10,26 +25,25 @@ In this article, you learn how to complete the following tasks:
1025
- [Visual Studio Code](https://code.visualstudio.com/download)
1126
- [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) Visual Studio Code extension
1227

13-
[!INCLUDE [permissions-note](permissions-note.md)]
28+
[!INCLUDE [permissions-note](../../includes/permissions-note.md)]
1429

1530
## Install the Azure MCP Server
1631

1732
Select one of the following options to install the Azure MCP Server in Visual Studio Code:
1833

19-
## [Global install](#tab/one-click)
20-
21-
1. To install the Azure MCP Server for Visual Studio Code in your user settings, select the following link:
34+
## [Extension install](#tab/one-click)
2235

23-
[![Install with NPX in Visual Studio Code](https://img.shields.io/badge/VS_Code-Install_Azure_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Azure%20MCP%20Server&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40azure%2Fmcp%40latest%22%2C%22server%22%2C%22start%22%5D%7D)
36+
1. To install the [Azure MCP Server Extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azure-mcp-server), select the following link:
2437

25-
A list of installation options opens inside Visual Studio Code. Select **Install Server** to add the server configuration to your user settings.
38+
[![Install with NPX in Visual Studio Code](https://img.shields.io/badge/VS_Code-Install_Azure_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](vscode:extension/ms-azuretools.vscode-azure-mcp-server)
2639

27-
:::image type="content" source="../media/install-mcp-server.png" alt-text="A screenshot showing Azure MCP Server installation options.":::
40+
> [!TIP]
41+
> For an optimal Azure MCP Server experience, [install GitHub Copilot for Azure](/azure/developer/github-copilot-azure/get-started), which includes and uses the Azure MCP Server extension. GitHub Copilot for Azure streamlines your development workflow and enhances your productivity on the Azure platform.
2842
29-
1. Open GitHub Copilot and select Agent Mode. To learn more about Agent Mode, visit the [Visual Studio Code Documentation](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode).
43+
1. After you install the extension, open GitHub Copilot and select Agent Mode. To learn more about Agent Mode, visit the [Visual Studio Code Documentation](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode).
3044
1. Refresh the tools list to see Azure MCP Server as an available option:
3145

32-
:::image type="content" source="../media/github-copilot-integration.png" alt-text="A screenshot showing Azure MCP Server as GitHub Copilot tool.":::
46+
:::image type="content" source="../../media/github-copilot-integration.png" alt-text="A screenshot showing Azure MCP Server as GitHub Copilot tool.":::
3347

3448
## [Directory install](#tab/manual)
3549

@@ -59,7 +73,7 @@ You can also manually install Azure MCP Server for a specific directory:
5973
1. Open GitHub Copilot and select Agent Mode.
6074
1. Select the tools icon to view the available tools. Search for *Azure MCP Server* to filter the results.
6175

62-
:::image type="content" source="../media/github-copilot-integration.png" alt-text="A screenshot showing Azure MCP Server as GitHub Copilot tool.":::
76+
:::image type="content" source="../../media/github-copilot-integration.png" alt-text="A screenshot showing Azure MCP Server as GitHub Copilot tool.":::
6377

6478
To learn more about Agent Mode, visit the [Visual Studio Code Documentation](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode).
6579

@@ -79,7 +93,7 @@ You can also manually install Azure MCP Server for a specific directory:
7993
- **Current workspace** always runs the command for current Visual Studio Code workspace.
8094
- **Always allow** sets the operation to always run for any GitHub Copilot Agent Mode session or any Visual Studio Code workspace.
8195

82-
:::image type="content" source="../media/run-command-prompt.png" alt-text="A screenshot showing the options available to run Azure MCP Server operations.":::
96+
:::image type="content" source="../../media/run-command-prompt.png" alt-text="A screenshot showing the options available to run Azure MCP Server operations.":::
8397

8498
The output for the previous prompt should resemble the following text:
8599

@@ -101,3 +115,8 @@ You can also manually install Azure MCP Server for a specific directory:
101115
List all of the storage accounts in my subscription
102116
Get the available tables in my storage accounts
103117
```
118+
119+
## Next steps
120+
121+
> [!div class="nextstepaction"]
122+
> [Learn more about Azure MCP Server tools](../../tools/index.md)

0 commit comments

Comments
 (0)