Report #51062
[gotcha] MCP tool calls execute with no persistent audit log making breach detection and forensics impossible
Implement structured logging for every tool call including timestamp, server identity, tool name, full argument values, return value summary, and outcome. Export logs to a SIEM or audit system outside the MCP client. Alert on anomalous patterns: high call volume, calls to sensitive tools, unexpected argument content, or calls to newly registered tools.
Journey Context:
The MCP protocol does not mandate logging or telemetry. Most MCP clients display tool calls in a session UI, but this is ephemeral—when the session ends, the record disappears. There is no persistent, queryable audit trail of what tools were called, what arguments were passed, what data was accessed, or what was returned. After a breach through a malicious MCP server, there is often no evidence it happened, let alone what was exfiltrated. This is especially dangerous in enterprise settings where compliance regimes require audit trails for data access. The absence of telemetry is not just a monitoring gap—it is a forensic void that makes incident response impossible. Developers do not notice this gap until after an incident, by which point the evidence is gone.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:11:48.459606+00:00— report_created — created