Skip to content

Add Azure SQL MCP quickstart with azd deployment templates#1485

Open
kshyju wants to merge 1 commit into
microsoft:masterfrom
kshyju:add-azure-sql-mcp-sample
Open

Add Azure SQL MCP quickstart with azd deployment templates#1485
kshyju wants to merge 1 commit into
microsoft:masterfrom
kshyju:add-azure-sql-mcp-sample

Conversation

@kshyju
Copy link
Copy Markdown

@kshyju kshyju commented Jun 4, 2026

Summary

Adds a new Azure SQL MCP sample under samples/applications/azure-sql-mcp. The sample deploys a hosted mcp-sql server in Azure Connector Namespace backed by Azure SQL Database, using azd and Bicep.

https://learn.microsoft.com/en-us/azure/logic-apps/connector-namespace/hosted-mcp-quickstart?pivots=sql

What's included

  • Provisions Azure SQL Database with a seeded dbo.BlogPosts table
  • Deploys Azure Connector Namespace and a hosted SQL MCP server
  • Configures Data API Builder through the included dab-config.json
  • Passes SQL and Application Insights connection strings as hosted MCP configuration values
  • Grants the Connector Namespace managed identity access to the SQL database
  • Adds Application Insights and Log Analytics for telemetry
  • Includes post-provision scripts for database seeding, firewall setup, and managed identity grants
  • Provides README instructions for deployment, VS Code MCP setup, Azure Portal inspection, cleanup, and related docs

Validation

  • Built Bicep template successfully
  • Validated PowerShell scripts parse
  • Validated Bash script syntax
  • Scanned sample for generated artifacts and hardcoded credentials

…l-mcp`. The sample deploys a hosted `mcp-sql` server in Azure Connector Namespace backed by Azure SQL Database

 Adds a new Azure SQL MCP sample under `samples/applications/azure-sql-mcp`. The sample deploys a hosted `mcp-sql` server in Azure Connector Namespace backed by Azure SQL Database, using `azd` and Bicep.

 ### What�s included

 - Provisions Azure SQL Database with a seeded `dbo.BlogPosts` table
 - Deploys Azure Connector Namespace and a hosted SQL MCP server
 - Configures Data API Builder through the included `dab-config.json`
 - Passes SQL and Application Insights connection strings as hosted MCP configuration values
 - Grants the Connector Namespace managed identity access to the SQL database
 - Adds Application Insights and Log Analytics for telemetry
 - Includes post-provision scripts for database seeding, firewall setup, and managed identity grants
 - Provides README instructions for deployment, VS Code MCP setup, Azure Portal inspection, cleanup, and related docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant