sprocguard
v0.3.1Safety net for SQL Server stored procedures: capture their behavior and verify changes.
Values you need
| Variable | What it is | |
|---|---|---|
SPROCGUARD_CONFIG | optional | Path to sprocguard.toml (defaults to ./sprocguard.toml in the working directory) |
SPROCGUARD_ODBC | optional secret | ODBC connection string; overrides the connection in sprocguard.toml |
SPROCGUARD_PASSWORD | optional secret | SQL login password, only when the config uses user/password_env |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add sprocguard -- uvx sprocguard==0.3.1 serveAdd to
claude_desktop_config.json{
"mcpServers": {
"sprocguard": {
"args": [
"sprocguard==0.3.1",
"serve"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"sprocguard": {
"args": [
"sprocguard==0.3.1",
"serve"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"sprocguard": {
"args": [
"sprocguard==0.3.1",
"serve"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.sprocguard]
command = "uvx"
args = ["sprocguard==0.3.1", "serve"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: inspect_procedure, suggest_cases, capture_baseline, verify_procedure, generate_tsqlt_tests, list_baselines.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json