MCP server for connecting to SQL Server in readonly mode. Allows any MCP client to explore the schema and run SELECT queries against a SQL Server database.
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.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
process.env. You'll be asked to provide them before it can run.ALLOWED_TABLES— leave empty to expose all tables (supports wildcards: dbo.prefix_)AUDIT_LOG— false # set to true to enable audit loggingAUDIT_LOG_DIR— ./logs # folder where daily log files are writtenMAX_ROWS— 200 # maximum rows returned per querySCHEMA_CACHE_TTL_MINUTES— 5 # how long to cache schema results in memory (default: 5 min)SQL_DATABASE— MyDatabaseSQL_ENCRYPT— false # set to true for Azure SQL or cloud serversSQL_INSTANCE— leave empty if not using a named instanceSQL_PASSWORD— my_passwordSQL_QUERY_TIMEOUT— 30000 # query timeout in milliseconds (default: 30s)SQL_SERVER— Check that , SQL_USER and SQL_PASSWORD in .env are correct.SQL_TRUST_SERVER_CERT— If SQL_ENCRYPT is true (cloud servers), make sure to also set =true.SQL_USER— Check that SQL_SERVER, and SQL_PASSWORD in .env are correct.[](https://m8ven.ai/mcp/negrip-mcp-sqlserver-readonly-b8aynn)