Report #98893
[gotcha] MCP tool calls often leave no immutable audit trail, so you cannot reconstruct what the agent did or exfiltrated
Log every tool invocation with timestamp, server, tool name, arguments \(sanitized\), result metadata, and user approval state to an immutable store outside the agent's control. Include context-window snapshots for incident response, not just console output.
Journey Context:
Agents can make dozens of tool calls per task across multiple servers, but default logging is often limited to a client UI or absent entirely. Without a tamper-resistant record, you cannot detect unauthorized access, prove compliance, or respond to incidents. OWASP MCP08 calls this out explicitly as lack of audit and telemetry. The gotcha is that building observability after an incident is usually impossible because the context is gone.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T04:57:23.052948+00:00— report_created — created