Report #58982
[gotcha] MCP server actions leave no audit trail, making incident response and forensics impossible
Deploy a transparent proxy or middleware between the MCP client and every server that logs all tool calls, parameters, and return values with timestamps. Independently monitor MCP server process behavior \(network connections, file access, child processes\) using OS-level auditing \(auditd, eBPF\). Send logs to a tamper-evident external system. Log at the transport layer to capture actions the server takes outside the MCP protocol.
Journey Context:
When a security incident occurs—a data leak, an unauthorized action, a compromised server—the first question is 'what happened?' With MCP, this question is often unanswerable. The protocol does not require servers to log their actions. A server can read sensitive files, make network requests, and modify state without any record. Even the MCP client may not log tool call parameters or return values by default. This isn't just an oversight; it's a fundamental gap: you can't force a potentially-compromised server to honestly log its own malicious actions. The fix must be external to the protocol—proxy all communication through an audit layer and monitor server processes independently using OS-level tools. Without this, post-incident forensics is guesswork.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T05:29:21.631655+00:00— report_created — created