Skip to content

Audit Trail

Chris edited this page Jul 18, 2026 · 88 revisions

Secure Your Audit Trail

Tools Resources Prompts
OAuth Code Mode

Value Proposition Automate compliance workflows and enforce strict data governance with end-to-end visibility audit tracking. Capture pre-mutation snapshots to ensure end-to-end visibility into agent actions, seamlessly bridging AI autonomy with rigorous organizational security requirements.

⚙️ Automate Compliance & Governance

Deliver strict data governance and streamline compliance workflows with our robust, automated audit tracking. Ensure complete operational visibility across all AI database interactions by capturing granular pre-mutation snapshots—empowering autonomous agents without sacrificing security.

Configure by passing the following flags during server initialization:

  • --audit-log <path>: Enables the audit log and specifies the file path (e.g., --audit-log /var/log/mcp-audit.jsonl).
  • --audit-backup: Enables pre-mutation snapshots for DML changes.
  • --audit-reads: Includes read-scope tool calls (like SELECTs) in the audit log.
  • --audit-redact: Automatically redacts sensitive parameters from the JSONL output.
  • --audit-log-max-size: Maximum size for the audit log file. Reaching this maximum triggers automatic log rotation.
  • --audit-backup-data: Includes the original row data in pre-mutation snapshots.
  • --audit-backup-max-size: Maximum table size in bytes for data capture.

See the Configuration guide for all audit options, including size limits and the redaction toggle.

Note

V8 isolate internal data mutations (Code Mode) are not captured by the audit log; only database queries executed from the isolate are logged.

  • Resourcesmysql://audit resource details
  • Code Mode — Native V8 isolate
  • Tools — Full tool list with scope groups

MySQL MCP Documentation

Value Proposition Enforce strict execution boundaries and maximize LLM context efficiency for secure, autonomous database interactions. Read the full value proposition

🏠 Home


Launch Your Setup


Connect Ecosystem Tools


Security & Compliance


Scale Your Operations


Explore External Links

Clone this wiki locally