Koskamo

LogCarverGuard MCP

A local MCP proxy server for SQL Server that acts as a guardrail for AI agents. It enforces statement blocking for dangerous commands like DROP or ALTER, supports an optional read-only mode, and maintains an audit log of executed statements. It runs locally via stdio, requiring only environment variables for configuration, and relies on the underlying SQL login's permissions for the primary security boundary.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

LogCarverGuard MCP logo, by caiderekCommunity listingLocal stdioSource reviewed; not executedPublished by caiderek
Vendor documentation

What you can do with it

  • Allow AI agents to execute safe SELECT queries in read-only mode
  • Block dangerous SQL statements like DROP TABLE or RESTORE DATABASE
  • Audit SQL statements executed by AI agents in a SQLite log

Source and maintenance

Community listingRegistry 0.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

LogCarverGuard.Local 0.1.0

nugetdnx
LogCarverGuard.Local package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "LogCarverGuard.Local",
  "runtimeHint": "dnx",
  "registryType": "nuget",
  "environmentVariables": [
    {
      "name": "LOGCARVERGUARD_CONNECTION_STRING",
      "format": "string",
      "isRequired": true,
      "description": "SQL Server connection string the statements run as. Example: Server=localhost;Database=MyDb;Integrated Security=true;TrustServerCertificate=true"
    },
    {
      "name": "LOGCARVERGUARD_READ_ONLY",
      "format": "string",
      "description": "Set to true to allow queries only (SELECT without INTO; remote sources such as OPENQUERY are blocked). Leave unset for the default guard rules."
    },
    {
      "name": "LOGCARVERGUARD_AUDIT_DB_PATH",
      "format": "string",
      "description": "Path of the audit log SQLite file. Defaults to LogCarverGuard/audit.db under the local application data folder."
    },
    {
      "name": "LOGCARVERGUARD_TRUNCATE_ALLOWLIST",
      "format": "string",
      "description": "Comma-separated schema.table entries where TRUNCATE TABLE is allowed. Empty means all TRUNCATE is blocked."
    },
    {
      "name": "LOGCARVERGUARD_EXEC_WHITELIST",
      "format": "string",
      "description": "Comma-separated schema.procedure entries that may be run with EXEC. Empty means all EXEC is blocked."
    },
    {
      "name": "LOGCARVERGUARD_ALTER_DROP_COLUMN_ALLOWLIST",
      "format": "string",
      "description": "Comma-separated schema.table entries where ALTER TABLE ... DROP COLUMN is allowed. Empty means it is blocked."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Let your agent find its tools

Find servers like LogCarverGuard MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.