MCP directory
M

mssql-readonly-mcp

by github.com/oguzhanpisgin · v0.1.1 · updated Nov 13, 2026

Read-only MCP server for on-premises SQL Server: one plain SELECT, startup login check, audit log.

MCP Bundle

Run it locally

Install the package and point your AI client at it.

MCP Bundle

https://github.com/oguzhanpisgin/mssql-readonly-mcp/releases/download/v0.1.1/mssql-readonly-mcp-0.1.1-win-x64.mcpb

Environment variables

  • MSSQL_CONNECTION_STRINGrequiredsecret

    SQL 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_LOGrequired

    Path 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).

MCP Bundle

https://github.com/oguzhanpisgin/mssql-readonly-mcp/releases/download/v0.1.1/mssql-readonly-mcp-0.1.1-linux-x64.mcpb

Environment variables

  • MSSQL_CONNECTION_STRINGrequiredsecret

    SQL 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_LOGrequired

    Path 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).

MCP Bundle

https://github.com/oguzhanpisgin/mssql-readonly-mcp/releases/download/v0.1.1/mssql-readonly-mcp-0.1.1-osx-arm64.mcpb

Environment variables

  • MSSQL_CONNECTION_STRINGrequiredsecret

    SQL 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_LOGrequired

    Path 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).

More MCP servers