SqlServer.Rules for Cursor
io.github.erikej/sqlserver.rules
Analyze T-SQL scripts for design, naming, and performance issues and prevent bad practices.
client:Cursor
transport:stdio
runtime:nuget
Install SqlServer.Rules in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"sqlserver.rules": {
"type": "stdio",
"command": "dnx",
"args": [
"ErikEJ.DacFX.TSQLAnalyzer.Cli",
"--yes"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs