Data API Builder exposes secure CRUD REST and GraphQL endpoints, plus MCP tools, from configured database tables without hand-written API code.
Overview
Data API Builder (DAB) is an open-source engine that turns database objects into REST and GraphQL APIs from a JSON configuration file. It works as a no-code CRUD data API that runs in a container on Azure, other clouds, or on-premises.
Supported databases include Azure SQL, SQL Server, SQL data warehouse, Cosmos DB, PostgreSQL, and MySQL. Endpoint types include REST, GraphQL, and MCP. You install the cross-platform dab CLI (requires the .NET runtime), prepare connection strings and dab-config.json, add entities for tables, views, or stored procedures, then run the engine.
In development, DAB runs locally on your machine; in production it is intended to run in a container. Development host mode can enable Swagger for REST and Nitro for GraphQL. Requests are translated to SQL with JSON responses.
The tool is built for developers with integrated tooling and telemetry features. Environment files can hold connection strings for local testing.
Key features
- REST and GraphQL from config
- MCP tool endpoints
- Multi-database connectors
- Tables, views, stored procedures
- dab CLI and JSON configuration
- Container deployment
- Development Swagger and GraphQL UI
Use cases
- Rapid CRUD APIs over SQL databases
- On-prem or cloud database exposure
- Prototype data APIs without custom code
- GraphQL and REST from one config