LogCarverGuard MCP Server

Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.

Local serverstdio

What is the LogCarverGuard MCP Server?

LogCarverGuard is an MCP integration. Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.

Packages and local setup

The published nuget package is LogCarverGuard.Local, version 0.1.0. Its declared MCP transport is stdio.

The package declares LOGCARVERGUARD_CONNECTION_STRING (required): SQL Server connection string the statements run as. Example: Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=true; LOGCARVERGUARD_READ_ONLY: Set 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_PATH: Path of the audit log SQLite file. Defaults to LogCarverGuard/audit.db under the local application data folder.; LOGCARVERGUARD_TRUNCATE_ALLOWLIST: Comma-separated schema.table entries where TRUNCATE TABLE is allowed. Empty means all TRUNCATE is blocked.; LOGCARVERGUARD_EXEC_WHITELIST: Comma-separated schema.procedure entries that may be run with EXEC. Empty means all EXEC is blocked.; LOGCARVERGUARD_ALTER_DROP_COLUMN_ALLOWLIST: Comma-separated schema.table entries where ALTER TABLE ... DROP COLUMN is allowed. Empty means it is blocked..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 0.1.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related databases MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
LOGCARVERGUARD_CONNECTION_STRINGSQL Server connection string the statements run as. Example: Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=trueYes
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.Check documentation
LOGCARVERGUARD_AUDIT_DB_PATHPath of the audit log SQLite file. Defaults to LogCarverGuard/audit.db under the local application data folder.Check documentation
LOGCARVERGUARD_TRUNCATE_ALLOWLISTComma-separated schema.table entries where TRUNCATE TABLE is allowed. Empty means all TRUNCATE is blocked.Check documentation
LOGCARVERGUARD_EXEC_WHITELISTComma-separated schema.procedure entries that may be run with EXEC. Empty means all EXEC is blocked.Check documentation
LOGCARVERGUARD_ALTER_DROP_COLUMN_ALLOWLISTComma-separated schema.table entries where ALTER TABLE ... DROP COLUMN is allowed. Empty means it is blocked.Check documentation