Report #7309
[gotcha] No audit trail for MCP tool calls — security incidents are undetectable and uninvestigable
Implement structured audit logging for every tool call: timestamp, server identity, tool name, arguments \(with PII and secrets redacted\), response metadata, and the LLM reasoning chain that triggered the call. Feed logs into a SIEM. Set up anomaly detection for unusual tool call patterns \(e.g., sudden file reads, unexpected server combinations\).
Journey Context:
MCP client implementations prioritize functionality over observability. The protocol does not mandate logging, and most SDKs emit minimal telemetry. When a tool poisoning or injection attack occurs, there is no record of which tools were called, what arguments were passed, or what data was exfiltrated. Without audit logs, you cannot detect ongoing attacks, perform forensic analysis, or demonstrate compliance. The absence of logging is itself a vulnerability — it converts detectable incidents into silent breaches.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T02:19:24.256381+00:00— report_created — created