@azure/mcp 0.8.3 → 0.8.5
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 +43 -140
- 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
|
|
2
|
-
|
|
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
|
-
|
|
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)
|
|
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
|
|
6
2
|
|
|
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.
|
|
7
4
|
|
|
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,66 +14,33 @@ 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
|
|
|
33
|
-
**Azure MCP Server** supercharges your agents with Azure context across **
|
|
22
|
+
**Azure MCP Server** supercharges your agents with Azure context across **40+ different Azure services**.
|
|
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
|
|
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:
|
|
52
28
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### Manual Setup
|
|
66
|
-
Azure MCP Server can also be configured across other IDEs, CLIs, and MCP clients:
|
|
67
|
-
|
|
68
|
-
<details>
|
|
69
|
-
<summary>Manual setup instructions</summary>
|
|
70
|
-
|
|
71
|
-
#### Sample Configuration
|
|
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'?"
|
|
@@ -218,6 +110,13 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
218
110
|
* "Get the details for website 'my-website'"
|
|
219
111
|
* "Get the details for app service plan 'my-app-service-plan'"
|
|
220
112
|
|
|
113
|
+
### 📞 Azure Communication Services
|
|
114
|
+
|
|
115
|
+
* "Send an SMS message to +1234567890"
|
|
116
|
+
* "Send SMS with delivery reporting enabled"
|
|
117
|
+
* "Send a broadcast SMS to multiple recipients"
|
|
118
|
+
* "Send SMS with custom tracking tag"
|
|
119
|
+
|
|
221
120
|
### 📦 Azure Container Apps
|
|
222
121
|
|
|
223
122
|
* "List the container apps in my subscription"
|
|
@@ -229,13 +128,6 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
229
128
|
* "Show me my container registries in the 'my-resource-group' resource group"
|
|
230
129
|
* "List all my Azure Container Registry repositories"
|
|
231
130
|
|
|
232
|
-
### ☸️ Azure Kubernetes Service (AKS)
|
|
233
|
-
|
|
234
|
-
* "List my AKS clusters in my subscription"
|
|
235
|
-
* "Show me all my Azure Kubernetes Service clusters"
|
|
236
|
-
* "List the node pools for my AKS cluster"
|
|
237
|
-
* "Get details for the node pool 'np1' of my AKS cluster 'my-aks-cluster' in the 'my-resource-group' resource group"
|
|
238
|
-
|
|
239
131
|
### 📊 Azure Cosmos DB
|
|
240
132
|
|
|
241
133
|
* "Show me all my Cosmos DB databases"
|
|
@@ -268,10 +160,19 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
268
160
|
* "Import a certificate file into key vault 'my-vault' using the name 'tls-cert'"
|
|
269
161
|
* "Get the account settings for my key vault 'my-vault'"
|
|
270
162
|
|
|
163
|
+
### ☸️ Azure Kubernetes Service (AKS)
|
|
164
|
+
|
|
165
|
+
* "List my AKS clusters in my subscription"
|
|
166
|
+
* "Show me all my Azure Kubernetes Service clusters"
|
|
167
|
+
* "List the node pools for my AKS cluster"
|
|
168
|
+
* "Get details for the node pool 'np1' of my AKS cluster 'my-aks-cluster' in the 'my-resource-group' resource group"
|
|
169
|
+
|
|
271
170
|
### ⚡ Azure Managed Lustre
|
|
272
171
|
|
|
273
172
|
* "List the Azure Managed Lustre clusters in resource group 'my-resource-group'"
|
|
274
173
|
* "How many IP Addresses I need to create a 128 TiB cluster of AMLFS 500?"
|
|
174
|
+
* "Check if 'my-subnet-id' can host an Azure Managed Lustre with 'my-size' TiB and 'my-sku' in 'my-region'
|
|
175
|
+
* Create a 4 TIB Azure Managed Lustre filesystem in 'my-region' attaching to 'my-subnet' in virtual network 'my-virtual-network'
|
|
275
176
|
|
|
276
177
|
### 📊 Azure Monitor
|
|
277
178
|
|
|
@@ -311,7 +212,7 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
311
212
|
|
|
312
213
|
## Complete List of Supported Azure Services
|
|
313
214
|
|
|
314
|
-
The Azure MCP Server provides tools for interacting with **
|
|
215
|
+
The Azure MCP Server provides tools for interacting with **40+ Azure service areas**:
|
|
315
216
|
|
|
316
217
|
- 🧮 **Azure AI Foundry** - AI model management, AI model deployment, and knowledge index management
|
|
317
218
|
- 🔎 **Azure AI Search** - Search engine/vector database operations
|
|
@@ -319,6 +220,8 @@ The Azure MCP Server provides tools for interacting with **30+ Azure service are
|
|
|
319
220
|
- ⚙️ **Azure App Configuration** - Configuration management
|
|
320
221
|
- 🕸️ **Azure App Service** - Web app hosting
|
|
321
222
|
- 🛡️ **Azure Best Practices** - Secure, production-grade guidance
|
|
223
|
+
- 📞 **Azure Communication Services** - SMS messaging and communication
|
|
224
|
+
- 🔐 **Azure Confidential Ledger** - Tamper-proof ledger operations
|
|
322
225
|
- 📦 **Azure Container Apps** - Container hosting
|
|
323
226
|
- 📦 **Azure Container Registry (ACR)** - Container registry management
|
|
324
227
|
- 📊 **Azure Cosmos DB** - NoSQL database operations
|
|
@@ -340,11 +243,11 @@ The Azure MCP Server provides tools for interacting with **30+ Azure service are
|
|
|
340
243
|
- 🎭 **Azure RBAC** - Access control management
|
|
341
244
|
- 🔴 **Azure Redis Cache** - In-memory data store
|
|
342
245
|
- 🏗️ **Azure Resource Groups** - Resource organization
|
|
246
|
+
- 🚌 **Azure Service Bus** - Message queuing
|
|
247
|
+
- 🏥 **Azure Service Health** - Resource health status and availability
|
|
343
248
|
- 🗄️ **Azure SQL Database** - Relational database management
|
|
344
249
|
- 🗄️ **Azure SQL Elastic Pool** - Database resource sharing
|
|
345
250
|
- 🗄️ **Azure SQL Server** - Server administration
|
|
346
|
-
- 🚌 **Azure Service Bus** - Message queuing
|
|
347
|
-
- 🏥 **Azure Service Health** - Resource health status and availability
|
|
348
251
|
- 💾 **Azure Storage** - Blob storage
|
|
349
252
|
- 📋 **Azure Subscription** - Subscription management
|
|
350
253
|
- 🏗️ **Azure Terraform Best Practices** - Infrastructure as code guidance
|
|
@@ -358,7 +261,7 @@ The Azure MCP Server provides tools for interacting with **30+ Azure service are
|
|
|
358
261
|
## Documentation
|
|
359
262
|
|
|
360
263
|
- See our [official documentation on learn.microsoft.com](https://learn.microsoft.com/azure/developer/azure-mcp-server/) to learn how to use the Azure MCP Server to interact with Azure resources through natural language commands from AI agents and other types of clients.
|
|
361
|
-
- For additional command documentation and examples, see [Azure MCP Commands](https://github.com/microsoft/mcp/blob/main/docs/azmcp-commands.md).
|
|
264
|
+
- For additional command documentation and examples, see [Azure MCP Commands](https://github.com/microsoft/mcp/blob/main/servers/Azure.Mcp.Server/docs/azmcp-commands.md).
|
|
362
265
|
|
|
363
266
|
## Feedback and Support
|
|
364
267
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/mcp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
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.5",
|
|
37
|
+
"@azure/mcp-linux-x64": "0.8.5",
|
|
38
|
+
"@azure/mcp-darwin-arm64": "0.8.5",
|
|
39
|
+
"@azure/mcp-darwin-x64": "0.8.5",
|
|
40
|
+
"@azure/mcp-win32-arm64": "0.8.5",
|
|
41
|
+
"@azure/mcp-win32-x64": "0.8.5"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"postinstall": "node ./scripts/post-install-script.js"
|