Does Microsoft SQL Server have an MCP server?
Microsoft SQL Server maintains an official MCP server.
- Access
- Local server
- Repository
- Azure/data-api-builder
- Maintainer
- Microsoft Azure
- License
- MIT
- Language
- C#
- Stars
- 1.5k
- Last commit
- today
- Category
- Databases
Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.
Project site: aka.ms
Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.
Runs on your machine over stdio, launched by your MCP client.
Add it from the terminal, then restart your session:
claude mcp add sqlserver -- npx -y <package-from-readme>Swap in the exact package and flags from the repo README — most servers need an API key passed as an environment variable.
Add --scope user to make it available in every project.
Open Settings → Developer → Edit Config and add the server to claude_desktop_config.json:
{
"mcpServers": {
"sqlserver": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}Restart Claude Desktop after saving.
Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for
every project:
{
"mcpServers": {
"sqlserver": {
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
],
"env": {
"API_KEY": "…"
}
}
}
}A green dot in Settings → MCP means it connected.
Add to .vscode/mcp.json:
{
"servers": {
"sqlserver": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"<package-from-readme>"
]
}
}
}Then pick the server from the tools menu in Copilot's agent mode.
Does Microsoft SQL Server have an official MCP server?
Yes. Microsoft SQL Server maintains an official MCP server. The source lives at Azure/data-api-builder on GitHub.
How do I connect Microsoft SQL Server to Claude?
Run the server locally and register it in Claude's MCP config. In Claude Code that's a single "claude mcp add" command; in Claude Desktop you add it to claude_desktop_config.json.
How is this verdict verified?
Microsoft Learn documents SQL MCP Server (learn.microsoft.com/en-us/sql/mcp), its open-source MCP server for SQL Server and Azure SQL. It ships inside Data API builder 1.7+ (Azure/data-api-builder, ~1.5k stars) and runs self-hosted over streamable HTTP or stdio. GitHub metadata is refreshed every six hours.
Microsoft Learn documents SQL MCP Server (learn.microsoft.com/en-us/sql/mcp), its open-source MCP server for SQL Server and Azure SQL. It ships inside Data API builder 1.7+ (Azure/data-api-builder, ~1.5k stars) and runs self-hosted over streamable HTTP or stdio.
- github data refreshed 2026-09-29, then every 6 hours
- vendor docs verified on 2026-09-29
Spotted something out of date? Tell us — corrections ship same-day.