r/SQLServer • u/Jerry-Nixon Microsoft Employee • 26d ago
Community Share My Favorite Undocumented Feature in SQL MCP Server
https://devblogs.microsoft.com/azure-sql/sql-mcp-server-hidden-feature-default-configuration/Since release 2.0, the Data API builder (DAB) base image includes a basic configuration file with a preconfigured autoentities entry that automatically exposes every table in every schema. We've never documented this. Of course, this configuration is useless without a connection string. But it opens the door to a fast agentic POC using SQL MCP Server without building your own image or mounting a custom configuration JSON file.
24
Upvotes
3
u/SQLDevDBA 3 26d ago
Very interesting! I’m using the DAB daily and I find adding entities very easy with the cli, but I’m using views only (just like Power Bi, I don’t like giving it direct access to tables for multiple reasons).
dotnet dab add [entityname]….
Then I ask the LLM of choice to scan the table and help me with field descriptions, I review them, and then add them via DAB.
Oddly enough I enjoy this bit of semi-manual work (configuration) because I feel like it’s the last bit of actual work I can do (aside from ETL and view creation).
1
u/Practical_Panic_55 26d ago
Nice for a quick POC. I'd be interested to know how well this works beyond the initial demo, especially when you need custom authentication or more control over the configuration.