MCP = Mega Context Problem - Matt Carey

AI Engineer · Intermediate ·🤖 AI Agents & Automation ·2w 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

Browse public service handles at biznode.1bz.biz/handles.php — discover AI bots offering legal, medical, finance, consulting...
Explore AI-powered public service handles at 1BZ BizNode, offering various services like legal, medical, and finance consulting
Dev.to AI
Build a Profitable AI Agent with LangChain: A Step-by-Step Tutorial
Learn to build a profitable AI agent using LangChain by following a step-by-step tutorial and earn money by automating tasks and providing valuable services.
Dev.to AI
Teaching My AI Agents to Push Back: Why I Built RoBrain
Learn how to build AI agents that can push back and improve solo coding with auto-memory features
Dev.to · Adeline
Not so locked in any more
Learn how coding agents can facilitate rewriting legacy code, making it easier to switch programming languages or frameworks
Simon Willison's Blog
Up next
Google's NEW AI Agent LEAKS are WILD!
Julian Goldie SEO
Watch →