@azure/mcp 0.8.5 β†’ 0.9.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 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 your `mcp.json` file with the following:
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,18 +107,36 @@ 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
 
122
132
  * "List the container apps in my subscription"
123
133
  * "Show me the container apps in my 'my-resource-group' resource group"
124
134
 
135
+ ### πŸ” Azure Confidential Ledger
136
+
137
+ * "Append entry {"foo":"bar"} to ledger contoso"
138
+ * "Get entry with id 2.40 from ledger contoso"
139
+
125
140
  ### πŸ“¦ Azure Container Registry (ACR)
126
141
 
127
142
  * "List all my Azure Container Registries"
@@ -220,6 +235,7 @@ The Azure MCP Server provides tools for interacting with **40+ Azure service are
220
235
  - βš™οΈ **Azure App Configuration** - Configuration management
221
236
  - πŸ•ΈοΈ **Azure App Service** - Web app hosting
222
237
  - πŸ›‘οΈ **Azure Best Practices** - Secure, production-grade guidance
238
+ - πŸ–₯️ **Azure CLI Generate** - Generate Azure CLI commands from natural language
223
239
  - πŸ“ž **Azure Communication Services** - SMS messaging and communication
224
240
  - πŸ” **Azure Confidential Ledger** - Tamper-proof ledger operations
225
241
  - πŸ“¦ **Azure Container Apps** - Container hosting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/mcp",
3
- "version": "0.8.5",
3
+ "version": "0.9.0",
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.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"
36
+ "@azure/mcp-linux-arm64": "0.9.0",
37
+ "@azure/mcp-linux-x64": "0.9.0",
38
+ "@azure/mcp-darwin-arm64": "0.9.0",
39
+ "@azure/mcp-darwin-x64": "0.9.0",
40
+ "@azure/mcp-win32-arm64": "0.9.0",
41
+ "@azure/mcp-win32-x64": "0.9.0"
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 requiredPackage = `@azure/mcp-${platform}-${arch}`;
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);