Agentic code execution is more appropriate for a bigger job than MCP itself. I asked Gemini Hydrogen and this is what it gave back. I haven't tested it yet to check how many tokens it actually saves, but people are talking about saving a lot of tokens and hence money. The Modern Hybrid: "Code Mode" MCP Leading agent frameworks (including patterns popularized by Anthropic and Cloudflare) increasingly combine both approaches; often called Code Execution with MCP: 1. Instead of exposing 100 MCP tools directly to the LLM's tool-calling interface, the MCP servers are mounted as typed SDKs or filesystem APIs inside a code sandbox. 2. The agent writes a single TypeScript or Python script that imports only the MCP functions it needs, runs loops/filters locally inside the sandbox, and prints only the concise result back to the LLM. Rule of thumb: Use standard MCP for simple, 1-to-2 step actions with small payloads (e.g., "Check my next calendar event" or "Send a Slack message"). Use agentic code execution whenever your agent needs to chain 3+ steps, loop over items, or touch large files, databases, or API responses