data-api-builder
by Azure·★ 1,410·Score 53
Azure's Data API Builder provides REST and GraphQL endpoints for Azure databases with upcoming MCP tools support.
Overview
Data API Builder (DAB) is an open-source tool that creates secure REST and GraphQL endpoints for various databases including Azure SQL, SQL Server, Cosmos DB, PostgreSQL, and MySQL. It supports multiple environments including on-premises and major cloud platforms. While primarily focused on REST and GraphQL, the roadmap indicates MCP tools support is coming soon. The tool runs in a container and offers integrated telemetry, tooling, and productivity features for developers.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Data API Builder when you need to expose multiple database types through APIs and want Microsoft's tooling integration, especially if you're already using Azure services.
When NOT to choose this
Avoid if you need immediate MCP integration (it's coming soon but not available yet) or if you require write access beyond CRUD operations, as DAB focuses primarily on data access patterns.
Comparable tools
Installation
- Install .NET 8 or later runtime: https://get.dot.net
- Install the DAB command line tool:
``sh dotnet tool install microsoft.dataapibuilder -g ``
- Initialize and configure DAB with:
``sh dab init --database-type mssql --connection-string "@env('my-connection-string')" --host-mode development ``
- Add your database entities and start the server:
``sh dab add Todo --source "dbo.Todo" --permissions "anonymous:*" dab start ``
FAQ
- Which databases does DAB support?
- DAB supports Azure SQL, SQL Server, SQLDW, Cosmos DB, PostgreSQL, and MySQL databases.
- Is MCP tools support available now?
- No, MCP tools support is listed as 'Coming soon' in the documentation. Currently, DAB focuses on REST and GraphQL endpoints.
On Hacker News
Recent discussion from the developer community.
- Story by thunderbong · 2024-12-05
- Story by MarlonPro · 2024-05-15
- Story by viblo · 2024-03-19
Compare data-api-builder with
Last updated · Auto-generated from public README + GitHub signals.