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
-[🚀 Deploy on Public Clouds](#deploy-on-public-clouds)
27
-
-[Azure Cloud](#azure)
27
+
-[Azure Cloud](#azure)
28
28
-[🤝 Contributing](#contributing)
29
29
30
30
<aname="getting-started"></a>
@@ -698,7 +698,6 @@ You can deploy the MongoDB MCP Server to your preferred cloud provider using the
698
698
699
699
For detailed Azure instructions, see [deploy/azure/README.md](deploy/azure/README.md).
700
700
701
-
702
701
## 🤝Contributing
703
702
704
703
Interested in contributing? Great! Please check our [Contributing Guide](CONTRIBUTING.md) for guidelines on code contributions, standards, adding new tools, and troubleshooting information.
Copy file name to clipboardExpand all lines: deploy/azure/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,17 @@
1
1
# Deploy MongoDB MCP Server on Azure Container Apps
2
2
3
3
## Overview
4
+
4
5
This directory contains an Azure Bicep template (`bicep/main.bicep`) and supporting parameter files for deploying the infrastructure required to run the MongoDB MCP (Model Context Protocol) server. Use this guide to prepare prerequisites, select the appropriate parameter file, and run the deployment end-to-end.
5
6
6
7
## Prerequisites
8
+
7
9
- Azure CLI (2.55.0 or later) installed and signed in (`az login`).
8
10
- Azure subscription with permissions to deploy the required resources.
9
11
- MongoDB MCP server container image available in dockerhub registry (mongodb/mongodb-mcp-server:latest).
10
12
11
13
## Parameter Files
14
+
12
15
Two sample parameter files are provided to help you tailor deployments:
13
16
14
17
-`bicep/params.json`: Baseline configuration that deploys the MongoDB MCP server with authentication disabled or using default settings. Use this when testing in development environments or when external authentication is not required.
@@ -17,7 +20,9 @@ Two sample parameter files are provided to help you tailor deployments:
17
20
> **Tip:** Update the image reference, secrets, networking, and any other environment-specific values in the chosen parameter file before deployment.
18
21
19
22
## Deploy the Bicep Template
23
+
20
24
1.**Set common variables (PowerShell example):**
25
+
21
26
```powershell
22
27
$location = "eastus"
23
28
$resourceGroup = "mongodb-mcp-demo-rg"
@@ -26,11 +31,13 @@ Two sample parameter files are provided to help you tailor deployments:
26
31
```
27
32
28
33
2.**Create the resource group (if it does not exist):**
34
+
29
35
```powershell
30
36
az group create --name $resourceGroup --location $location
31
37
```
32
38
33
39
3.**Validate the deployment (optional but recommended):**
40
+
34
41
```powershell
35
42
az deployment group what-if \
36
43
--resource-group $resourceGroup \
@@ -39,6 +46,7 @@ Two sample parameter files are provided to help you tailor deployments:
39
46
```
40
47
41
48
4.**Run the deployment:**
49
+
42
50
```powershell
43
51
az deployment group create \
44
52
--resource-group $resourceGroup \
@@ -49,15 +57,19 @@ Two sample parameter files are provided to help you tailor deployments:
49
57
5.**Monitor outputs:** Review the deployment outputs and logs for connection endpoints, credential references, or other values needed to complete integration.
50
58
51
59
## Post-Deployment Checklist
60
+
52
61
- After the Azure Container Apps deployment completes, access the MCP server by visiting the application’s public endpoint with /mcp appended. Example: https://[CONTAINER_APP_NAME].<region>.azurecontainerapps.io/mcp.
53
62
54
63
## Updating the Deployment
64
+
55
65
To apply changes:
66
+
56
67
1. Update the parameter file or `main.bicep` as needed.
57
68
2. Re-run the `az deployment group create` command with the same resource group.
58
69
3. Use `az deployment group what-if` to preview differences before applying them.
59
70
60
71
## Cleanup
72
+
61
73
Remove the deployed resources when no longer needed:
0 commit comments