@azure/mcp 0.8.6 β 0.9.1
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 +15 -4
- package/package.json +9 -9
- package/scripts/post-install-script.js +14 -1
package/README.md
CHANGED
|
@@ -22,9 +22,8 @@ All Azure MCP tools in a single server. The Azure MCP Server implements the [MCP
|
|
|
22
22
|
**Azure MCP Server** supercharges your agents with Azure context across **40+ different Azure services**.
|
|
23
23
|
|
|
24
24
|
# Installation
|
|
25
|
-
|
|
26
25
|
- 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
|
|
26
|
+
- Configure the `mcp.json` file with the following:
|
|
28
27
|
|
|
29
28
|
```json
|
|
30
29
|
{
|
|
@@ -55,8 +54,6 @@ All Azure MCP tools in a single server. The Azure MCP Server implements the [MCP
|
|
|
55
54
|
| **VS Code** | `.vscode/mcp.json` (workspace)<br>`settings.json` (user) | [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) |
|
|
56
55
|
| **Windsurf** | `~/.codeium/windsurf/mcp_config.json` | [Windsurf Cascade MCP Integration](https://docs.windsurf.com/windsurf/cascade/mcp) |
|
|
57
56
|
|
|
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).
|
|
59
|
-
|
|
60
57
|
# Usage
|
|
61
58
|
|
|
62
59
|
## Getting Started
|
|
@@ -110,12 +107,25 @@ To use Azure Entra ID, review the [troubleshooting guide](https://github.com/mic
|
|
|
110
107
|
* "Get the details for website 'my-website'"
|
|
111
108
|
* "Get the details for app service plan 'my-app-service-plan'"
|
|
112
109
|
|
|
110
|
+
### π₯οΈ Azure CLI Generate
|
|
111
|
+
|
|
112
|
+
* Generate Azure CLI commands based on user intent
|
|
113
|
+
|
|
114
|
+
### π₯οΈ Azure CLI Install
|
|
115
|
+
|
|
116
|
+
* Get installation instructions for Azure CLI, Azure Developer CLI and Azure Functions Core Tools CLI for your platform.
|
|
117
|
+
|
|
113
118
|
### π Azure Communication Services
|
|
114
119
|
|
|
115
120
|
* "Send an SMS message to +1234567890"
|
|
116
121
|
* "Send SMS with delivery reporting enabled"
|
|
117
122
|
* "Send a broadcast SMS to multiple recipients"
|
|
118
123
|
* "Send SMS with custom tracking tag"
|
|
124
|
+
* "Send an email from 'sender@example.com' to 'recipient@example.com' with subject 'Hello' and message 'Welcome!'"
|
|
125
|
+
* "Send an HTML email to multiple recipients with CC and BCC using Azure Communication Services"
|
|
126
|
+
* "Send an email with reply-to address 'reply@example.com' and subject 'Support Request'"
|
|
127
|
+
* "Send an email from my communication service endpoint with custom sender name and multiple recipients"
|
|
128
|
+
* "Send an email to 'user1@example.com' and 'user2@example.com' with subject 'Team Update' and message 'Please review the attached document.'"
|
|
119
129
|
|
|
120
130
|
### π¦ Azure Container Apps
|
|
121
131
|
|
|
@@ -225,6 +235,7 @@ The Azure MCP Server provides tools for interacting with **40+ Azure service are
|
|
|
225
235
|
- βοΈ **Azure App Configuration** - Configuration management
|
|
226
236
|
- πΈοΈ **Azure App Service** - Web app hosting
|
|
227
237
|
- π‘οΈ **Azure Best Practices** - Secure, production-grade guidance
|
|
238
|
+
- π₯οΈ **Azure CLI Generate** - Generate Azure CLI commands from natural language
|
|
228
239
|
- π **Azure Communication Services** - SMS messaging and communication
|
|
229
240
|
- π **Azure Confidential Ledger** - Tamper-proof ledger operations
|
|
230
241
|
- π¦ **Azure Container Apps** - Container hosting
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
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",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/microsoft/mcp/issues"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"url": "https://github.com/microsoft/mcp.git",
|
|
18
|
+
"type": "git"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20.0.0"
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"x64"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@azure/mcp-linux-arm64": "0.
|
|
37
|
-
"@azure/mcp-linux-x64": "0.
|
|
38
|
-
"@azure/mcp-darwin-arm64": "0.
|
|
39
|
-
"@azure/mcp-darwin-x64": "0.
|
|
40
|
-
"@azure/mcp-win32-arm64": "0.
|
|
41
|
-
"@azure/mcp-win32-x64": "0.
|
|
36
|
+
"@azure/mcp-linux-arm64": "0.9.1",
|
|
37
|
+
"@azure/mcp-linux-x64": "0.9.1",
|
|
38
|
+
"@azure/mcp-darwin-arm64": "0.9.1",
|
|
39
|
+
"@azure/mcp-darwin-x64": "0.9.1",
|
|
40
|
+
"@azure/mcp-win32-arm64": "0.9.1",
|
|
41
|
+
"@azure/mcp-win32-x64": "0.9.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"postinstall": "node ./scripts/post-install-script.js"
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
+
const fs = require('fs')
|
|
2
|
+
const path = require('path')
|
|
1
3
|
const os = require('os');
|
|
2
4
|
|
|
3
5
|
const platform = os.platform();
|
|
4
6
|
const arch = os.arch();
|
|
5
7
|
|
|
6
|
-
const
|
|
8
|
+
const pkgJsonPath = path.join(__dirname, '..', 'package.json');
|
|
9
|
+
let baseName = '@azure/mcp';
|
|
10
|
+
try {
|
|
11
|
+
const pkg = JSON.parse(fs.readFileSync(pkgJsonPath, 'utf8'));
|
|
12
|
+
if (pkg.name) {
|
|
13
|
+
baseName = pkg.name;
|
|
14
|
+
}
|
|
15
|
+
} catch (e) {
|
|
16
|
+
// fallback to default
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const requiredPackage = `${baseName}-${platform}-${arch}`;
|
|
7
20
|
|
|
8
21
|
try {
|
|
9
22
|
require.resolve(requiredPackage);
|