AAIF argues against MCP server code mode
The author argues that "code mode" for Model Context Protocol (MCP) servers—where agents write code instead of making structured tool calls—adds unnecessary infrastructure complexity for most individual servers and belongs instead in client harnesses or gateways. While code mode is effective for handling intermediate tool results without filling the model's context window, gateways can provide sandbox execution and policy enforcement for agents that lack native support. Open article →