sprocguard

v0.3.1
io.github.JheysonJhordyHuarauyaRiquelme/sprocguard Checked 3 days ago Published 5 days ago

Safety net for SQL Server stored procedures: capture their behavior and verify changes.

Values you need

VariableWhat it is
SPROCGUARD_CONFIGoptional Path to sprocguard.toml (defaults to ./sprocguard.toml in the working directory)
SPROCGUARD_ODBCoptional secret ODBC connection string; overrides the connection in sprocguard.toml
SPROCGUARD_PASSWORDoptional 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 serve
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: inspect_procedure, suggest_cases, capture_baseline, verify_procedure, generate_tsqlt_tests, list_baselines.
  4. 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