MCP on Code Mode (Interview)
This week I’m talking with Matt Carey about Code Mode and how most of us have been thinking about MCP all wrong. Matt works on the Agents SDK and MCP at Cloudflare — we discuss how server-side Code Mode lets one MCP server expose all ~2,500 Cloudflare API endpoints in about 1,000 tokens of context, the dynamic Worker loader that runs model-written code safely in a V8 isolate, Matt’s own workflow with Claude, where memory fits into the future of agents, and his Zaggy git wrapper that keeps agents from force-pushing his repos.
Changelog++ members save 9 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
- Coder.com – Secure environments where devs and agents work in parallel. Open by design. Secure by default.
- Tailscale – Adam loves Tailscale! Easy, secure, identity-based access to anything. Tailscale deploys quickly and enables Zero Trust access to any resource on your network. From CI/CD runners across multi-cloud environments, to SaaS tools and infrastructure, Tailscale connects it all, seamlessly.
- RWX – CI/CD platform for high velocity teams. When agents help developers write code in minutes, validation becomes your bottleneck. RWX gives agents programmatic control, sub-second cached builds, and semantic outputs they can act on. No commit required. Just iterate until CI passes, then push.
- Fly.io – The home of Changelog.com — Deploy your apps close to your users — global Anycast load-balancing, zero-configuration private networking, hardware isolation, and instant WireGuard VPN connections. Push-button deployments that scale to thousands of instances. Check out the speedrun to get started in minutes.
Featuring:
Show Notes:
Featured
- Matt Carey on the Cloudflare blog
- You’ve Been a Bad Agent
- Cloudflare
- Code Mode: give agents an entire API in 1,000 tokens
- Code Mode: the better way to use MCP
- Cloudflare MCP Server
- Cloudflare Agents SDK
- Cloudflare Agents SDK on GitHub
Cloudflare platform
MCP and code-mode references
- Model Context Protocol
- Introducing the Model Context Protocol
- Code execution with MCP
- CodeAct paper
- GitHub MCP Server
- Datadog MCP Server
- Pydantic Monty
Coding agents and tools
Agent memory and personal AI
Homelab and infrastructure
Something missing or broken? PRs welcome!