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
Copy file name to clipboardExpand all lines: deploy/azure/README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This directory contains an Azure Bicep template (`bicep/main.bicep`) and support
8
8
9
9
- Azure CLI (2.55.0 or later) installed and signed in (`az login`).
10
10
- Azure subscription with permissions to deploy the required resources.
11
-
- MongoDB MCP server container image available in dockerhub registry (mongodb/mongodb-mcp-server:latest).
11
+
- MongoDB MCP server container image available in dockerhub registry (mongodb/mongodb-mcp-server:1.2.0). Version 1.2.0 has been validated for Azure AI Foundry compatibility when the aggregate, create-index, explain, and export tools are omitted (additional tools are disabled by default for security). You can reference the `latest` tag instead if you want to experiment with newer builds.
12
12
13
13
## Parameter Files
14
14
@@ -19,6 +19,17 @@ Two sample parameter files are provided to help you tailor deployments:
19
19
20
20
> **Tip:** Update the image reference, secrets, networking, and any other environment-specific values in the chosen parameter file before deployment.
21
21
22
+
### Managed Identity Authentication Parameters
23
+
24
+
When using `bicep/paramsWithAuthEnabled.json`, provide tenant and app-specific values for the following parameters before deployment:
25
+
26
+
-`authClientId`: Set to the application (client) ID of the Microsoft Entra ID app registration that represents the MongoDB MCP server API (often the managed identity or a server-side app registration).
27
+
-`authIssuerUrl`: Use the issuer URL for your tenant. Use `<authentication-endpoint>/<TENANT-ID>/v2.0`, and replace <authentication-endpoint> with the authentication endpoint for your cloud environment (for example, "https://login.microsoftonline.com" for global Azure), also replacing <TENANT-ID> with the Directory (tenant) ID in which the app registration was created.
28
+
-`authTenantId`: The tenant ID (directory ID) of the Microsoft Entra tenant that owns the identities interacting with the MCP server. Obtain it via `az account show --query tenantId -o tsv`.
29
+
-`authAllowedClientApps` (optional): Provide an array of application (client) IDs for every client that should be allowed to request tokens for the MongoDB MCP server (for example, front-end apps, automation scripts, or integration partners). Omit this property to allow all clients without any filtering.
30
+
31
+
For deeper guidance on Microsoft Entra authentication in Azure Container Apps, see the official docs: <https://learn.microsoft.com/en-us/azure/container-apps/authentication-entra>.
32
+
22
33
## Deploy the Bicep Template
23
34
24
35
1.**Set common variables (PowerShell example):**
@@ -54,6 +65,8 @@ Two sample parameter files are provided to help you tailor deployments:
54
65
--parameters @$parameterFile
55
66
```
56
67
68
+
If the deployment returns an error, rerun the command with `--debug` to surface detailed troubleshooting output.
69
+
57
70
5.**Monitor outputs:** Review the deployment outputs and logs for connection endpoints, credential references, or other values needed to complete integration.
0 commit comments