LogCarverGuard
Guardrail for AI agents on SQL Server: statement blocking, optional read-only mode and an audit log.
Open the source (opens github.com) https://github.com/caiderek/logcarverguard
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: LOGCARVERGUARD_CONNECTION_STRING. Use a key with the least access you can.
What it is
MCP servers from io.github.caiderek.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
nuget package (stdio)
LogCarverGuard.Local@0.1.0
From the server's entry in the official MCP Registry
Settings it asks for
LOGCARVERGUARD_CONNECTION_STRINGsecret required · SQL Server connection string the statements run as. Example: Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=trueLOGCARVERGUARD_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.
Related
-
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
Official MCP Registry
MCP serversThe MCP project's own registry of public MCP servers, so you can look for a connector before building one.
-
MCP reference servers
MCP serversSmall example servers from the MCP project (filesystem, git, fetch, memory and more) that show how MCP works.
-
Connect MCP servers to Claude Code
MCP serversAnthropic's guide to adding MCP servers to Claude Code, with examples of local and remote servers.
-
Playwright MCP
MCP serversLets an agent drive a real browser: open pages, click, fill in forms and read what's on screen.
claude mcp add playwright npx @playwright/mcp@latest