@azure/mcp 0.0.20 โ 0.1.0
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 +36 -7
- package/index.js +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -7,6 +7,15 @@ The Azure MCP Server implements the [MCP specification](https://modelcontextprot
|
|
|
7
7
|
|
|
8
8
|
> Please note that this project is in Public Preview and implementation may significantly change prior to our General Availability.
|
|
9
9
|
|
|
10
|
+
## ๐ Table of contents
|
|
11
|
+
1. [๐ฏ Overview](#-overview)
|
|
12
|
+
2. [๐ ๏ธ Currently Supported Tools](#%EF%B8%8F-currently-supported-tools)
|
|
13
|
+
3. [๐ Installation & Getting Started](#-getting-started)
|
|
14
|
+
4. [๐งช Using Azure MCP Server](#-test-the-azure-mcp-server)
|
|
15
|
+
5. [๐ Troubleshooting Issues](#-troubleshooting)
|
|
16
|
+
6. [๐ฅ Contributing to Azure MCP Server](#-contributing)
|
|
17
|
+
|
|
18
|
+
|
|
10
19
|
## ๐ฏ Overview
|
|
11
20
|
|
|
12
21
|
### โจ What can you do with the Azure MCP Server?
|
|
@@ -82,11 +91,14 @@ The Azure MCP Server provides tools for interacting with the following Azure ser
|
|
|
82
91
|
- List and query Storage tables
|
|
83
92
|
- Get container properties and metadata
|
|
84
93
|
|
|
85
|
-
### ๐ Azure Monitor
|
|
94
|
+
### ๐ Azure Monitor
|
|
95
|
+
#### Log Analytics
|
|
86
96
|
- List Log Analytics workspaces
|
|
87
97
|
- Query logs using KQL
|
|
88
98
|
- List available tables
|
|
89
|
-
|
|
99
|
+
|
|
100
|
+
#### Health Models
|
|
101
|
+
- Get health of an entity
|
|
90
102
|
|
|
91
103
|
### โ๏ธ Azure App Configuration
|
|
92
104
|
- List App Configuration stores
|
|
@@ -99,10 +111,8 @@ The Azure MCP Server provides tools for interacting with the following Azure ser
|
|
|
99
111
|
|
|
100
112
|
### ๐ฆ Azure Resource Groups
|
|
101
113
|
- List resource groups
|
|
102
|
-
- Resource group management operations
|
|
103
114
|
|
|
104
115
|
### ๐ Azure Service Bus
|
|
105
|
-
- Peek at messages from subscriptions and queues
|
|
106
116
|
- Examine properties and runtime information about queues, topics, and subscriptions
|
|
107
117
|
|
|
108
118
|
### ๐ง Azure CLI Extension
|
|
@@ -116,12 +126,13 @@ The Azure MCP Server provides tools for interacting with the following Azure ser
|
|
|
116
126
|
- Support for template discovery, template initialization, provisioning and deployment
|
|
117
127
|
- Cross-platform compatibility
|
|
118
128
|
|
|
129
|
+
Agents and models can discover and learn best practices and usage guidelines for the `azd` MCP tool. For more information, see [AZD Best Practices](https://github.com/Azure/azure-mcp/tree/main/src/Resources/azd-best-practices.txt).
|
|
130
|
+
|
|
119
131
|
### ๐ก๏ธ Azure Best Practices
|
|
120
132
|
- Get secure, production-grade Azure SDK best practices for effective code generation.
|
|
121
133
|
|
|
122
134
|
For detailed command documentation and examples, see [Azure MCP Commands](https://github.com/Azure/azure-mcp/blob/main/docs/azmcp-commands.md).
|
|
123
135
|
|
|
124
|
-
|
|
125
136
|
## ๐ Getting Started
|
|
126
137
|
|
|
127
138
|
The Azure MCP Server requires Node.js to install and run the server. If you don't have it installed, follow the instructions [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).
|
|
@@ -202,6 +213,24 @@ AZURE_CLIENT_SECRET={YOUR_AZURE_CLIENT_SECRET}
|
|
|
202
213
|
|
|
203
214
|
Optionally, customers can use `--env` or `--volume` to pass authentication values.
|
|
204
215
|
|
|
216
|
+
### ๐๏ธ Updates
|
|
217
|
+
|
|
218
|
+
#### NPX
|
|
219
|
+
|
|
220
|
+
If you use the default package spec of `@azure/mcp@latest`, npx will look for a new version on each server start. If you use just `@azure/mcp`, npx will continue to use its cached version until its cache is cleared.
|
|
221
|
+
|
|
222
|
+
#### NPM
|
|
223
|
+
|
|
224
|
+
If you globally install the cli via `npm install -g @azure/mcp` it will use the installed version until you manually update it with `npm update -g @azure/mcp`.
|
|
225
|
+
|
|
226
|
+
#### Docker
|
|
227
|
+
|
|
228
|
+
There is no version update built into the docker image. To update, just pull the latest from the repo and repeat the [docker installation instructions](#docker-install).
|
|
229
|
+
|
|
230
|
+
#### VS Code
|
|
231
|
+
|
|
232
|
+
Installation in VS Code should be in one of the previous forms and the update instructions are the same. If you installed the mcp server with the `npx` command and `-y @azure/mcp@latest` args, npx will check for package updates each time VS Code starts the server. Using a docker container in VS Code has the same no-update limitation described above.
|
|
233
|
+
|
|
205
234
|
## ๐งช Test the Azure MCP Server
|
|
206
235
|
|
|
207
236
|
1. Open GitHub Copilot in VS Code and [switch to Agent mode](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode)
|
|
@@ -215,7 +244,7 @@ You can easily configure your MCP client to use the Azure MCP Server. Have your
|
|
|
215
244
|
|
|
216
245
|
### Using standard IO
|
|
217
246
|
|
|
218
|
-
Configure the MCP client to execute: `npx -y @azure/mcp@latest server start`. For instructions on using
|
|
247
|
+
Configure the MCP client to execute: `npx -y @azure/mcp@latest server start`. For instructions on using , follow instructions in [One-Click Install](#-one-click-install) or [Manual Install](#-manual-install).
|
|
219
248
|
|
|
220
249
|
### Using SSE
|
|
221
250
|
|
|
@@ -289,5 +318,5 @@ This project has adopted the
|
|
|
289
318
|
[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
290
319
|
For more information, see the
|
|
291
320
|
[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
292
|
-
or contact [
|
|
321
|
+
or contact [open@microsoft.com](mailto:open@microsoft.com)
|
|
293
322
|
with any additional questions or comments.
|
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ const os = require('os')
|
|
|
4
4
|
|
|
5
5
|
// Check if DEBUG environment variable is set
|
|
6
6
|
const isDebugMode = process.env.DEBUG && (
|
|
7
|
-
process.env.DEBUG.toLowerCase() === 'true' ||
|
|
7
|
+
process.env.DEBUG.toLowerCase() === 'true' ||
|
|
8
8
|
process.env.DEBUG.includes('azure-mcp') ||
|
|
9
9
|
process.env.DEBUG === '*'
|
|
10
10
|
)
|
|
@@ -12,7 +12,7 @@ const isDebugMode = process.env.DEBUG && (
|
|
|
12
12
|
// Helper function for debug logging
|
|
13
13
|
function debugLog(...args) {
|
|
14
14
|
if (isDebugMode) {
|
|
15
|
-
console.
|
|
15
|
+
console.error(...args)
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/mcp",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Azure MCP Server - Model Context Protocol implementation for Azure",
|
|
5
5
|
"author": "Microsoft Corporation",
|
|
6
6
|
"homepage": "https://github.com/Azure/azure-mcp#readme",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"arm64"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@azure/mcp-darwin-x64": "0.0
|
|
37
|
-
"@azure/mcp-linux-arm64": "0.0
|
|
38
|
-
"@azure/mcp-darwin-arm64": "0.0
|
|
39
|
-
"@azure/mcp-win32-x64": "0.0
|
|
40
|
-
"@azure/mcp-linux-x64": "0.0
|
|
41
|
-
"@azure/mcp-win32-arm64": "0.0
|
|
36
|
+
"@azure/mcp-darwin-x64": "0.1.0",
|
|
37
|
+
"@azure/mcp-linux-arm64": "0.1.0",
|
|
38
|
+
"@azure/mcp-darwin-arm64": "0.1.0",
|
|
39
|
+
"@azure/mcp-win32-x64": "0.1.0",
|
|
40
|
+
"@azure/mcp-linux-x64": "0.1.0",
|
|
41
|
+
"@azure/mcp-win32-arm64": "0.1.0"
|
|
42
42
|
}
|
|
43
43
|
}
|