You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit adf003e
Browse filesBrowse the repository at this point in the historyBrowse files
`localstack-azure-client` runs the Azure CLI (`az`) installed on your machine against the LocalStack for Azure emulator; start the emulator with `localstack-management` (`service: azure`). Its settings are listed in the [README](../README.md#localstack-configuration).
4
+
5
+
- The tool keeps its own Azure CLI profile (`LOCALSTACK_AZ_CONFIG_DIR`), logged in to the emulator with a dummy account, so your own Azure login is never used or changed.
6
+
- It uses your Azure CLI extensions: install one with `az extension add --name <extension>`.
7
+
- Bicep templates need the `bicep` binary on your `PATH` (for example `brew install bicep` or `winget install Microsoft.Bicep`).
8
+
- Relative file paths in commands resolve against `LOCALSTACK_AZ_WORKDIR`, by default the directory the MCP client starts the server in.
9
+
-`rest` calls the emulator: give it a relative URL. An absolute URL must name a local host; a `management.azure.com` URL is turned into a relative one.
10
+
- Only `rest` URLs are checked: an endpoint given in a command, such as `--blob-endpoint` or a connection string, is used as it is.
11
+
- The Docker image does not include the Azure CLI yet: run the server with npx or from source to use the Azure tool.
Copy file name to clipboardExpand all lines: server.json
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,55 @@
157
157
"format": "string",
158
158
"isSecret": false,
159
159
"name": "EXTERNAL_SERVICE_PORTS_END"
160
+
},
161
+
{
162
+
"description": "Host name of the LocalStack gateway the tools call. Defaults to localhost; when the server runs in Docker, host.docker.internal.",
163
+
"isRequired": false,
164
+
"format": "string",
165
+
"isSecret": false,
166
+
"name": "LOCALSTACK_HOSTNAME"
167
+
},
168
+
{
169
+
"description": "Port of the LocalStack gateway the tools call. Defaults to 4566.",
170
+
"isRequired": false,
171
+
"format": "string",
172
+
"isSecret": false,
173
+
"name": "LOCALSTACK_PORT"
174
+
},
175
+
{
176
+
"description": "Docker image the management start action launches for service: azure. Defaults to localstack/localstack-azure:latest.",
177
+
"isRequired": false,
178
+
"format": "string",
179
+
"isSecret": false,
180
+
"name": "LOCALSTACK_AZURE_IMAGE_NAME"
181
+
},
182
+
{
183
+
"description": "The az launcher, or the Azure CLI's Python, for localstack-azure-client. Defaults to the first az on PATH.",
184
+
"isRequired": false,
185
+
"format": "string",
186
+
"isSecret": false,
187
+
"name": "LOCALSTACK_AZ_PATH"
188
+
},
189
+
{
190
+
"description": "The Azure tool's own Azure CLI profile directory; it must not overlap ~/.azure. Defaults to ~/.localstack/azure/mcp-config-<port>.",
191
+
"isRequired": false,
192
+
"format": "string",
193
+
"isSecret": false,
194
+
"name": "LOCALSTACK_AZ_CONFIG_DIR"
195
+
},
196
+
{
197
+
"description": "The directory localstack-azure-client runs az in; relative file paths resolve against it. Defaults to the server's working directory.",
198
+
"isRequired": false,
199
+
"format": "string",
200
+
"isSecret": false,
201
+
"name": "LOCALSTACK_AZ_WORKDIR"
202
+
},
203
+
{
204
+
"description": "Time limit in seconds for one Azure CLI command (5-3600). Defaults to 300.",
0 commit comments