mssql-readonly-mcp
● Activeio.github.oguzhanpisgin/mssql-readonly-mcp
Read-only MCP server for on-premises SQL Server: one plain SELECT, startup login check, audit log.
Is it safe? Is it maintained?
Serverdex check: Nov 26, 2026Looks healthy: mssql-readonly-mcp is maintained, open source.
- Maintained
- Active
- Last commit 7 days ago (Nov 22, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.oguzhanpisgin/mssql-readonly-mcp in the official MCP registry, version 0.1.1.
- Source
- Open source, MIT
- Public repository under the MIT licence, 0 stars, 0 forks.
- Runs
- On your machine
- A local mcpb package started by your client; it can reach whatever your user account can.
- Credentials
- 6 required
- Declared environment variables: MSSQL_CONNECTION_STRING, MSSQL_MCP_AUDIT_LOG, MSSQL_CONNECTION_STRING, MSSQL_MCP_AUDIT_LOG…. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 7 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
0 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-oguzhanpisgin-mssql-readonly-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-oguzhanpisgin-mssql-readonly-mcp/report-badge.svg" alt="mssql-readonly-mcp — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 25, 2026C#audit-logcsharpdotnetmcpmcp-servermodel-context-protocolmssqlread-onlysql-server
From the README
mssql-readonly-mcp An MCP server that lets an AI assistant read one on-premises SQL Server database. Its SQL tool accepts only text that passes an allowlist for one plain SELECT, and it will not start with a login that fails its permission check (see "What check-login refuses" for what that check covers and what it does not). It keeps a tamper-evident record (a hash-chained audit file) of every question asked. Status: early release, actively maintained. Tested on SQL Server 2019, 2022 and 2025 (Linux container images) on every change; what it promises, what it does not solve and how it was tested ("Building and testing") are written below. Install: Claude Desktop opens the release bundle (.mcpb) in one step (Claude Desktop); Claude Code and other MCP clients use the release archive (Connect your client). Listed in the official MCP registry as io.github.oguzhanpisgin/mssql-readonly-mcp. The tool calls of the recorded demo, sent by a script to the v0.1.1 server, on an invented database. What it promises Each promise in short; the full text, with the test files that check it, is in docs/promises.md. • A write or DDL statement is refused before it reaches SQL Server, by an allowlist over the ScriptDom syntax tree, not a keyword filter (full text). • In every case tested, SQL Server ran the allowed text or refused it before running (full text). • The server refuses to start with a login that fails its permission check: exit code 3, no override…
Read the full README on GitHub →Alternatives to mssql-readonly-mcp
All mssql-readonly-mcp alternatives →Best Databases servers →Compare side by side →The most-starred Databases servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Dbx | 31,377 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,945 | Nov 2026 | Local / not checked |
| MCP Toolbox for Databases | 16,945 | Nov 2026 | Local / not checked |
| Finance Database | 9,648 | Nov 2026 | Working |
| DBHub | 3,973 | Nov 2026 | Local / not checked |
mssql-readonly-mcp: questions people ask
- Is mssql-readonly-mcp a remote or a local MCP server?
- According to its entry in the official MCP registry, mssql-readonly-mcp ships as a local package (mcpb) that your client starts on your machine.
- Does mssql-readonly-mcp need an API key?
- Its registry entry declares 6 required environment variables: MSSQL_CONNECTION_STRING, MSSQL_MCP_AUDIT_LOG, MSSQL_CONNECTION_STRING, MSSQL_MCP_AUDIT_LOG…. The config on this page shows where each goes.
- Is mssql-readonly-mcp safe to use?
- Looks healthy: mssql-readonly-mcp is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 6 required. Serverdex check of Nov 26, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is mssql-readonly-mcp still maintained?
- Active: the repository's last commit 7 days ago. Last push Nov 22, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 25, 2026.
- How do I add mssql-readonly-mcp to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Databases servers
Browse all Databases →Viberaven
Production-ready
Runs your Supabase SQL with two users at once to find double bookings; checks RLS, keys, webhooks.
VibeRaven (hosted)
Production-ready
Test two-user PostgreSQL races from SQL or public migrations. Review Supabase RLS and grants.
Alembica MCP
Production-ready
MCP server for Alembica validation, extraction, cost estimation, and schema queries.
MaxMindDB
Production-ready
Query IP locations and network ownership in GeoIP2, GeoLite2, and custom MMDB databases.
SQLX
Well-maintained
Run SQL on 30+ databases through saved, encrypted connections; credentials stay local.
Sakila MCP
Production-ready
Security-first MySQL MCP server: read-only by default, with a fail-closed SQL classifier.
Add the badge to your site
Show visitors that mssql-readonly-mcp is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-oguzhanpisgin-mssql-readonly-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="mssql-readonly-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-oguzhanpisgin-mssql-readonly-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).