# "MCP Servers Teaching AI to Use the Internet Like Humans" <!-- ref: @content/youtube/every-inc/2025-10-01-mcp-servers-teaching-ai-to-use-the-internet-like-h triggers: [AI struggles with API limits, context window issues, need for secure interactions, inefficient tool usage] trigger_prompt: When developers seek to enhance AI's ability to interact with web services in a more intuitive and efficient manner, especially in light of context limitations and security concerns. version: 4 updated_at: 2026-10-31T18:32:36.773Z --> From Every Inc, 2025-10-01: The internet was architected for computer-to-computer communication, not AI agents — so a new interface layer is needed. Dan Shipper interviews Alex Ratray, founder/CEO of Stainless — the company that auto-generates SDKs for OpenAI, Anthropic, and other AI labs, and is now extending that work into MCP server generation. ## Core Thesis The internet was architected for computer-to-computer communication, not AI agents — so a new interface layer is needed. MCP (Model Context Protocol) is the first attempt at that layer, but naive 1:1 mappings of REST APIs to MCP tools fail under context-window limits, security risks, and ergonomic mismatch with how LLMs think. The likely future is **code execution as a "super tool"**: models write code against typed SDKs in scoped sandboxes, with security enforced at the API layer via OAuth scopes — and the companies that figure this out first will define the next decade. ## Key Insights - **Three modes of computer interaction**: humans → UIs, computers → APIs, LLMs → MCP. APIs are "the dendrites of the internet"; MCP is the new connective tissue for a new class of actor. - **1:1 API-to-MCP mapping doesn't scale**: dumping a full OpenAPI spec (e.g., Stripe) burns hundreds of thousands of tokens on tool definitions before any work begins, and overwhelms the model cognitively. - **Three core obstacles to MCP**: context window limits, security/permissions risk (AI "coloring outside the lines"), and ergonomic mismatch — designing for LLM cognition is an unsolved research problem because you can't learn to "think like an LLM" the way you can learn Python. - **Three Stainless modes for MCP servers**: full exposure (small APIs), filtered subset, and **dynamic mode** — only 3 tools (`list_endpoints`, `get_endpoint`, `execute_endpoint`) regardless of API size, trading latency/cost for scalability. - **Good MCP tool design principles**: keep the tool count small; tool names/descriptions must be both precise AND specific; use small input schemas and targeted response data; let models trim JSON via `jq` filters. - **Feedback is a black box**: MCP servers don't learn whether their responses were useful. A first-class `send_feedback` tool would close the loop when users say "that was useless garbage." - **The MCP killer use case is the business side, not coding**: chaining Notion + HubSpot + Gong + a read-only Postgres replica to answer "what are the interesting customers that signed up last week?" - **Code execution will become the most-used tool**: tiny upfront context (~1000 tokens), pagination doesn't bloat context (only the final result returns), and execution runs CPU-side near the API. - **Typed SDKs + type-checking are the safety net** against LLMs hallucinating API surfaces (`stripe.transactions.list` doesn't exist — suggest `payment_intents`, `orders`, `balance_transactions` instead). - **Security belongs at the API layer**, not the MCP tool layer. OAuth with granular scopes + network-isolated sandboxes (e.g., only `api.stripe.com` reachable) is the right architecture. - **Cyborg AI architecture**: future agents are part LLM + part deterministic code, not pure neural nets making tool calls. The "super tool" pattern collapses traditional tool-building into prompt engineering. - **Industriousness beats guardrails for adoption**: Claude Code's `--dangerously-skip-permissions` "YOLO mode" outpaced Codex's locked-down pair-programming design. Mid-sized builders, not enterprises, are driving AI-first adoption today. - **AI-curated knowledge repo pattern**: AI writes findings to disk as cited markdown, you curate, AI reads back — a persistent disk-backed cache of distilled insights, far cheaper than re-querying MCP servers. ## Actionable Takeaways 1. **Treat MCP as a product surface, not a protocol auto-wrap.** Handcraft tools around model ergonomics and user intent — don't translate OpenAPI specs 1:1. 2. **Budget context like money.** Tool definitions compete with task reasoning for finite tokens; pre-filter and pre-aggregate server-side instead of forcing pagination chains. 3. **Build a `send_feedback` tool into every MCP server from day one** so user dissatisfaction becomes a learnable signal. 4. **Prefer code execution over tool proliferation.** Give the model a typed SDK and a docs-search tool rather than enumerating dozens of primitives. 5. **Maintain a dedicated git knowledge repo** (e.g., `notes/` or `research/`) where Claude Code writes cited findings as markdown. Defer structure until usage broadens. 6. **Save iteratively-refined SQL queries** to an `analytics/` folder for board prep and recurring analyses — don't re-derive business filters every time. 7. **Try Claude Code as first responder on bug tickets** even at 30–50% success rates; the throughput gain frees support engineers from being stuck in the debugger. 8. **Enforce security via OAuth scopes and network-isolated sandboxes**, not by restricting MCP surface area. 9. **Detect when a one-off AI task becomes recurring** and commit it to the repo as durable software — chat is for exploration, dashboards are for repeats. 10. **Bias toward permissive/YOLO defaults early.** Stable Diffusion beat DALL-E to category dominance through openness; cautious rollouts lose to adoption. ## Notable Quotes > "The software companies that learn how to do MCP well are going to win over the next decade." > "APIs are the dendrites of the internet." > "A new computer has entered the chat." > "Everyone listening to this should already know — you've just burned through your entire context budget." > "I can go learn how to be a Python developer if I want. I can't really learn how to go think or see like an LLM." > "With too much hay, we all kind of end up throwing up our hands — and that's true for LLMs too." > "I expect that the code execution tool is going to become the most widely used tool." > "At the end of the day, the security has to take place at the API layer itself." > "Cloud code was just like fuck it. Like YOLO mode. It's super industrious." > "The things that get adopted are often the ones that are willing to take the risk to be YOLO very early." --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*