ChatGPT quietly adds Code Mode: JS orchestration for MCP calls without filling the context window

firasd · x · 2026-11-18

A user noticed ChatGPT has quietly added a "Code Mode" for MCP tool calls: instead of pulling every tool result into the context window (or spinning up a full Linux container), the model writes JavaScript as an orchestration layer around MCP tools. Screenshots show calculations running in the JS environment with only results passed to tools, batch operations like .map()/.filter()/Promise.all() over MCP data (e.g. reading 100 table rows), and ChatGPT abstracting away MCP transport, auth, and token handling — echoing Anthropic's recent guidance on simplifying MCP credential use.

Original post →

More from coding & agent

coding & agent channel →