@azure/mcp 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -127
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
|
-
# <img height="36" width="36" src="https://cdn-dynmedia-1.microsoft.com/is/content/microsoftcorp/acom_social_icon_azure" alt="Microsoft Azure Logo" /> Azure MCP Server
|
|
1
|
+
# <img height="36" width="36" src="https://cdn-dynmedia-1.microsoft.com/is/content/microsoftcorp/acom_social_icon_azure" alt="Microsoft Azure Logo" /> Azure MCP Server NPM Package
|
|
2
2
|
|
|
3
3
|
All Azure MCP tools in a single server. The Azure MCP Server implements the [MCP specification](https://modelcontextprotocol.io) to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the [GitHub Copilot for Azure extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azure-github-copilot) in VS Code. This project is in Public Preview and implementation may significantly change prior to our General Availability.
|
|
4
4
|
|
|
5
|
-
[](https://vscode.dev/redirect?url=vscode:extension/ms-azuretools.vscode-azure-mcp-server) [](https://vscode.dev/redirect?url=vscode-insiders:extension/ms-azuretools.vscode-azure-mcp-server) [](https://marketplace.visualstudio.com/items?itemName=github-copilot-azure.GitHubCopilotForAzure2022) [](https://plugins.jetbrains.com/plugin/8053)
|
|
6
|
-
|
|
7
|
-
|
|
8
5
|
## Table of Contents
|
|
9
6
|
- [Overview](#overview)
|
|
10
7
|
- [Installation](#installation)
|
|
11
|
-
- [IDE](#ide)
|
|
12
|
-
- [VS Code (Recommended)](#vs-code-recommended)
|
|
13
|
-
- [Visual Studio 2022](#visual-studio-2022)
|
|
14
|
-
- [IntelliJ IDEA](#intellij-idea)
|
|
15
|
-
- [Manual Setup](#manual-setup)
|
|
16
|
-
- [Package Manager](#package-manager)
|
|
17
|
-
- [NuGet](#nuget)
|
|
18
|
-
- [NPM](#npm)
|
|
19
|
-
- [Docker](#docker)
|
|
20
8
|
- [Usage](#usage)
|
|
21
9
|
- [Getting Started](#getting-started)
|
|
22
10
|
- [What can you do with the Azure MCP Server?](#what-can-you-do-with-the-azure-mcp-server)
|
|
@@ -26,7 +14,8 @@ All Azure MCP tools in a single server. The Azure MCP Server implements the [MCP
|
|
|
26
14
|
- [Feedback and Support](#feedback-and-support)
|
|
27
15
|
- [Security](#security)
|
|
28
16
|
- [Data Collection](#data-collection)
|
|
29
|
-
- [Contributing
|
|
17
|
+
- [Contributing](#contributing)
|
|
18
|
+
- [Code of Conduct](#code-of-conduct)
|
|
30
19
|
|
|
31
20
|
# Overview
|
|
32
21
|
|
|
@@ -34,58 +23,24 @@ All Azure MCP tools in a single server. The Azure MCP Server implements the [MCP
|
|
|
34
23
|
|
|
35
24
|
# Installation
|
|
36
25
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## IDE
|
|
40
|
-
|
|
41
|
-
Start using Azure MCP with your favorite IDE. We recommend VS Code:
|
|
42
|
-
|
|
43
|
-
### VS Code (Recommended)
|
|
44
|
-
|
|
45
|
-
1. Install either the stable or Insiders release of VS Code:
|
|
46
|
-
* [💫 Stable release](https://code.visualstudio.com/download)
|
|
47
|
-
* [🔮 Insiders release](https://code.visualstudio.com/insiders)
|
|
48
|
-
1. Install the [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) and [GitHub Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) extensions
|
|
49
|
-
1. Install the [Azure MCP Server](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azure-mcp-server) extension
|
|
50
|
-
|
|
51
|
-
### Visual Studio 2022
|
|
52
|
-
|
|
53
|
-
From within Visual Studio 2022 install [GitHub Copilot for Azure (VS 2022)](https://marketplace.visualstudio.com/items?itemName=github-copilot-azure.GitHubCopilotForAzure2022):
|
|
54
|
-
1. Go to `Extensions | Manage Extensions...`
|
|
55
|
-
2. Switch to the `Browse` tab in `Extension Manager`
|
|
56
|
-
3. Search for `Github Copilot for Azure`
|
|
57
|
-
4. Click `Install`
|
|
58
|
-
|
|
59
|
-
### IntelliJ IDEA
|
|
26
|
+
- To use Azure MCP server from node you must have Node.js (LTS) installed and available on your system PATH — this provides both `npm` and `npx`. We recommend Node.js 20 LTS or later. To verify your installation run: `node --version`, `npm --version`, and `npx --version`.
|
|
27
|
+
- Configure your `mcp.json` file with the following:
|
|
60
28
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
Copy this configuration to your client's MCP configuration file:
|
|
74
|
-
```json
|
|
75
|
-
{
|
|
76
|
-
"mcpServers": {
|
|
77
|
-
"azure-mcp-server": {
|
|
78
|
-
"command": "npx",
|
|
79
|
-
"args": [
|
|
80
|
-
"-y",
|
|
81
|
-
"@azure/mcp@latest",
|
|
82
|
-
"server",
|
|
83
|
-
"start"
|
|
84
|
-
]
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"mcpServers": {
|
|
32
|
+
"azure-mcp-server": {
|
|
33
|
+
"command": "npx",
|
|
34
|
+
"args": [
|
|
35
|
+
"-y",
|
|
36
|
+
"@azure/mcp@latest",
|
|
37
|
+
"server",
|
|
38
|
+
"start"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
85
41
|
}
|
|
86
42
|
}
|
|
87
|
-
|
|
88
|
-
```
|
|
43
|
+
```
|
|
89
44
|
**Note:** When manually configuring Visual Studio and Visual Studio Code, use `servers` instead of `mcpServers` as the root object.
|
|
90
45
|
|
|
91
46
|
**Client-Specific Configuration**
|
|
@@ -99,69 +54,6 @@ Copy this configuration to your client's MCP configuration file:
|
|
|
99
54
|
| **Visual Studio** | `.mcp.json` (solution/workspace) | [Visual Studio MCP Setup](https://learn.microsoft.com/visualstudio/ide/mcp-servers?view=vs-2022) |
|
|
100
55
|
| **VS Code** | `.vscode/mcp.json` (workspace)<br>`settings.json` (user) | [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) |
|
|
101
56
|
| **Windsurf** | `~/.codeium/windsurf/mcp_config.json` | [Windsurf Cascade MCP Integration](https://docs.windsurf.com/windsurf/cascade/mcp) |
|
|
102
|
-
</details>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
## Package Manager
|
|
106
|
-
Package manager installation offers several advantages over IDE-specific setup, including centralized dependency management, CI/CD integration, support for headless/server environments, version control, and project portability.
|
|
107
|
-
|
|
108
|
-
Install Azure MCP Server via a package manager:
|
|
109
|
-
|
|
110
|
-
### NuGet
|
|
111
|
-
|
|
112
|
-
Install the .NET Tool: [Azure.Mcp](https://www.nuget.org/packages/Azure.Mcp).
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
dotnet tool install --global Azure.Mcp
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### NPM
|
|
119
|
-
|
|
120
|
-
Install the Node.js package: [@azure/mcp](https://www.npmjs.com/package/@azure/mcp).
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
npm install -g @azure/mcp
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
### Docker
|
|
127
|
-
|
|
128
|
-
Run the Azure MCP server as a Docker container for easy deployment and isolation. The container image is available at [mcr.microsoft.com/azure-sdk/azure-mcp](https://mcr.microsoft.com/artifact/mar/azure-sdk/azure-mcp).
|
|
129
|
-
|
|
130
|
-
<details>
|
|
131
|
-
<summary>Docker instructions</summary>
|
|
132
|
-
|
|
133
|
-
#### Create an env file with Azure credentials
|
|
134
|
-
|
|
135
|
-
1. Create a `.env` file with Azure credentials ([see EnvironmentCredential options](https://learn.microsoft.com/dotnet/api/azure.identity.environmentcredential)):
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
AZURE_TENANT_ID={YOUR_AZURE_TENANT_ID}
|
|
139
|
-
AZURE_CLIENT_ID={YOUR_AZURE_CLIENT_ID}
|
|
140
|
-
AZURE_CLIENT_SECRET={YOUR_AZURE_CLIENT_SECRET}
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
#### Configure your MCP client to use Docker
|
|
144
|
-
|
|
145
|
-
2. Add or update existing `mcp.json`. Replace `/full/path/to/your/.env` with the actual `.env` file path.
|
|
146
|
-
|
|
147
|
-
```json
|
|
148
|
-
{
|
|
149
|
-
"mcpServers": {
|
|
150
|
-
"Azure MCP Server": {
|
|
151
|
-
"command": "docker",
|
|
152
|
-
"args": [
|
|
153
|
-
"run",
|
|
154
|
-
"-i",
|
|
155
|
-
"--rm",
|
|
156
|
-
"--env-file",
|
|
157
|
-
"/full/path/to/your/.env",
|
|
158
|
-
"mcr.microsoft.com/azure-sdk/azure-mcp:latest"
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
```
|
|
164
|
-
</details>
|
|
165
57
|
|
|
166
58
|
To use Azure Entra ID, review the [troubleshooting guide](https://github.com/microsoft/mcp/blob/main/servers/Azure.Mcp.Server/TROUBLESHOOTING.md#using-azure-entra-id-with-docker).
|
|
167
59
|
|
|
@@ -189,7 +81,7 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
189
81
|
* List foundry model deployments
|
|
190
82
|
* List knowledge indexes
|
|
191
83
|
* Get knowledge index schema configuration
|
|
192
|
-
|
|
84
|
+
|
|
193
85
|
### 🔎 Azure AI Search
|
|
194
86
|
|
|
195
87
|
* "What indexes do I have in my Azure AI Search service 'mysvc'?"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"description": "Azure MCP Server - Model Context Protocol implementation for Azure",
|
|
5
5
|
"author": "Microsoft",
|
|
6
6
|
"homepage": "https://github.com/Microsoft/mcp/blob/main/servers/Azure.Mcp.Server#readme",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"x64"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@azure/mcp-linux-arm64": "0.8.
|
|
37
|
-
"@azure/mcp-linux-x64": "0.8.
|
|
38
|
-
"@azure/mcp-darwin-arm64": "0.8.
|
|
39
|
-
"@azure/mcp-darwin-x64": "0.8.
|
|
40
|
-
"@azure/mcp-win32-arm64": "0.8.
|
|
41
|
-
"@azure/mcp-win32-x64": "0.8.
|
|
36
|
+
"@azure/mcp-linux-arm64": "0.8.4",
|
|
37
|
+
"@azure/mcp-linux-x64": "0.8.4",
|
|
38
|
+
"@azure/mcp-darwin-arm64": "0.8.4",
|
|
39
|
+
"@azure/mcp-darwin-x64": "0.8.4",
|
|
40
|
+
"@azure/mcp-win32-arm64": "0.8.4",
|
|
41
|
+
"@azure/mcp-win32-x64": "0.8.4"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"postinstall": "node ./scripts/post-install-script.js"
|