Code Mode MCP server
Code Mode MCP keeps the same MCP servers but changes how an agent uses them: instead of calling tools one by one, the model writes a small program that calls the tools, and that program runs in a sandbox. The payoff is far fewer tokens on tool-heavy tasks — Anthropic reported one workflow dropping from about 150,000 to 2,000 tokens.