franco-gh/az-mcp-tf
3.1
If you are the rightful owner of az-mcp-tf and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Terraform MCP Server is a robust solution for deploying and managing Model Context Protocol (MCP) servers on Azure, integrating secure Key Vault features.
Terraform MCP Server - Azure Deployment
Deploy the Terraform MCP Server to Azure Container Apps with secure Key Vault integration.
Files in this Project
terraform-mcp-keyvault.tf
- Azure infrastructure configurationmcp-sse-server.py
- Python SSE wrapper for the MCP serverDockerfile
- Container build configurationdeploy.ps1
- PowerShell deployment script
Prerequisites
Deployment
- Start PowerShell or Command Prompt
- Run:
./deploy.ps1
The script will:
- Check prerequisites
- Clean up any soft-deleted Key Vaults
- Deploy Azure infrastructure using Terraform
- Build and push Docker image using Azure Container Registry
- Create VS Code configuration
Infrastructure Components
- Azure Resource Group - Contains all resources
- Azure Key Vault - Securely stores API key
- Azure Container Registry - Stores Docker images
- Azure Container Apps Environment - Hosting platform
- Container App - Runs the MCP server
- Log Analytics Workspace - Collects logs and metrics
- Managed Identity - For secure access to Key Vault
Security Features
- API key stored in Azure Key Vault
- HTTPS enabled by default
- Key Vault RBAC authorization
- Managed Identity for secure access
- Bearer token authentication
Using with VS Code
- Open VS Code in this directory
- The deployment creates
.vscode/mcp.json
with your configuration - Press
Ctrl+Alt+I
to open GitHub Copilot Chat - Select "Agent" mode
- Start using Terraform tools!
Cleanup
Remove all Azure resources:
terraform destroy -auto-approve