Otto Support - Logging and Visibility in MCP Servers

· Source: Bishop Fox - Bishopfox.com · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy, Robotics & Autonomous Systems · Depth: Intermediate, medium

Summary

The "otto-support" tool, designed for Model Context Protocol (MCP) servers, highlights critical logging and visibility gaps by providing both a minimal and a comprehensive audit log for comparison. This demonstration follows a series on five attack classes, including SSRF and prompt injection, which often leave no distinct traces in standard MCP logs. A 2026 industry survey revealed 88% of organizations experienced AI agent security incidents, yet only 24.4% had full visibility. The EchoLeak case (CVE-2025-32711, CVSS 9.3) in June 2025 exemplified this, where Microsoft 365 Copilot exfiltrated data, but logs appeared routine. The EU AI Act, effective August 2026, will mandate structured audit trails for high-risk AI systems, making robust MCP logging a compliance necessity. The article contrasts "minimal.log" with "audit.log" in "otto-support", showing how detailed logs capture internal calls, destination types, and response digests, crucial for incident response. It also notes remaining blind spots like debug tool logs and plaintext password files.

Key takeaway

For MLOps Engineers or AI Architects deploying Model Context Protocol (MCP) servers, you must prioritize implementing comprehensive, structured audit logging. Standard access logs are inadequate for detecting sophisticated agent-based attacks like SSRF or prompt injection, as demonstrated by CVE-2025-32711. Ensure your logging captures full tool invocation context, outbound request details, and response content, shipping these to a centralized SIEM. This proactive approach is crucial for incident response, compliance with upcoming regulations like the EU AI Act, and mitigating the significant "confidence-visibility gap" in AI agent security.

Key insights

MCP server security critically depends on comprehensive, structured logging to detect sophisticated agent-based attacks and meet regulatory demands.

Principles

Method

Implement structured audit logging via request hooks and tool middleware, capturing full context including outbound request details, destination class, and response content classification. Ship logs to a centralized SIEM.

In practice

Topics

Best for: AI Security Engineer, MLOps Engineer, AI Architect

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Bishop Fox - Bishopfox.com.