Skip to content
Get Saturday's email
MCP & Agent StandardsWritten for the boardroom

Code Mode MCP: Overkill for Servers, Essential for Gateways - Agentic AI Foundation (AAIF)

Agentic AI Foundation (AAIF) says code mode suits gateways and agent harnesses better than individual MCP servers.

  • AAIF says a code mode server adds sandboxing, monitoring and governance work that most server providers should not take on.
  • Clients and harnesses now offer tool search, so a search layer inside a server can interfere with discovery, according to OpenAI's Max Stoiber.
  • Code mode helps most when results are large, such as copying thousands of CRM records, because the data never passes through the model.
  • AAIF added code mode to its gateway since agents on raw model APIs or custom runtimes often lack both tool search and code mode.

Why it matters: If your agents run on raw model APIs or custom runtimes, a gateway may be the better place to add tool search and code mode than each server.

Read the original at aaif.io ↗ (opens in a new tab)Saturday Admin links to the source rather than copying it.
  • news
  • topic-search

Related reading