# Anthropic Just Bought a Dev Tools Startup for 00M. Here's What Its Founder Told Me.
<!--
ref: @content/youtube/every-inc/2026-05-20-anthropic-bought-a-dev-tools-startup-founder
version: 3
updated_at: 2026-10-31T19:05:39.159Z
-->

Alex Rattray (Every Inc, 2026-05-20): Alex's framing is that APIs are the dendrites of the internet: the connections without which nothing computes.

*Synthesized from Dan Shipper on Every Inc, 2026-05-20.*

Dan Shipper interviews Alex Rattray, founder and CEO of Stainless — the roughly 50-person company that generates the SDKs behind many major APIs, including OpenAI's and Anthropic's — on why MCP is struggling and what replaces it.

## Core Thesis

Alex's framing is that APIs are the dendrites of the internet: the connections without which nothing computes. SDKs solved the problem of exposing an API ergonomically to a human developer, and MCP is the attempted equivalent for LLMs — but it isn't working, because the honest version of the vision requires exposing every endpoint of every SaaS tool a business uses, which instantly exhausts the context window and confuses the model. His proposed successor is code execution: give the model two tools instead of hundreds, let it write typed SDK code against the API in a sandbox, and return only the handful of lines that matter.

## Key Insights

- **The agentic vision, stated concretely.** Alex's worked example: a customer complains about socks he bought, so an employee opens the internal admin, hunts the Stripe dashboard for the right payment among many customers with the same first name, verifies the line items, issues a refund, creates a discount code, then logs into a separate SaaS app to email it. One task, five apps, fifteen clicks. The promise is typing that same sentence into a chat and having it done — and in a B2B version, the apps would be Salesforce and Slack instead.
- **Why naive MCP breaks.** Delivering that vision generally means the model needs everything the dashboard can do, which is roughly everything the API can do — and Stripe's API has **hundreds of endpoints**. Translating the OpenAPI spec straight into MCP tool definitions, with descriptions, request properties, response properties, and docs for each, costs on the order of **hundreds of thousands of tokens** before any work begins. It's beyond current context limits, a poor use of context that has other jobs to do, and simply too much for the model to hold coherently.
- **And the multiplication problem is worse than one API.** A given interaction might span five SaaS tools, and the next interaction a different five — so the ideal state exposes every tool the business uses, with every corner case, all at once.
- **We haven't solved LLM ergonomics the way we solved developer ergonomics.** Alex is direct that this is a live research problem, and harder than the SDK problem was, because you can go learn to be a Python developer but you can't learn to think like an LLM.
- **Design rules for MCP servers today**, in Alex's words: keep the number of tools low; make tool names and descriptions both precise *and* specific (Dan notes those pull against each other — Alex: good writing is hard); keep the input schema to a small number of concisely but sufficiently described parameters; and return the smallest possible response payload. The last is hardest because you don't know a priori what the model needs — Stainless's current technique is handing the model a **JQ filter** to shape the JSON it gets back.
- **Handcrafting beats mechanical wrapping.** The teams succeeding today aren't doing a one-to-one endpoint mapping; they're building specialized tools shaped to a task, like a single tool that looks up a customer and refunds their transaction from a description.
- **Three modes Stainless offers today.** Expose every endpoint as a tool (great for small APIs); expose a filtered subset; or **dynamic mode** — exactly three tools no matter how large the API: list endpoints, get endpoint details, execute endpoint. Dynamic mode scales context beautifully but costs **three model turns to do one thing**, making it slower and more expensive, with some performance loss because the tools aren't loaded the same way.
- **MCP has an unsolved feedback problem.** Server operators can't see whether a tool response was any good — whether the model could use it, whether the user liked it. Alex's idea is treating this as first class with an explicit **send-feedback tool**, so that when a user tells the chat the answer was garbage, the server actually learns it.
- **Evaluation is a matrix, not a test.** You have to evaluate across the clients people use (Cursor, Claude Code, others) and across the models underneath each, which multiplies out fast.
- **Alex uses MCP more for business than for coding:** Notion, HubSpot, Gong, and a read-only copy of the company's Postgres database — asking which interesting customers signed up last week, then cross-referencing HubSpot records, Notion notes, and Gong transcripts. He notes MCP servers still disconnect and need reconnecting, one of many paper cuts throttling usage.
- **The notes-repo practice.** Alex keeps a research/notes folder in a dedicated internal git repo and instructs Claude Code to write interesting customer quotes into it **with full citations** — so the next question doesn't require re-searching the MCP servers. He also stores SQL: for board prep he iterated with Claude Code on a month-over-month growth query, excluding certain users and adding filters until it told the right story, then dumped it into an analytics folder for reuse. He deliberately hasn't imposed structure on the repo yet — Claude Code handles unstructured content well, and he'll add structure when usage broadens past himself, one business teammate, and a couple of support engineers.
- **Support triage with Claude Code.** Stainless's support engineers are technical enough to fix incoming bugs but can't afford to sit in a debugger while the next ticket arrives, so they file the ticket and let Claude Code attempt the fix. Alex is candid about the hit rate: not 100%, and **not even 50%** — still experimental, but promising on overall efficiency.
- **"The future of AI is cyborgs."** Alex's thesis: what you talk to will be part neural net and part ordinary CPU code, and this shows up in two places — one-off operational tasks and production software.
- **Code execution, specified.** Instead of a bajillion tools, the model gets **two**: execute code (a text box where it writes TypeScript against the API's SDK — `stripe.customers`, `stripe.refunds.create`) and search/ask the docs. Models are very good at writing code and at extrapolating from patterns when the SDK and API are well-formed and predictable, so a short README with an example request goes a long way; anything it gets wrong on the first try gets answered from the documentation.
- **The context math is the whole argument.** Upfront cost drops to roughly **a thousand tokens or fewer**. The context cost of paginating through every transaction to find the right one is **zero** — the loops run in the sandbox, and only the final `console.log` of the matched customer ID, transaction ID, and refund ID comes back, perhaps **ten lines of text**. It also runs fast, because there's no model round trip per step and the code executes on a server sitting next to the API in AWS.
- **Static typing is the error-correction mechanism.** Without a typed library the model will construct wrong API requests some percentage of the time and hallucinate the shape of things. A code execution tool can run a type checker and tell the model that `stripe.transactions.list` doesn't exist, then offer payment intents, orders, or balance transactions — ideally returning inline documentation for each, or having a purpose-built sub-agent, well specified, always updated, and **unburdened by the full conversation's context**, suggest what the model probably meant.
- **Why not just have the model write code you run yourself?** Alex expects code execution to become the most widely used tool, but flags the blocker: LLMs handle libraries poorly — version confusion, hallucinated surfaces, no good recovery. Drop the library and you're on raw HTTP, which means loading the whole massive OpenAPI spec, and you're back at square one.
- **Security belongs at the API layer, not the MCP layer.** People currently try to be safe by limiting what's exposed via MCP, which is understandable but wrong-layered — under the hood anything in the API is reachable. Alex's answer is **OAuth with granular, properly scoped permissions**, while acknowledging OAuth scopes have limits and are hard to build, so someone making that easy would be valuable.
- **Sandbox egress is the other control.** Starting with a single API provider means the sandbox can be locked to allow **no outbound network connections except api.stripe.com** — which Alex calls critical — and expanded carefully from there toward a multi-integration environment that reaches Stripe and Salesforce but not everything.
- **One-off code becomes durable software.** The same setup that lets a model write code, run it, read the result, and continue should also let it recognize when a piece of that work is enduringly useful and commit it to the repo — which is what software teams do all day anyway. Dan's complement: chat is a great interface for exploring, but for something you check daily you just want a dashboard.
- **Dan's push on go-to-market risk.** He argues the products that get adopted are the ones willing to be reckless early: DALL·E stayed locked down while Stable Diffusion opened the gates and kicked off the image-generation wave; Claude Code shipped an industrious agent with a sandbox *and* a dangerously-skip-permissions escape hatch while Codex, first browser-bound and then built for pair programming, stayed locked out of things even in full-auto mode and fell behind until it loosened up. His ask: ship an individual-developer version of the code execution environment now, because AI-first adopters — not gigantic enterprises — are the ones actually building.
- **What Dan wants specifically:** a computer-use tool where *he* controls the environment, can install arbitrary libraries, and has network access, callable from his own product against whatever API it needs. Alex confirms Stainless is working on it, starting with API providers rather than API consumers.
- **The end state for "building tools."** Alex's prediction: once a code-execution super tool exists, building a tool means writing instructions and prompts — the full power of the underlying API is already present in the single tool, and the remaining engineering is describing specific task categories well enough for the model to sequence actions productively.

## Actionable Takeaways

1. Do not generate MCP tools one-to-one from your OpenAPI spec unless the API is small — a large API's spec translated directly consumes hundreds of thousands of tokens and degrades model performance even where it fits.
2. Design MCP tools around tasks, not endpoints: one tool that looks up a customer and refunds their transaction beats five primitives the model has to chain.
3. Trim response payloads aggressively; if you can't predict what the model needs, pass it a JQ filter so it shapes the JSON itself.
4. Use dynamic mode (list endpoints / get endpoint / execute endpoint) when API size is the binding constraint, and accept the tradeoff of three model turns per action.
5. Add an explicit feedback tool to your MCP server so the model or user can report that a response was unusable — otherwise your server is blind to its own quality.
6. Evaluate across the full matrix of clients and models your users will run, not just your own setup.
7. Enforce permissions with properly scoped OAuth at the API layer; restricting what MCP exposes is security theater since the underlying API remains reachable.
8. Lock the code-execution sandbox to a single allowed network destination and widen it deliberately; unconstrained egress is the failure mode.
9. Ship typed SDKs into the execution environment and run a type checker on generated code, returning inline docs for near-miss method names — this turns hallucinations into correctable errors instead of failed API calls.
10. Keep a git repo of AI-written, human-curated notes with full citations for customer quotes, plus an analytics folder of iterated SQL queries, so recurring questions (board prep especially) don't re-run expensive searches. Don't over-structure it before usage justifies the work.
11. For support engineering, let the agent attempt the fix on filed tickets rather than blocking on engineer time — even a sub-50% hit rate can pay off if triage stays cheap.

## Notable Quotes

> "APIs are the dendrites of the internet." — Alex Rattray

> "You've just burned through your entire context budget." — Alex Rattray

> "We haven't figured out how to expose an API ergonomically to an LLM." — Alex Rattray

> "I can't really learn how to go think or see like an LLM." — Alex Rattray

> "The future of AI is cyborgs." — Alex Rattray

> "At the end of the day I think the security has to take place at the API layer itself." — Alex Rattray

> "The things that get adopted are often the ones that are willing to take the risk to be yolo very early." — Dan Shipper

---

*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).*