MCP = Mega Context Problem - Matt Carey

AI Engineer · Intermediate ·🤖 AI Agents & Automation ·3w ago
The best MCP server is the one you didn't have to build. At Cloudflare we have a lot of products. Our REST OpenAPI spec is over 2.3 million tokens. When teams started building MCP servers, they did what everyone does: cherry-picked important endpoints for their product, wrote some tool definitions and shipped a separate service that covered a small fraction of their API. This was driven by a fundamental context limit of the end users' agent. And tools use a bunch of context just to describe themselves. MCP felt like a Mega Context Problem (and a separate service to maintain). I think we got it all wrong. The context limit is not an MCP problem. It's an agent problem. Tools should probably be discovered on demand and clients are coming around to this. But maybe we can also do it on the server? CLIs get this for free, self-discoverable and documented by design. APIs just need a little help. This talk will cover some of the techniques we've been exploring at Cloudflare, such as codemode and tool search, to make complete APIs accessible to agents through MCP. I'll also cover some of the work we are doing with the MCP Typescript SDK to make stateless servers the default. Speaker info: - https://github.com/mattzcarey - https://www.linkedin.com/in/mattzcarey/ - https://x.com/mattzcarey
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

I Wrote a book for AI Scrum Masters. Here’s What’s Inside and Why I Built It.
Learn about a new book for AI Scrum Masters and its content, and understand how it can help in managing AI projects
Medium · Programming
Enterprise AI Architecture Trends in 2026: Multi-Agent Systems vs Single AI
Learn about the latest trends in Enterprise AI architecture, including the debate between multi-agent systems and single AI models
Medium · AI
AMRs in Indian warehouses: How 3PL and e-commerce firms can make automation work
Learn how Autonomous Mobile Robots (AMRs) can improve warehouse efficiency in India's growing e-commerce and logistics sector
Dev.to AI
SEARCH
Learn how AiFinPay SDK empowers AI agents with seamless financial integration, and how to apply it in your projects
Dev.to AI
Up next
How do I use custom user data with AL2023 Amazon EKS nodes?
Amazon Web Services
Watch →