Can SQL MCP Server meet our Entra ID sign-in requirement?
Your identity team wants agents that reach SQL Server or Azure SQL to sign in through the identity provider it already governs. The supplied documentation says SQL MCP Server can validate JSON Web Tokens issued by Microsoft Entra ID inbound, using the EntraId provider with the jwt.audience and jwt.issuer settings. This is configured in the self-hosted Data API builder deployment that you run, not as a vendor-managed SaaS tier, and the supplied facts do not name a paid edition for it. The authentication page also says inbound authentication is set once per instance, so a team that needs two different identity schemes must run two SQL MCP Server instances.
The server handles two separate authentication directions, and your review should treat them as two decisions. Inbound authentication governs which clients can reach the MCP endpoint. Outbound authentication governs how the server connects to the database, where Microsoft lists a SQL username and password or Azure managed identity, with managed identity as the recommended option on Azure. Entra ID sign-in on the inbound side does not by itself decide what the database account can do, so the outbound account needs its own least-privilege review.
Do not assume a default is secure. Starting in DAB 2.0, the default provider is Unauthenticated, so requests are treated as anonymous and only the anonymous permissions you grant apply. Before go-live, confirm in your own configuration that the EntraId provider is set and that the anonymous role grants nothing you do not intend. Because the supplied documentation does not describe SSO-style sign-in flows, conditional access behavior or how user identity reaches the database, ask Microsoft to confirm those details for your tenant and DAB version before you tell your identity team the requirement is met.
Authentication, hosting and monitoring options and their status
This table sorts each sign-in, secret, hosting and monitoring option for SQL MCP Server into one of four statuses: built in, needs an outside component, not supported directly, or confirm with Microsoft. Read each row against your identity provider, gateway and logging setup, and note that the supplied Microsoft material does not document edition differences, so confirm those with Microsoft before you approve a design.
| Option | Status | Notes for the reviewer |
|---|---|---|
| Inbound Entra ID JWT validation | Built in | Uses the EntraId provider with jwt.audience and jwt.issuer settings. Authentication is set once per instance. |
| API keys for inbound clients | Not supported directly | Front the MCP endpoint with a gateway such as Azure API Management if clients need keys. |
| Gateway in front of the endpoint | Needs outside component | Azure API Management is the gateway named in Microsoft's documentation. Confirm how it is deployed and governed in your tenant. |
| Outbound SQL username and password | Built in | Supported for the database connection. Store the secret outside the config file, for example in environment variables or Key Vault. |
| Outbound Azure managed identity | Built in | Microsoft documents this as the recommended option on Azure. Confirm the database-side role grants with your DBA. |
| Key Vault secrets for connection strings | Needs outside component | Connection string values can come from Azure Key Vault. Confirm vault access policies and rotation with your security team. |
| Streamable HTTP and stdio transports | Built in | Streamable HTTP is for standard hosting. Stdio is for local or CLI use. Choose the transport that matches where the server runs. |
| Log Analytics, Application Insights and local file logs | Needs outside component | Logs and telemetry go to Azure Log Analytics, Application Insights or local files in a container. Confirm retention and access settings in those services. |
| OpenTelemetry spans for MCP tool calls | Built in | Tool calls are instrumented with OpenTelemetry spans. Confirm the exporter and what attributes your collector stores. |
How inbound and outbound authentication separate the trust boundary
The client authenticates to the MCP endpoint, and the server authenticates to the database, and these are two separate decisions. Inbound authentication answers whether a caller may reach SQL MCP Server at all. Outbound authentication answers which identity the server uses when it opens a connection to SQL Server or Azure SQL. A team can get one right and the other wrong, so the review should assess each on its own. Microsoft Learn describes both directions in the authentication configuration guide, and the reviewer should read the two sections side by side before approving a design.
On the inbound side, the EntraId provider validates JSON Web Tokens issued by Microsoft Entra ID, and the jwt.audience and jwt.issuer settings determine which tokens are accepted. Tokens issued for a different audience or by a different issuer are not meant to pass, so these values should match the app registration the client actually uses, and the reviewer should confirm them against the tenant. Inbound identity is also set once per instance. If the organization needs one scheme for employees and another for a partner or service, it needs two SQL MCP Server instances, each with its own endpoint, configuration and monitoring. The team should confirm the current behavior with Microsoft before assuming a single endpoint can accept both.
The dab-config.json file defines what either identity can reach. Permissions are granted per object and per role, so an authenticated caller and an anonymous caller see different surfaces. Since DAB 2.0 the default provider is Unauthenticated, which means any request without a validated token is treated as anonymous, and only the anonymous permissions in the file apply. A reviewer should check that the anonymous role grants nothing it should not, and that the authenticated role lists only the tables, views and procedures the use case needs. Because outbound access is a separate control, the database account behind the connection should also be limited to those same objects.
Decisions to make before standing up the team instance
Six choices decide who can call the SQL MCP Server, which database identity it uses, and where secrets and logs live. Several of them are fixed per instance, so the team should settle them before the first deployment rather than after an incident or an audit request.
Identity provider and token audience
Inbound authentication can validate JSON Web Tokens from an OAuth provider such as Microsoft Entra ID, configured through the EntraId provider with jwt.audience and jwt.issuer. The audience and issuer values define which tokens the endpoint accepts, so a wrong value either locks out valid callers or accepts tokens meant for another app. Ask the identity team to confirm the app registration, the audience value and who can consent to it before the config file is written.
One instance per identity scheme
Inbound authentication is set once per instance, so two different identity schemes need two SQL MCP Server instances. Each instance has its own endpoint, its own permissions and its own deployment to maintain. Teams should list every identity scheme their clients need before deciding how many instances to run, and confirm that the cost of running several instances is acceptable to the platform owner.
API key gateway in front of the endpoint
Microsoft's documentation says key-based authentication is not supported directly. Clients that can only send API keys need a gateway such as Azure API Management in front of the MCP endpoint, which then handles key issuance, rotation and revocation. This adds a component with its own access policies and logs. Confirm whether the gateway or the server will be the place where keys are checked and who owns that configuration.
Authentication docsOutbound managed identity versus SQL login
Outbound database authentication can use a SQL username and password or an Azure managed identity, and Microsoft recommends managed identity on Azure. Managed identity removes a stored database password, but the database role for that identity must be granted deliberately. A SQL login means a password to store, rotate and protect. Ask the database team which identity will hold the least-privilege role and who approves changes to it.
Overview docsSecret source for connection strings
Connection string values can come from literal strings, environment variables or Azure Key Vault secrets, so secrets can be kept out of dab-config.json. Literal values are the easiest to test but put credentials in a file that may be copied into source control. Key Vault centralizes rotation and access logging, while environment variables sit between the two. Decide where rotation happens and who can read the vault before the first deployment.
Log destination for monitoring
The server emits logs and telemetry to Azure Log Analytics, Application Insights and local file logs in a container, and instruments MCP tool calls with OpenTelemetry spans. Log Analytics suits central queries and retention policy, Application Insights suits tracing individual tool calls, and container files need a shipping step to reach a central store. Confirm which destination the security team will query, how long records are kept there, and who can read them.
Overview docsWhy API keys belong at a gateway, not in the server
Microsoft Learn states that key-based authentication is not supported directly by SQL MCP Server, so if a client needs API keys, the MCP endpoint should sit behind a gateway such as Azure API Management. The server itself validates identity through an OAuth provider such as Microsoft Entra ID, or treats requests as anonymous under the default Unauthenticated provider. Plan the key requirement at the gateway layer from the start, because inbound authentication is set once per instance and a second identity scheme means a second SQL MCP Server instance. Confirm with Microsoft's SQL MCP Server authentication guidance which inbound method your design depends on before you build the gateway around it.
The gateway owns the parts that a key-based model needs: issuing keys to callers, rotating them, and setting quotas or rate limits per consumer. Those controls live outside the server, so reviewers should ask who holds the key lifecycle, how revocation reaches every client within an agreed window, and where key usage is recorded. None of this changes which SQL objects an agent can read or write, which is still governed by the entries and permissions in dab-config.json.
The harder design work is identity mapping. Once the gateway accepts the API key, the database server sees the gateway's call, not the individual developer or agent that made it. Your team must decide how the gateway passes caller identity forward, whether through a custom header or another forwarding claim, and how DAB permissions then distinguish one caller from another. Treat the exact header and forwarding design as something to confirm with Microsoft and in your own gateway configuration, and test that a revoked key or a restricted caller cannot reach a table it should not see.
Gaps in the built-in sign-in and monitoring
The supplied Microsoft documentation covers inbound token validation, outbound database authentication and telemetry, but it does not settle every question a identity or audit team will ask. The cards below list the open points and the cover for each, whether that is a gateway, an Entra role design, database-side auditing, a retention policy in your own workspace, or a written question to Microsoft.
No documented SAML or SCIM for the server
The authentication guidance describes inbound JSON Web Token validation through the EntraId provider with jwt.audience and jwt.issuer settings. It does not describe SAML federation or SCIM provisioning for the MCP server itself, so user lifecycle must be handled in Entra ID and the token issuer. Confirm with Microsoft whether any SCIM or SAML path exists for this server before you assume joiners and leavers flow through automatically. Until then, plan deprovisioning as a token and group removal task in Entra ID.
No direct API key support
Microsoft states that key-based authentication is not supported directly. Clients that only hold API keys cannot reach the endpoint unless a gateway such as Azure API Management sits in front and validates the key before forwarding a token. Treat the gateway as a security component: it needs its own access policy, logging and rotation process. Document which team owns it, because a misconfigured gateway can bypass the token checks the server itself enforces.
Per-user attribution at the database
Outbound access can use a SQL username and password or Azure managed identity, and managed identity is the recommended option on Azure. Either way, the database may record one shared identity for every agent session, so the question of which person triggered a query may not be answerable from database logs alone. Ask how the server passes caller identity to SQL, then enable SQL Server or Azure SQL auditing for the service identity and correlate requests using the OpenTelemetry spans for MCP tool calls.
Log retention periods not documented
The overview says logs and telemetry go to Azure Log Analytics, Application Insights and local file logs in a container, but it does not state how long each store keeps data. Retention depends on the workspace and resource settings you choose, so set them yourself. Decide the retention period in your own Log Analytics workspace and Application Insights resource, restrict who can read them, and confirm that local container log files are rotated and shipped off the host.
No Entra group to DAB role mapping
Permissions are defined per object in dab-config.json, and inbound authentication is set once per instance. The supplied guidance does not describe how an Entra group or app role maps to a DAB permission role. Design the mapping yourself: define Entra app roles, assign them to groups, and create one SQL MCP Server instance per identity scheme, since two schemes need two instances. Review the mapping in source control so changes leave a record.
No documented support tier or SLA
The supplied sources do not state a support tier, response time or service level for SQL MCP Server. Because it is an open source engine that you host, the support path depends on your own runtime, such as Azure Container Apps or App Service, and on the Azure services it uses. Ask Microsoft in writing which support channels cover the server, which Data API builder release line is supported, and how security fixes are delivered. Record the answers before approving production use.
SQL MCP Server docsHow the answer changes by identity setup and hosting
When every client can sign in with Microsoft Entra ID, the server validates JSON Web Tokens from that issuer. Inbound authentication uses the EntraId provider, configured with jwt.audience and jwt.issuer settings, and it is set once for the instance. Since DAB 2.0, the default provider is Unauthenticated, so an instance that is not explicitly configured treats every request as anonymous and applies only the anonymous permissions you grant. Confirm that the configured audience and issuer match your app registration exactly before any user connects.
- Identity: Each user or service principal presents a token from Entra ID. The server checks the token, and the database permissions still come from the entity rules in
dab-config.json. - Secrets: Inbound tokens are not stored on the server. Outbound database access should use managed identity where possible, so no database password sits in the config file.
- Logging: Tool calls produce OpenTelemetry spans, and logs can flow to Azure Log Analytics or Application Insights. Ask whether the user identity from the token is recorded on each call, since the overview does not spell that out.
- Scope: One identity scheme per instance. A team that also needs API keys cannot add them to this instance.
Before approving this pattern, check the anonymous permissions on every entity and confirm that the Unauthenticated default cannot reach any object.
Microsoft's documentation says key-based authentication is not supported directly on the server. If some clients, such as scripts or third-party tools, can only send an API key, place Azure API Management or another gateway in front of the MCP endpoint to check the key and forward requests. Because inbound authentication is set once per instance and two identity schemes need two instances, a mixed team runs one instance for Entra ID tokens and another for keys behind the gateway.
- Identity: The gateway owns the key check. Each scheme has its own instance and its own entity permissions, so review both as separate systems.
- Secrets: API keys live in the gateway, not in
dab-config.json. Rotation and revocation happen there, and they do not change the database configuration. - Logging: The gateway logs key use and the server logs tool calls, so correlate the two. Confirm whether the gateway forwards a caller identity to the server, because the server cannot tell two keyed callers apart unless the gateway passes that information.
- Scope: Two instances mean two configurations, two sets of connection strings and two monitoring targets to maintain.
Ask the team which clients truly need keys, and whether those clients can move to Entra ID before you build the second instance.
Microsoft's quickstart list covers Azure Container Apps and the overview links an Azure App Service deployment guide. On Azure, Microsoft recommends managed identity for the outbound connection to SQL, so the server authenticates to the database without a stored username and password. Connection string values can come from environment variables or Azure Key Vault secrets, which keeps secrets out of the config file.
- Identity: The hosting resource has its own managed identity, and that identity needs database permissions. Grant only the rights each exposed object requires.
- Secrets: Use Key Vault for any value that cannot be replaced by managed identity. Confirm who can read the vault and who can change the app's settings, since those paths expose the same secrets.
- Logging: Application Insights and Log Analytics are the natural sinks. Set retention and access on those workspaces to match your policy, because the overview does not state default retention.
- Network: Confirm how the endpoint is exposed, whether publicly or through private networking, since the facts supplied do not cover network isolation options.
For this pattern, verify the managed identity's database role, the Key Vault access policy and the log workspace retention before go-live.
The server can run locally through the DAB command line using the stdio transport, which suits a single developer's machine or CLI use. Streamable HTTP is the transport for standard hosting. Stdio is a local process started by the client, so it is not a shared team endpoint, and it should not be presented to staff as one. Each developer runs their own copy against their own database credentials or a development database.
- Identity: The developer's own database login or identity is used, so the database audit trail reflects that person, not a shared account.
- Secrets: Connection strings may sit in environment variables or a local config. Keep production credentials out of developer machines, and point local runs at non-production data.
- Logging: Local file logs are written in the container case, and telemetry depends on configuration. Confirm where logs land on a laptop and whether they are swept into any managed backup.
- Schema: Microsoft suggests the MSSQL extension for Visual Studio Code for schema changes during local development, since the server itself is built around data operations rather than schema changes.
Before allowing this pattern, decide which databases developers may point at, and confirm that no production connection string is stored on endpoints.
Microsoft Learn describes the server as self hosted, and the client controls where it runs. The facts supplied for this topic do not cover disconnected or air-gapped operation, including whether the server needs outbound connectivity for licensing, telemetry or updates, or how Entra ID token validation behaves without internet access. Treat the disconnected case as unconfirmed until Microsoft or the repository documentation says otherwise.
- Identity: Token validation against an external issuer may depend on reachability of that issuer. Confirm how the server fetches signing keys and what happens when they are unreachable.
- Secrets: Without Key Vault, secrets must be supplied as environment variables or literal values. Define how they are stored, rotated and kept off the config file.
- Logging: Azure Log Analytics and Application Insights may not be reachable from an isolated network. Confirm which local file or OpenTelemetry export paths work offline and who reviews them.
- Licensing: Check the MIT license terms in the repository's LICENSE.txt file with your legal team, and confirm any Microsoft service terms that apply.
Ask Microsoft and your platform team for a written answer on offline operation before this pattern is approved.
Request flow from client sign-in to database call
The flow starts with the MCP client signing in to Microsoft Entra ID, which returns a signed JSON Web Token. The client then sends its MCP call to the SQL MCP Server endpoint, either directly or through an optional API Management gateway when API keys must be fronted. The server checks the token against the configured jwt.issuer and jwt.audience, then applies the permissions in dab-config.json to the requested object. Before querying, it reads the connection string from environment variables or Key Vault and connects with managed identity or a SQL login. Check that the audience matches your app registration, that the database identity holds only the rights it needs, and where telemetry is sent.
Token validation, permission checks, database access and telemetry for one MCP request.
Order of work for a production team rollout
This sequence settles the identity model, instance layout, database credentials, gateway, telemetry and access tests before any team member connects an agent to SQL Server or Azure SQL data. Each step closes with a written check that the security reviewer can sign off.
Confirm the identity model and edition with Microsoft
The platform owner and the identity lead confirm with Microsoft which SQL MCP Server release and Data API builder version the team will run, and which identity schemes the team needs (Entra ID tokens, API keys, or both). Microsoft's documentation recommends the latest 2.0 release for current capabilities, so ask whether any feature the team depends on is limited to a specific version or hosting option. The step is done when the identity schemes and the exact version are recorded in the rollout decision log with the vendor's answers attached.
Set the inbound provider and audience per instance
The identity lead sets the inbound provider, audience and issuer for each instance, because inbound authentication is configured once per instance. If the organization needs two different identity schemes, plan two separate SQL MCP Server instances from the start rather than trying to mix them in one. Confirm that the default provider is Unauthenticated in the release being deployed, so anonymous requests only receive the anonymous permissions that were granted deliberately. The step is done when each instance has a documented audience, issuer and owner.
Choose outbound authentication and secret storage
The data platform team chooses how the server connects to the database. Microsoft lists a SQL username and password or an Azure managed identity, and managed identity is the recommended option on Azure. Confirm where each connection string value is stored, whether as a literal, an environment variable or an Azure Key Vault secret, and that no credential sits in the configuration file. The step is done when the database account has only the permissions the entities need and a reviewer has confirmed that no shared SQL login is in use.
Decide the gateway for API key clients
Microsoft's documentation states that key-based authentication is not supported directly. If any client must use API keys, the architecture lead places a gateway, such as Azure API Management, in front of the MCP endpoint and confirms who owns key issuance, rotation and revocation. Clients that can sign in with Entra ID tokens should not go through the gateway unless the security team has a reason to require it. The step is done when a written diagram shows each client type and the path it takes to the endpoint.
Route telemetry and set retention
The security operations lead directs logs and telemetry to the organization's own workspace, such as Azure Log Analytics or Application Insights, or to local file logs in a container, depending on the hosting choice. Confirm that MCP tool calls are instrumented with OpenTelemetry spans and that the team can see which identity made each call. The retention owner then sets how long those logs are kept and who can read them, and records that decision against the organization's own retention policy. The step is done when a test call appears in the chosen workspace with the caller identity attached.
Test anonymous denial and token rejection before go-live
The security engineer runs a short test plan before any production user connects. Requests without a token should receive only what the anonymous permissions allow, and requests with a token from the wrong issuer or audience should be rejected. The tester also confirms that each entity exposes only the operations granted to its role and that no unexpected tool is reachable. The step is done when the results are saved as evidence, the failures are fixed and retested, and the platform owner signs the go-live record.
What a security reviewer asks to see and where it comes from
This table maps each item a security reviewer typically requests for a SQL MCP Server rollout to the file, page or party that holds it. Read it as a checklist: confirm each item in the environment you will run, not only in the documentation. The main takeaway is that most of the evidence lives in dab-config.json, the Azure hosting setup and the telemetry sinks you choose, so it is in your control to produce.
| Evidence item | Where it lives | Who produces it |
|---|---|---|
| Inbound authentication configuration | The authentication section of dab-config.json, set once per instance | Your platform team, reviewed against the Microsoft Learn authentication page |
| Default anonymous behavior | Authentication provider setting; from DAB 2.0 the default is Unauthenticated, so only anonymous permissions apply | Microsoft documents the default; you confirm the effective value in your config |
| Entra ID token validation settings | jwt.audience and jwt.issuer values in the EntraId provider configuration | Your identity team supplies the tenant and audience values |
| Outbound database credential method | Connection string settings: SQL username and password or Azure managed identity | Your database and platform team; managed identity is the Microsoft-recommended option on Azure |
| Secret source for connection strings | Literal value, environment variable or Azure Key Vault secret referenced from the config | Your platform team; confirm Key Vault access policies and rotation separately |
| Permission definitions per object | Entity definitions in dab-config.json covering tables, views and stored procedures | Your data owners and the team that maintains the config file |
| Logs and OpenTelemetry destinations | Azure Log Analytics, Application Insights or local file logs in a container; MCP tool calls emit OpenTelemetry spans | Microsoft defines the emitters; your team selects and retains the sinks |
| License terms | LICENSE.txt in the Azure/data-api-builder repository: MIT license with a Microsoft Corporation copyright notice | Microsoft publishes it; your legal or procurement team records the version you deploy |
| Supported MCP protocol version and transports | Microsoft Learn overview: protocol version 2025-06-18; streamable HTTP for hosting, stdio for local or CLI use | Microsoft documents it; your architects confirm the transport in each deployment |
Questions buyers ask before approving SQL MCP Server sign-in
Does SQL MCP Server support SSO with our identity provider?
Yes for Microsoft Entra ID, and the mechanism is token validation rather than a sign-in screen. Microsoft's authentication guide describes inbound authentication where the server validates JSON Web Tokens issued by an OAuth provider such as Entra ID, configured with the EntraId provider and the jwt.audience and jwt.issuer settings. Other identity providers are not covered by the supplied documentation, so ask Microsoft which OAuth providers are supported and how your provider's tokens map to the audience and issuer values. Your identity design drives the work: one audience per application, how group or role claims map to entity permissions, and whether clients obtain tokens interactively or through a service identity. Inbound authentication is set once per instance, so two different identity schemes need two SQL MCP Server instances.
Is there a paid edition of SQL MCP Server?
The supplied documentation describes SQL MCP Server as Microsoft's open source engine, included in Data API builder starting in version 1.7, with the overview recommending the latest 2.0 release. It is licensed under MIT with a Microsoft Corporation copyright notice, so the software itself carries no license fee. Costs come from the infrastructure you run it on, such as Azure Container Apps or Azure App Service, plus Azure SQL or SQL Server, Log Analytics and Application Insights ingestion, and any API gateway you add. Confirm current hosting and monitoring prices with Microsoft's pricing pages and your Azure agreement, since the supplied facts do not include them.
Do API keys work with SQL MCP Server?
Not directly. Microsoft's documentation states that key-based authentication is not supported by the server itself. If clients must use API keys, you place the MCP endpoint behind a gateway such as Azure API Management, which validates the key and forwards requests. That adds a component to design, secure, monitor and pay for. Keep in mind that the gateway authenticates the caller, but the server's own permissions still decide what the database returns, so an API key that reaches the endpoint without a token should not be treated as a user identity. Ask Microsoft how the gateway should pass identity to the server if you need per-user attribution.
How is database access audited per user?
The supplied facts say the server emits logs and telemetry to Azure Log Analytics, Application Insights and local file logs in a container, and instruments MCP tool calls with OpenTelemetry spans. Per-user attribution depends on the identity path you choose. With Entra ID token validation, the caller identity is in the token, but confirm with Microsoft whether it is recorded on each tool call span and in the database audit trail. Outbound access through a managed identity or a shared SQL login may show only the service identity at the database, so per-user auditing could require a design that passes user identity through to SQL, which the supplied facts do not describe. Ask Microsoft for the exact log fields emitted and test them in a non-production workspace before approving.
What does a SQL MCP Server rollout cost, and who gets paid for what?
The software has no supplied license fee, so cost comes from four parts: hosting for the server, the database and its tier, monitoring ingestion and retention, and any gateway. Recurring costs include compute, log storage and gateway tiers. One-time costs include identity app registration, configuration design, testing and documentation. Engineering time is the largest variable and depends on how many entities you expose, how many identity schemes you run, and whether you need a gateway. Microsoft is paid for Azure consumption, and any implementation partner is paid for the written scope. Ask any quote for hosting assumptions, per-environment counts, log retention settings and whether security testing is included.
How long does a sign-in rollout take?
The supplied facts do not include a duration, so no timeline can be stated here. The main drivers are how many identity schemes you need (each one requires its own instance), whether an API gateway must be built, how entity permissions map to your roles, and how long your security and compliance reviews take for the database and log destinations. A narrow pilot with one identity scheme and one database is usually easier to scope than a multi-environment rollout. Ask any provider for a written schedule tied to these drivers, and ask Microsoft which deployment guide matches your hosting choice.
Can our own team set this up without an outside partner?
Often yes, if your team already runs Entra ID app registrations, Azure container hosting and Azure SQL access controls. Microsoft publishes quickstarts for Visual Studio Code, .NET Aspire, Microsoft Foundry, Azure Container Apps and an Azure App Service deployment guide, which cover the basic path. Gaps usually sit in the security design: validating tokens correctly, choosing managed identity over stored credentials, keeping connection strings in Azure Key Vault or environment variables, and wiring logs to a workspace your security team reviews. A partner's role in a fixed-scope engagement is to plan, implement, document and test those controls against your written scope. Ask any partner to show the scope and deliverables before work starts.
Does SQL MCP Server run inside our own network?
Yes, Microsoft describes the server as self hosted, and it can also run locally through the Data API builder command line. You choose where it runs, whether that is an Azure container, an App Service instance, a container on your own infrastructure or a developer machine for local use. Network placement still needs to be checked: the server must reach the database, the identity provider for token validation, and your log destinations, and any gateway must reach the server. Confirm with Microsoft which outbound endpoints each option requires before you set firewall rules. DeployOpen deploys and hardens self-hosted platforms inside the client's own infrastructure, including cloud accounts, data centers and air-gapped networks.
Where each sign-in claim can be checked
Before your team accepts any sign-in claim about Microsoft's SQL MCP Server, check it against the Microsoft Learn authentication page, Configure authentication for SQL MCP Server. That page is where the inbound settings are described, including the EntraId provider with its jwt.audience and jwt.issuer values, the statement that the default provider is Unauthenticated from DAB 2.0 onward, and the rule that inbound authentication is set once per instance. Read it alongside the current release notes for your Data API builder version, since the provider defaults depend on the release you deploy. Ask your Entra ID administrator to confirm the audience and issuer values against your own tenant before any token is accepted.
The SQL MCP Server overview and the SQL MCP Server documentation cover hosting, logging and telemetry, and they are the sources for any claim about audit output. This review covers only Microsoft's official server. Community MCP servers for SQL Server are out of scope, because the Microsoft documentation does not name or vouch for them, so their sign-in behavior cannot be verified from these sources. If a community server is under consideration, treat its authentication as unverified and request its own documentation and a security review before comparing it with the official server.
How DeployOpen helps a team review and roll out SQL MCP Server
DeployOpen plans, implements, hardens and documents self-hosted platforms inside the client's own infrastructure, so the SQL MCP Server runs where your security team can inspect it. We test the setup, including inbound token validation, gateway choices, database authentication and logging, then hand over written evidence your reviewers can check.
How we scope
- Agree in writing which SQL Server or Azure SQL databases, tables, views and stored procedures are in scope.
- Confirm the chosen inbound model: Entra ID token validation or a gateway in front of the endpoint for API keys.
- Define the outbound database identity, whether managed identity or a SQL login, and where connection secrets are held.
How we build
- Deploy the server in your environment, such as Azure Container Apps, App Service or a local host, as agreed in scope.
- Configure jwt.audience and jwt.issuer for Entra ID sign-in and confirm that anonymous access is denied by default.
- Set up Log Analytics, Application Insights or file logging so MCP tool calls can be traced during review.
How we hand over
- Deliver a findings report covering authentication, permissions, secret handling and logging, with fixes and a retest.
- Document the configuration, the object permissions in the config file and the admin steps your team must repeat.
- Provide evidence packs that your security, compliance and procurement reviewers can use in their own assessments.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing upgrades, configuration changes and continuous testing are available through a retainer.
- Ask us to confirm plan, licensing and identity-provider details with your vendors, since those terms sit outside our scope.

