MCP server · Audited from source
SqlServer.Rules MCP server
by erikej/sqlserver.rulesMIT licenceAudited 6 Oct 2026 · source afd5da792c46
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
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
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
- 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
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
# SQL Server Rule: SRD0001
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0002.md:1
# SQL Server Rule: SRD0002
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0003.md:1
# SQL Server Rule: SRD0003
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0004.md:1
# SQL Server Rule: SRD0004
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
HIGHPrompt injectionprompt.zero_width · docs/Design/SRD0005.md:1
# SQL Server Rule: SRD0005
- Why
- invisible characters in instruction text
- Fix
- strip non-printing characters
MEDIUMInventory / provenanceinv.binary · src/SqlServer.Rules/key.snk
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
Chinook.dacpac
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWSupply chainsupply.unpinned · vscode-extension/package.json
@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
- 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 →ergut/mcp-bigquery-server
A Model Context Protocol (MCP) server that provides secure, read-only access to BigQuery datasets. Enables Large Language Models (LLMs) to safely query and analyze data through a standardized interface.
haxzie/sequel-mcp
MCP Database servers for Claude, Cursor and Windsuf
machinegrade/validate
Deterministic validation for AI-generated artifacts: JSON Schema, OpenAPI response, SQL. Typed verdicts with fix hints. Metered API + MCP.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
afd5da792c46
README badge
Badges show the current verdict, BLOCK included
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?
Is SqlServer.Rules safe to connect to an agent?
What credentials does SqlServer.Rules need?
How does SqlServer.Rules run?
How current is this page?
I already installed SqlServer.Rules. What should I do?
Can the verdict change?
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.
- What is the SqlServer.Rules MCP server?
- Is SqlServer.Rules safe to connect to an agent?
- What credentials does SqlServer.Rules need?