LogCarverGuard
by github.com/caiderek · v0.1.0 · updated Oct 12, 2026
Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.
Run it locally
Install the package and point your AI client at it.
NuGet
dnx LogCarverGuard.Local --yesEnvironment variables
LOGCARVERGUARD_CONNECTION_STRINGrequiredsecretSQL Server connection string the statements run as. Example: Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=true
LOGCARVERGUARD_READ_ONLYSet to true to allow queries only (SELECT without INTO; remote sources such as OPENQUERY are blocked). Leave unset for the default guard rules.
LOGCARVERGUARD_AUDIT_DB_PATHPath of the audit log SQLite file. Defaults to LogCarverGuard/audit.db under the local application data folder.
LOGCARVERGUARD_TRUNCATE_ALLOWLISTComma-separated schema.table entries where TRUNCATE TABLE is allowed. Empty means all TRUNCATE is blocked.
LOGCARVERGUARD_EXEC_WHITELISTComma-separated schema.procedure entries that may be run with EXEC. Empty means all EXEC is blocked.
LOGCARVERGUARD_ALTER_DROP_COLUMN_ALLOWLISTComma-separated schema.table entries where ALTER TABLE ... DROP COLUMN is allowed. Empty means it is blocked.
More from github.com/caiderek
More MCP servers
CAI MCP
github.com/cailab-hk
CAI MCP server — gives AI agents a custodial wallet, @cai.com email, and vault.
Painel Sintético Concorde
github.com/caio-sartoratto
787 personas sintéticas do consumidor bancário brasileiro para discovery de produtos.
x402check
github.com/caiovicentino
Risk-check counterparties before an AI agent pays; pay x402 resources only after a verified allow
Cairn Commons
github.com/cairncommons
Checked dependency-bug records: look an error up, check versions before installing.
Cairn Commons (read-only)
github.com/cairncommons
Read-only: look up checked dependency bugs and check versions before installing. No account.
Creditsync
github.com/calademos
Track credit card benefits, welcome offers, loyalty points, and money deadlines. No bank login.