Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

SqlServer.Rules MCP server

by erikej/sqlserver.rulesMIT licenceAudited 6 Oct 2026 · source afd5da792c46

npm tsqlanalyzerextension 0.0.1stdio★ 241
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · afd5da7

Is it safe? No — BLOCK, grade D (69/100). The tool list is built at runtime, so we cannot read it from the source. The audit recorded 12 findings (0 critical, 7 high, 2 medium, 3 low). Maintainer's description: 140+ T-SQL static code analysis rules for SQL Database Projects and ad-hoc scripts

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “SqlServer.Rules MCP server (erikej/sqlserver.rules)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/erikej/sqlserver-rules

Why this is BLOCK. The audit found 0 critical and 7 high findings; the most severe is Prompt injection at docs/ignoring_rules.md:8. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical7 high2 medium3 low0 info

12 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (12)

Sorted by severity

HIGHPrompt injectionprompt.override · docs/ignoring_rules.md:8
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- GLOBAL IGNORE {RuleId}: Ignores all occurrences of that rule within the file.
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction
HIGHPrompt injectionprompt.override · docs/ignoring_rules.md:35
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Now you could just add ignores for each occasion of this rule violation, but instead you could use a global ignore to ignore all violations of that rule within the stored procedure.
Why
asks the agent to drop prior instructions or safety
Fix
remove the instruction
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0001.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# SQL Server Rule: SRD0001
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0002.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# SQL Server Rule: SRD0002
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0003.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# SQL Server Rule: SRD0003
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0004.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# SQL Server Rule: SRD0004
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0005.md:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# SQL Server Rule: SRD0005
Why
invisible characters in instruction text
Fix
strip non-printing characters
MEDIUMInventory / provenanceinv.binary · src/SqlServer.Rules/key.snk
F-13 Inventory / provenanceCWE-1104Layer L0
key.snk
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · tools/SqlAnalyzerCli/testfiles/Chinook.dacpac
F-13 Inventory / provenanceCWE-1104Layer L0
Chinook.dacpac
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
LOWInventory / provenanceinv.hidden_file · vscode-extension/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · vscode-extension/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/node, @vscode/vsce, typescript
Why
3 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWInventory / provenancemcp.no_tools_extracted · tools/SqlAnalyzerCli/.mcp/server.json
F-13 Inventory / provenanceCWE-1104Layer L3
Why
the tool list is enumerated at runtime by tools/list, not declared in source
Fix
the page says so rather than showing an empty table

Tools it exposes

None declared in source

The tool list is built at runtime, so we cannot read it from the source.

Safer alternatives

All databases servers →

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · afd5da792c46

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about SqlServer.Rules MCP server

What is the SqlServer.Rules MCP server?
140+ T-SQL static code analysis rules for SQL Database Projects and ad-hoc scripts
Is SqlServer.Rules safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 7 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does SqlServer.Rules need?
No credential environment variables were found in its source, so it appears to need none.
How does SqlServer.Rules run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as tsqlanalyzerextension at 0.0.1.
How current is this page?
The grade is for one exact copy of the source (afd5da792c46), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed SqlServer.Rules. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • erikej/sqlserver.rules on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit afd5da792c46Observed · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.