SqlServer.Rules

Level CLocal

Analyze T-SQL scripts for design, naming, and performance issues and prevent bad practices.

⭐ 0DatabaseRepo ↗Updated 2026-07-29

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "SqlServer.Rules": {
      "command": "npx",
      "args": [
        "ErikEJ.DacFX.TSQLAnalyzer.Cli"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/ErikEJ/SqlServer.Rules

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "SqlServer.Rules": {
      "command": "npx",
      "args": [
        "ErikEJ.DacFX.TSQLAnalyzer.Cli"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers