原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SqlAugur

作者:mbentham版本 1.3.1i★ –i在你的电脑上运行
注册名称io.github.mbentham/sqlaugur

安装

概览

作者提供的说明(英文原文)

MCP server providing AI assistants with safe, read-only SQL Server access

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "sqlaugur": {
      "command": "dnx",
      "args": [
        "SqlAugur",
        "--yes"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add sqlaugur -- dnx SqlAugur --yes

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "sqlaugur": {
      "command": "dnx",
      "args": [
        "SqlAugur",
        "--yes"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "sqlaugur": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "SqlAugur",
        "--yes"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

SqlAugur 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.3.1)于9个月前进入注册中心。

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

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

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.0前天更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

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

SqlAugur

An MCP server that gives AI assistants safe, read-only access to SQL Server databases. Every query is parsed into a full AST using Microsoft's official T-SQL parser — not regex — so comment injection, string literal tricks, and encoding bypasses are blocked at the syntax level.

┌──────────────┐          ┌───────────────────────────────────────────┐        ┌──────────────┐

│ │ stdio │ SqlAugur │ │ │ │ AI Client │◄────────►│ │───────►│ SQL Server │ │ │ │ ┌────────────┐ ┌──────────────────────┐ │ │ │ └──────────────┘ │ │ Query │ │ Schema / Diagram / │ │ └──────────────┘ │ │ Validator │ │ DBA Services │ │ │ └────────────┘ └──────────────────────┘ │ │ ┌────────────────────────────────────┐ │ │ │ Rate Limiter │ │ │ └────────────────────────────────────┘ │ └───────────────────────────────────────────┘

Quick Start

Use this order for all install methods:

  1. Install SqlAugur
  2. Save appsettings.json in the correct location
  3. Add SqlAugur to your MCP client config
  4. Verify by asking your assistant to call list_servers

Start with Installation for exact commands and file paths.

Why This Approach

  • AST-level query validation — Most MCP database servers use keyword blocking or no validation at all. This project parses every query into a full syntax tree using Microsoft's official TSql180Parser. Comment injection, string literal tricks, and encoding bypasses are blocked at the syntax level, not with fragile regex patterns.
  • Rate limiting — Token bucket throughput limiting and concurrency control prevent runaway AI query loops from overwhelming production SQL Servers. No other MCP database server offers this.
  • DBA diagnostic tooling — Integrated support for First Responder Kit, DarlingData, and sp_WhoIsActive with parameter blocking that prevents write operations. This is an entirely new MCP capability category.
  • Response size optimisation — DBA tools exclude verbose columns (XML query plans, deadlock graphs, metric breakdowns) and truncate long strings by default, reducing response sizes by 90–99%. Use verbose and includeQueryPlans parameters to get full untruncated output when needed.
  • Progressive discovery — Up to 31 tools organized into toolsets that load on demand. Only 6 core tools are exposed initially, keeping the AI's context window small and reducing token usage. Additional toolsets are discovered and enabled as needed.

Features

Security

  • Read-only by design — only SELECT and CTE queries are permitted
  • AST-based query validation using ScriptDom (not regex)
  • Parameter blocking on all diagnostic stored procedures to prevent writes
  • Concurrency and throughput rate limiting

Database Tooling

  • Multi-server support — named connections to multiple SQL Server instances
  • Schema overview — concise Markdown schema maps with PKs, FKs, constraints, and defaults
  • Table documentation — Markdown descriptions of columns, indexes, foreign keys, and constraints
  • ER diagram generation — PlantUML and Mermaid diagrams with smart cardinality detection
  • Schema exploration — list programmable objects, view definitions, extended properties, dependency graphs
  • Query plan analysis — estimated or actual XML execution plans
  • DBA diagnostics — optional integration with First Responder Kit, DarlingData, and sp_WhoIsActive with automatic response size optimisation
  • Progressive discovery — dynamic toolset mode reduces initial context window usage by exposing tools on demand

Installation

All methods produce the same MCP server. Follow this order: install, save config, wire client, verify.

NuGet Global Tool (recommended)

1. Install (prerequisite: .NET 10.0 runtime)

dotnet tool install -g SqlAugur

2. Save config file

# Linux/macOS

mkdir -p ~/.config/sqlaugur

Edit ~/.config/sqlaugur/appsettings.json with your server connections

Windows (PowerShell)

mkdir "$env:APPDATA\sqlaugur" -Force

Edit %APPDATA%\sqlaugur\appsettings.json with your server connections

Example appsettings.json to save at that location:

{

"SqlAugur": { "Servers": { "production": { "ConnectionString": "Server=myserver;Database=master;Integrated Security=True;TrustServerCertificate=False;Encrypt=True;" } } } }

3. Add to MCP client

{

"mcpServers": { "sqlaugur": { "command": "sqlaugur" } } }

To update: dotnet tool update -g SqlAugur

Docker / Podman

1. Run SqlAugur container

# Volume-mount a config file

docker run -i --rm \ -v /path/to/appsettings.json:/app/appsettings.json:ro,Z \ ghcr.io/mbentham/sqlaugur:latest

Or use environment variables (no config file needed)

docker run -i --rm \ -e SqlAugurServersproduction__ConnectionString="Server=host.docker.internal;Database=master;..." \ ghcr.io/mbentham/sqlaugur:latest

Note: To reach a SQL Server on the host machine, use host.docker.internal (Docker Desktop) or --network=host (Linux). Replace docker with podman — all commands are identical. The :Z flag on volume mounts is required for SELinux-enabled systems (Fedora, RHEL); Docker Desktop users on macOS/Windows can omit it.

If you mount a config file, save it as /path/to/appsettings.json and mount it to /app/appsettings.json.

2. Add to MCP client

{

"mcpServers": { "sqlaugur": { "command": "docker", "args": ["run", "-i", "--rm", "-v", "/path/to/appsettings.json:/app/appsettings.json:ro,Z", "ghcr.io/mbentham/sqlaugur:latest"] } } }

Docker Compose

services:

sqlaugur: image: ghcr.io/mbentham/sqlaugur:latest stdin_open: true volumes:

  • ./appsettings.json:/app/appsettings.json:ro,Z

MCP client configuration:

{

"mcpServers": { "sqlaugur": { "command": "docker", "args": ["compose", "run", "-i", "--rm", "sqlaugur"] } } }

Build from Source

1. Build (prerequisite: .NET 10.0 SDK)

git clone git@github.com:mbentham/SqlAugur.git

cd SqlAugur dotnet publish SqlAugur -c Release -o SqlAugur/publish

2. Save config file

# Linux/macOS

cp SqlAugur/appsettings.example.json SqlAugur/publish/appsettings.json

Edit SqlAugur/publish/appsettings.json with your server connections

Windows (PowerShell)

Copy-Item SqlAugur\appsettings.example.json SqlAugur\publish\appsettings.json

Edit SqlAugur\publish\appsettings.json with your server connections

3. Add to MCP client

{

"mcpServers": { "sqlaugur": { "command": "dotnet", "args": ["/absolute/path/to/SqlAugur/publish/SqlAugur.dll"] } } }

Verify the MCP connection (LLM-first)

After restarting your MCP client, ask the assistant:

  • Call list_servers
  • Call list_databases for server "production"

Expected result:

  • list_servers returns your configured server name (for example production)
  • list_databases returns a JSON array of databases, not a connection or authentication error

If verification fails:

  1. Confirm MCP config runs the expected command (sqlaugur, docker run ..., or dotnet /path/to/SqlAugur.dll)
  2. Confirm appsettings.json is saved where your install method expects it:
  • Local tool: ~/.config/sqlaugur/appsettings.json (Linux/macOS) or %APPDATA%\sqlaugur\appsettings.json (Windows)
  • Container: mounted to /app/appsettings.json
  • Source build: next to the published DLL (SqlAugur/publish/appsettings.json)
  1. Confirm the tool call uses a configured server key (for example production)
  2. Confirm SQL connectivity and authentication in the connection string

Configuration

The server loads configuration from multiple sources. Higher-priority sources override lower ones:

  1. Command-line arguments
  2. Environment variables — using __ as section delimiter (e.g., SqlAugur__Servers__production__ConnectionString=...)
  3. Current working directory — appsettings.json in the directory you run the command from
  4. User config directory — ~/.config/sqlaugur/appsettings.json on Linux, %APPDATA%\sqlaugur\appsettings.json on Windows
  5. Azure Key Vault — when AzureKeyVaultUri is set (see below)
  6. App directory — appsettings.json next to the DLL

Example configuration (Windows Authentication — recommended):

{

"SqlAugur": { "Servers": { "production": { "ConnectionString": "Server=myserver;Database=master;Integrated Security=True;TrustServerCertificate=False;Encrypt=True;" } }, "MaxRows": 1000, "CommandTimeoutSeconds": 30, "MaxConcurrentQueries": 5, "MaxQueriesPerMinute": 60, "EnableFirstResponderKit": false, "EnableDarlingData": false, "EnableWhoIsActive": false, "EnableDynamicToolsets": false } }

OptionDefaultDescription
Servers—Named SQL Server connections (name → connection string). Connections identify themselves to SQL Server as SqlAugur (program_name, Extended Events client_app_name) unless the connection string sets its own Application Name.
MaxRows1000Maximum rows returned per query, inline or in a result file
ResultFileThresholdRows500read_data results over this many rows (or about 40,000 characters) are written to a CSV file instead of returned inline, avoiding oversized stdio messages. 0 disables.
ResultsDirectorysqlaugur/results under the user's local application data folder (%LOCALAPPDATA%\sqlaugur\results on Windows)Where result files are written. Must be an absolute path.
ResultFileRetentionDays7Result files older than this are deleted at startup
CommandTimeoutSeconds30SQL command timeout for all queries and procedures
MaxConcurrentQueries5Maximum number of SQL queries that can execute concurrently
MaxQueriesPerMinute60Maximum queries allowed per minute (token bucket rate limit)
EnableFirstResponderKitfalseEnable First Responder Kit diagnostic tools (sp_Blitz, sp_BlitzFirst, sp_BlitzCache, sp_BlitzIndex, sp_BlitzWho, sp_BlitzLock, sp_BlitzPlanCompare)
EnableDarlingDatafalseEnable DarlingData diagnostic tools (sp_PressureDetector, sp_QuickieStore, sp_QuickieCache, sp_HealthParser, sp_LogHunter, sp_HumanEventsBlockViewer, sp_IndexCleanup, sp_QueryReproBuilder)
EnableWhoIsActivefalseEnable sp_WhoIsActive session monitoring

| EnableDynamicToolsets | false | Enable progressive tool discovery — DBA tools load on demand via 3 meta-tools instead of at startup. Reduces initial context window

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

问 PopNx