原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

mssql-readonly-mcp

作者:oguzhanpisgin版本 0.1.1i★ 0i在你的电脑上运行代码仓库 ↗
注册名称io.github.oguzhanpisgin/mssql-readonly-mcp

安装方法

What it does

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

  • Connects 在你的电脑上运行
  • Account or key Needs MSSQL_CONNECTION_STRING · 1 setting to fill in (MSSQL_MCP_AUDIT_LOG)
  • Category 数据库与数据集

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6381 个 skill

Skill · 操作手册

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6051 个 skill

Skill · 操作手册

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

作者:gosom★ 8,2361 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 下载开发者的安装文件

    下载作者的 .mcpb 文件

    .mcpb 文件直接来自开发者,我们没有修改

  2. 双击文件,然后在电脑版 Claude 应用中点击 Install

  3. 试一试

    用 mssql-readonly-mcp 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 mssql-readonly-mcp,或回答中出现 mssql-readonly-mcp 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 mssql-readonly-mcp

mssql-readonly-mcp 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 mssql-readonly-mcp 的应用

  • 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

B · 数据库与数据集 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

Claude Code 暂时无法连接 mssql-readonly-mcp

开发者只提供了电脑版 Claude 应用的安装文件

你可以改用这些方式

A · 使用能连接 mssql-readonly-mcp 的应用

  • 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

Cursor 暂时无法连接 mssql-readonly-mcp

开发者只提供了电脑版 Claude 应用的安装文件

你可以改用这些方式

A · 使用能连接 mssql-readonly-mcp 的应用

  • 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

VS Code 暂时无法连接 mssql-readonly-mcp

开发者只提供了电脑版 Claude 应用的安装文件

你可以改用这些方式

A · 使用能连接 mssql-readonly-mcp 的应用

  • 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 mssql-readonly-mcp 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

需要你填写的值

  • MSSQL_CONNECTION_STRING 机密 必填 env
    SQL Server 连接字符串。请使用能通过 check-login 检查的登录账户(参见 README 中的 "Create and check the read-only login")。服务器会添加 ApplicationIntent=ReadOnly 和 Application Name=mssql-reado…
    查看英文原文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-reado…
  • MSSQL_MCP_AUDIT_LOG 必填 env
    审计文件的路径,若缺失则连同其文件夹一起创建。一个服务器进程一次只写入一个文件;在 Windows 上,同一路径的第二个进程会写入一个同级文件(docs/audit-log.md)。
    查看英文原文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).

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
在你的电脑上运行
最新版本i
0.1.1
发布到注册中心i
2026年11月14日
代码最后更新i
2026年11月14日
作者
oguzhanpisgin
软件包
mcpb: …/mssql-readonly-mcp-0.1.1-win-x64.mcpb
mcpb: …/mssql-readonly-mcp-0.1.1-linux-x64.mcpb
mcpb: …/mssql-readonly-mcp-0.1.1-osx-arm64.mcpb
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 oguzhanpisgin 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于5天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

未检查:只能检查标明版本的 npm 和 PyPI 包

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/oguzhanpisgin-mssql-readonly-mcp.svg)](https://mcp.popnx.com/en/servers/oguzhanpisgin-mssql-readonly-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 1237 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1237 个服务器的 88% 更新
  • 基础检查结果等于或优于此分类中其他 1237 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

mssql-readonly-mcp 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MSSQL_CONNECTION_STRING

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于5天前,最新版本(0.1.1)于5天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。

有什么可以替代它?

同一分类中有:QueryWeaver, Supabase, Neon, DBCode, Keboola MCP

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

QueryWeaver

An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.

作者:FalkorDB正在增长★ 109614个月前更新

在你的电脑上运行✓ falkordb.com

Supabase

MCP server for interacting with the Supabase platform

作者:supabase广泛使用↓ 24.6万/周★ 3018 整个仓库的星标昨天更新

电脑或云端✓ 服务方 · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

作者:neondatabase正在增长★ 66613天前更新

在云端运行✓ 服务方 · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

作者:dbcodeio起步阶段↓ 118/周★ 368 整个仓库的星标2个月前更新

在你的电脑上运行✓ 服务方 · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

作者:keboola正在增长↓ 1421/周★ 843天前更新

电脑或云端✓ 服务方 · keboola.com
与相似项目对比
本项
mssql-readonly-mcp
QueryWeaverSupabaseNeonDBCodeKeboola MCP
运行位置需要安装在电脑上需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装需要安装在电脑上云端或安装在电脑上都可以
需要密钥是否是否否否
可在 Claude 中按 + 添加否否是是否否
基础检查3/33/35/55/52/35/5
许可证MITAGPL-3.0Apache-2.0MITNOASSERTIONMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

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 (full text; what it covers: docs/login-check.md).
  • No call returns data before its hash-chained audit line is written. If the line cannot be written, the query has still run and the call returns an error and no data (full text).
  • Results are capped by rows, characters and time (full text).
  • A query waits a bounded time for locks and loses deadlocks against default-priority sessions. Its own shared locks can still make a writer wait, until the call ends, and for a call ended as Timeout or Cancelled at its cutoff until its clean-up at SQL Server ends, which can be after the answer; up to v0.1.0, on a slow link a Timeout could leave them longer, with its session, which v0.1.1 closes, best effort (U-1R; full text).

How each promise is checked, and where. Test counts are kept in one place, Building and testing; the CI badge above shows the result of the last run on main.

PromiseHow it is checkedWhere
A write or DDL statement is refused before it reaches SQL ServerAllowed and refused rows, the public bypass classes among them; every statement type in the ScriptDom assembly; on a real SQL Server, refused statements open no connection and change nothing, and an Extended Events trace of the reader login shows no batch, RPC or login event for themRegressionTableTests.cs, StatementTypeTests.cs, GateRefusalTests.cs, ExtendedEventsTests.cs
SQL Server ran the allowed text or refused it before runningEvery allowed row of the regression table is sent to SQL Server as the reader; lexer cases (invisible and separator characters, comment and string forms, ODBC escapes) are sent too, and the test asserts exactly how many end each wayDifferentialTests.cs, ParserVersusServerLexerTests.cs
The server refuses to start with a login that fails its permission checkStarted with sa, the process exits 3 with one stderr lineStdioServerTests.cs, PermissionCheckTests.cs
No call returns data before its audit line is writtenOne line per call plus one startup line; no data when the audit file failsAuditTests.cs, StdioServerTests.cs, MssqlReadOnlyMcp.Audit.Tests
Results are capped by rows, characters and timeRow cap, character cap, cell cut, time limit per call, lock timeout; a row that cannot fit the character cap is not held whole in memory, but the cells read and the rest of the row still cross the network; a call on a frozen, throttled or held connection is answered as Timeout within its time limit plus 2.5 s (the tests' bound; a truncated result whose reader close freezes is answered ok with the rows read before the limit), and its clean-up at SQL Server can go on after the answer; in attack test run 4, many calls frozen at once in the middle of a row delayed the answers of every call: at a limit of 5 s with 60 or 120 such calls, the median answer came after 8.2 to 30.2 s (run 5, with 60: 10.2 to 12.1 s; U-2 in Security testing)CapsTests.cs, CallLimitTests.cs, StdioServerTests.AnswerAtTheLimit.cs
Bounded lock wait, low deadlock priorityAn exclusive lock held elsewhere returns the lock timeout reason near the limit; against a session at the default priority the reader is the deadlock victim, and the next call worksCapsTests.cs, ValueTypeTests.cs
Tested on SQL Server 2019, 2022 and 2025On every push and pull request: the build and unit tests, then, when they pass, the integration tests on each of three container images pinned by exact tagci.yml; test counts in Building and testing; the CI badge above
Code scanningCodeQL analyses the C# code and the workflow files on pushes to main, on pull requests and once a weekcodeql.yml
The login check's refusalsLogins holding refused rights, among them sa, db_owner, db_datawriter, single table and column UPDATE, IMPERSONATE and UNMASK, get their exact findings; the reader passesPermissionCheckTests.cs; the full list in docs/login-check.md
The audit chainFormat, chain, verification, flush and single writer; verify-audit exits 0 on a file the server wrote and 1 on a tampered copyMssqlReadOnlyMcp.Audit.Tests, StdioServerTests.cs; docs/audit-log.md
Startup with 20,000 tablesA second database with 20,000 tables; the startup check must pass there within the default connection timeout (15 s)ErpScaleTests.cs; measured times in Building and testing

What it does not solve

Read this before you install it.

  • The rows the assistant reads leave your building. They go to the AI vendor that runs the model, with the table and column names and any SQL Server error text. Read-only does not change that.
  • Personal data and cross-border transfer rules are the firm's decision. In Turkey that is KVKK; other countries have their own rules. This project does not decide what may be sent.
  • The answer this project offers is the login. scripts/create-readonly-login.sql creates a login that gets SELECT only on the tables and views the firm lists in the script. SQL Server shows that login only the user tables and views it holds a permission on, plus the names of objects that ship with SQL Server; a table without a grant is not found by describe_table, not listed by list_tables and not in sys.objects (SchemaToolTests.cs, Table_without_a_grant_is_not_found_not_listed_and_not_in_sys_objects).
  • A `run_query` error can show that a table without a grant exists, and its column names (errors 229, 208, 207; no row data): details.
  • A read can leave an auto-created statistics object behind after the rollback: details.
  • The login sees what SQL Server shows `public`, such as the host name and every database name: details.
  • The login check runs once, at start; rights granted later are not seen until a restart: details.

More limits are in SECURITY.md.

Five-minute start

Four steps: download the program, create its read-only login and check it, connect your client, ask. The blocks are for Windows and PowerShell 7; Linux and macOS forms, building from source and what was tested are in Installing.

1. Prerequisites
  • A SQL Server t

只显示了开头部分;其余内容请在仓库中阅读