mssql-readonly-mcp
io.github.oguzhanpisgin/mssql-readonly-mcp
v0.1.1Updated Nov 13, 2026stdio · MCPB
Read-only MCP server for on-premises SQL Server: one plain SELECT, startup login check, audit log.
Install
This server doesn't publish a package or endpoint we can turn into a one-line install. See its links below.
Configuration
2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
MSSQL_CONNECTION_STRINGEnv var· required· secretSQL Server connection string. Use a login that passes check-login (see the README, "Create and check the read-only login"). The server adds ApplicationIntent=ReadOnly and Application Name=mssql-readonly-mcp.MSSQL_MCP_AUDIT_LOGEnv var· requiredPath of the audit file, created with its folder if missing. One server process writes a file at a time; on Windows a second process on the same path writes a sibling file (docs/audit-log.md).
Links
Listed in the official MCP Registry since Nov 13, 2026. Mirrored daily; last checked Nov 26, 2026.