Skip to content

Commit f788e47

Browse files
committed
chore: fix formatting
1 parent 1fc50ab commit f788e47

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A Model Context Protocol server for interacting with MongoDB Databases and Mongo
2424
- [MCP Client Configuration](#mcp-configuration-file-examples)
2525
- [Proxy Support](#proxy-support)
2626
- [🚀 Deploy on Public Clouds](#deploy-on-public-clouds)
27-
- [Azure Cloud](#azure)
27+
- [Azure Cloud](#azure)
2828
- [🤝 Contributing](#contributing)
2929

3030
<a name="getting-started"></a>
@@ -698,7 +698,6 @@ You can deploy the MongoDB MCP Server to your preferred cloud provider using the
698698

699699
For detailed Azure instructions, see [deploy/azure/README.md](deploy/azure/README.md).
700700

701-
702701
## 🤝Contributing
703702

704703
Interested in contributing? Great! Please check our [Contributing Guide](CONTRIBUTING.md) for guidelines on code contributions, standards, adding new tools, and troubleshooting information.

deploy/azure/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Deploy MongoDB MCP Server on Azure Container Apps
22

33
## Overview
4+
45
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.
56

67
## Prerequisites
8+
79
- Azure CLI (2.55.0 or later) installed and signed in (`az login`).
810
- Azure subscription with permissions to deploy the required resources.
911
- MongoDB MCP server container image available in dockerhub registry (mongodb/mongodb-mcp-server:latest).
1012

1113
## Parameter Files
14+
1215
Two sample parameter files are provided to help you tailor deployments:
1316

1417
- `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:
1720
> **Tip:** Update the image reference, secrets, networking, and any other environment-specific values in the chosen parameter file before deployment.
1821
1922
## Deploy the Bicep Template
23+
2024
1. **Set common variables (PowerShell example):**
25+
2126
```powershell
2227
$location = "eastus"
2328
$resourceGroup = "mongodb-mcp-demo-rg"
@@ -26,11 +31,13 @@ Two sample parameter files are provided to help you tailor deployments:
2631
```
2732

2833
2. **Create the resource group (if it does not exist):**
34+
2935
```powershell
3036
az group create --name $resourceGroup --location $location
3137
```
3238

3339
3. **Validate the deployment (optional but recommended):**
40+
3441
```powershell
3542
az deployment group what-if \
3643
--resource-group $resourceGroup \
@@ -39,6 +46,7 @@ Two sample parameter files are provided to help you tailor deployments:
3946
```
4047

4148
4. **Run the deployment:**
49+
4250
```powershell
4351
az deployment group create \
4452
--resource-group $resourceGroup \
@@ -49,15 +57,19 @@ Two sample parameter files are provided to help you tailor deployments:
4957
5. **Monitor outputs:** Review the deployment outputs and logs for connection endpoints, credential references, or other values needed to complete integration.
5058

5159
## Post-Deployment Checklist
60+
5261
- 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.
5362

5463
## Updating the Deployment
64+
5565
To apply changes:
66+
5667
1. Update the parameter file or `main.bicep` as needed.
5768
2. Re-run the `az deployment group create` command with the same resource group.
5869
3. Use `az deployment group what-if` to preview differences before applying them.
5970

6071
## Cleanup
72+
6173
Remove the deployed resources when no longer needed:
6274

6375
```powershell

deploy/azure/bicep/paramsWithAuthEnabled.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"authClientId": { "value": "<AUTH_CLIENT_ID>" },
2525
"authIssuerUrl": { "value": "<AUTH_ISSUER_URL>" },
2626
"authTenantId": { "value": "<AUTH_TENANT_ID>" },
27-
"authAllowedClientApps": { "value": ["<AUTH_ALLOWED_CLIENT_APP_1>","<AUTH_ALLOWED_CLIENT_APP_2>"] }
27+
"authAllowedClientApps": {
28+
"value": ["<AUTH_ALLOWED_CLIENT_APP_1>", "<AUTH_ALLOWED_CLIENT_APP_2>"]
29+
}
2830
}
2931
}

0 commit comments

Comments
 (0)