In a recent presentation, Tun Shwe, AI Lead at Lenses, and Jeremy Frenay, an AI Engineer at Lenses, discussed the critical security considerations for building robust agentic AI systems. They highlighted the inherent challenges in designing and deploying MCP (Model Context Protocol) servers, emphasizing that security must be a foundational element, not an afterthought.
Meet the Experts
Tun Shwe, as AI Lead at Lenses, brings a wealth of experience in guiding the development of AI-driven solutions. Jeremy Frenay, an AI Engineer at Lenses, focuses on the practical implementation of these systems. Their combined expertise provides a deep dive into the technical and security aspects of agentic AI.
Why Most MCP Servers Aren't Great (And Why That Is Dangerous)
Shwe kicked off the discussion by pointing out that agents deserve purpose-built interfaces, not just a standard REST API in disguise. He stressed that a poorly designed MCP server is inherently insecure. "A badly designed MCP server is also a badly secured one," Shwe stated. Agents differ from humans in several key dimensions, each with a security implication, or "security shadow."
The first dimension is discovery. For humans, discovering tools is easy, but for agents, it's expensive. Agents must enumerate every tool on every handshake, consuming valuable tokens. This process itself is a surface for tool poisoning, where malicious instructions can be embedded in tool descriptions and executed by the model. Shwe emphasized that every tool exposed is a potential door that needs to be secured.
The second dimension is iteration. For humans, iteration is fast. For agents, every call sends the full conversation history over the wire, which can be slow and a chance for data leakage. If a script fails, re-running it sends the entire history again. This means each round trip is a chance for sensitive data to be exposed.
