SQL MCP Server documentation

Enable AI agents to safely interact with SQL databases using Model Context Protocol. Built on Data API builder, SQL MCP Server provides deterministic, secure, and production-ready database operations for agentic applications.

Get started with SQL MCP Server

Deploy SQL MCP Server locally or to the cloud and connect it to your AI applications using these quickstart guides.

Core concepts

Understand how SQL MCP Server enables AI agents to interact with databases safely using Model Context Protocol and Data API builder's proven architecture.

SQL MCP Server is Microsoft's open-source solution for bringing AI agents into your data workflows. Built on Data API builder's proven entity abstraction, RBAC, and telemetry, SQL MCP Server provides a production-ready surface that works consistently across REST, GraphQL, and MCP.

Get started today with the Visual Studio Code quickstart or deploy to Azure Container Apps for production workloads.