62
/ 100
11 days ago
glama

Microsoft SQL Server MCP

Enables interaction with Microsoft SQL Server databases through T-SQL query execution, table exploration, and schema inspection. Supports configurable write protection and row limiting for safe database operations.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 3 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 3 credentials: MSSQL_AZURE_ACCESS_TOKEN, MSSQL_AZURE_CLIENT_SECRET, MSSQL_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configMSSQL_ALLOW_WRITESno false If false/unset, blocks common write/DDL/exec patterns in mssql_query (heuristic only)
configMSSQL_APP_NAMEno — options.appName (server tracing)
configMSSQL_AUTH_TYPEMSSQL_DOMAIN no — Domain login (config.domain for SQL auth; required for =ntlm)
🔐 secretMSSQL_AZURE_ACCESS_TOKENno‡ — Pre-obtained token for access-token auth
configMSSQL_AZURE_CLIENT_IDno‡ — Azure AD app (client) ID where required
🔐 secretMSSQL_AZURE_CLIENT_SECRETno‡ — Service principal secret
configMSSQL_AZURE_TENANT_IDno‡ — Tenant ID (optional for password auth, defaults common; required for service principal)
configMSSQL_CONNECTION_RETRY_INTERVAL_MSno — Tedious connectionRetryInterval; 0 → unset
configMSSQL_CONNECTION_TIMEOUT_MSno (driver default) Pool connectionTimeout (ms). 0 → unset
configMSSQL_DATABASE"": "your_database",
configMSSQL_DOMAINno — Domain login (config.domain for SQL auth; required for MSSQL_AUTH_TYPE=ntlm)
configMSSQL_ENCRYPTno true TLS encrypt: true, false, or strict (TDS 8.0 / tedious)
configMSSQL_INSTANCE_NAMEMSSQL_PORT no 1433 TCP port; omit when using (driver uses instance + SQL Browser)
configMSSQL_MAX_RETRIES_ON_TRANSIENT_ERRORSno — Tedious maxRetriesOnTransientErrors; 0 → unset
configMSSQL_MULTI_SUBNET_FAILOVERno false Availability-group style failover hint
🔐 secretMSSQL_PASSWORD"": "your_password",
configMSSQL_POOL_IDLE_TIMEOUT_MSno 30000 pool.idleTimeoutMillis
configMSSQL_POOL_MAXno 10 Pool max connections
configMSSQL_POOL_MINno 0 Pool min connections
configMSSQL_PORTno 1433 TCP port; omit when using MSSQL_INSTANCE_NAME (driver uses instance + SQL Browser)
configMSSQL_QUERY_TIMEOUT_MSno (driver default) Request timeout in ms for the driver. 0 → unset
configMSSQL_READ_ONLY_INTENTno false Read-only routing for AG secondaries
configMSSQL_SERVER"": "localhost",
configMSSQL_TDS_VERSIONno — 7_1, 7_2, 7_3_A, 7_3_B, or 7_4
configMSSQL_TLS_CA_FILEno — Path to CA PEM; passed via cryptoCredentialsDetails.ca
configMSSQL_TLS_CERT_FILEno — Optional client cert PEM (mutual TLS)
configMSSQL_TLS_KEY_FILEno — Optional client private key PEM
configMSSQL_TLS_KEY_PASSPHRASEno — Passphrase for encrypted client key
configMSSQL_TLS_SERVER_NAMEno — Hostname for TLS validation when it differs from MSSQL_SERVER (e.g. connect by IP)
configMSSQL_TRUST_SERVER_CERTIFICATE"": "true"
configMSSQL_USER"": "your_user",
configMSSQL_USE_UTCno true options.useUTC when set
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 2 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/adriancy-mssql-mcp-1iq2o2)](https://m8ven.ai/mcp/adriancy-mssql-mcp-1iq2o2)
commit: 52c26cc97e74f25dbb4bc374bfa2b7e7fdaacc70
code hash: 3f673e33c83f90b577b054e75f9dca23a3439480f36d8ca03054830f1cc5f540
verified: 6/12/2026, 11:02:53 AM
view raw JSON →