⚡ Quick Start (5 Minutes)

June 29, 2026 · View on GitHub

Get the MCP Toolkit running in Azure in just 5 minutes with zero configuration needed.

Prerequisites (2 min)

You only need:

You don't need to install anything locally — everything runs in Azure.


Step 1: Deploy to Azure (2 min)

Click this button and wait for deployment to complete:

Deploy to Azure

What gets created automatically:

  • ✅ Azure Container Registry (stores the MCP server image)
  • ✅ Azure Container Apps (runs the MCP server)
  • ✅ Managed Identity (secure authentication)
  • ✅ All networking & security configs

After deployment finishes, note your resource group name — you'll need it next.


Step 2: Deploy the MCP Server (2 min)

Clone the repository and run the deployment script:

# Clone the repo
git clone https://github.com/AzureCosmosDB/MCPToolKit.git
cd MCPToolKit

# Run deployment (replace YOUR-RESOURCE-GROUP with your resource group name)
.\scripts\Deploy-Cosmos-MCP-Toolkit.ps1 -ResourceGroup "YOUR-RESOURCE-GROUP"

What this script does:

  • Builds the MCP server Docker image
  • Deploys it to your Container Apps
  • Creates Entra ID app registration for authentication
  • Outputs all connection details to deployment-info.json

The script takes about 2-3 minutes to complete.


Step 3: Test Your Deployment (1 min)

Once the script finishes, you have two ways to test:

Option A: Web UI (Easy)

# Get your Container App URL
$info = Get-Content deployment-info.json | ConvertFrom-Json
Write-Host "Open this in your browser: $($info.containerAppUrl)"

Then:

  1. Open the URL in your browser
  2. You'll see the MCP Toolkit test interface
  3. Click List Databases to verify connection works
  4. Try searching or fetching documents

Option B: Health Check (Quick)

# Get your Container App URL
$url = (Get-Content deployment-info.json | ConvertFrom-Json).containerAppUrl
Invoke-RestMethod "$url/health" | ConvertTo-Json

You should see:

{
  "status": "healthy",
  "version": "1.1.2"
}

✅ You're Done!

Your MCP server is now live and ready to use. Here's what's next:

🤖 Use with AI Agents

Microsoft Foundry Agents:

  • See Microsoft Foundry Setup in the full README
  • Create an agent and add this MCP server as a tool
  • Ask it: "Show me my latest documents" or "Search for products named Azure"

Claude (via MCP):

Python Scripts:

📊 Test More Features

The web UI lets you test all MCP tools:

FeatureTest It
List DatabasesClick dropdown → select database
Schema DiscoverySelect container → click "Get Schema"
Text SearchType search term → click "Text Search"
Vector SearchEnter query → click "Vector Search"
Hybrid SearchCombines both search types
Recent DocumentsGets N most recent documents

🔧 Troubleshooting

"Unauthorized" error in web UI?

You need to assign yourself the required role:

.\scripts\Assign-Role-To-Current-User.ps1

Then refresh your browser.

Container didn't deploy?

Check logs:

az containerapp logs show \
  --name <YOUR-CONTAINER-APP-NAME> \
  --resource-group YOUR-RESOURCE-GROUP \
  --tail 50

"Connection failed" in web UI?

Verify your Cosmos DB connection string is correct in the deployment-info.json.

📚 Learn More


Done in 5 minutes! 🎉
Your MCP server is secure, scalable, and ready for production.