Add Azure SQL MCP quickstart with azd deployment templates#1485
Conversation
…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
fc25edb to
c251425
Compare
Testing feedback: 3 fixes needed for
|
|
@lilyjma Pushed an update addressing the comments. Testing on windows looks good for me. |
|
Follow-up on issue #2 (non-executable scripts) — who it affects Just to clarify the impact, since it's easy to miss: this one specifically hits macOS/Linux users, and it blocks their first Git stores the executable bit in the commit. The scripts are currently committed as Until it's fixed in the PR, every macOS/Linux user would have to manually run Windows users are unaffected (azd runs the I re-tested against the latest PR head: with the scripts at |
The pre-/post-provision .sh scripts were committed as 100644, causing azd to fail with 'Permission denied' (exit 126) when invoking them directly. Marking them 100755 lets users run 'azd up' without a manual chmod. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary
Adds a new Azure SQL MCP sample under
samples/applications/azure-sql-mcp. The sample deploys a hostedmcp-sqlserver in Azure Connector Namespace backed by Azure SQL Database, usingazdand Bicep.https://learn.microsoft.com/en-us/azure/logic-apps/connector-namespace/hosted-mcp-quickstart?pivots=sql
What's included
dbo.BlogPoststabledab-config.jsonValidation