Skip to content

SDK

<Section title="What an SDK does here">An SDK (Software Development Kit) is a package that gives developers a convenient way to interface with an API. Alex Rattray's example: instead of hand-writing HTTP requests, you type pip install stripe and get a ready-made client library. [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@536]</Section><Section title="The MCP analogy">Rattray frames MCP by analogy to SDKs: SDKs give developers an easy way to interface with an API — so what gives LLMs an easy way to do the same? MCP is his obvious answer, though as it rolls out it "isn't working so great." [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@536]</Section><Section title="Where SDKs show up next: code execution">The emerging alternative to exposing hundreds of MCP tools is code execution: the model gets one tool to run TypeScript against the API's SDK and one to search its docs. Finding a customer among paginated transactions becomes nested loops running server-side — about ten lines of context, roughly 1,000 tokens up front, no round trip to the model per step. This only works because the SDK is statically typed: a type checker catches hallucinated method calls in real time and returns relevant docs inline. [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@2142] [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@2398]</Section><KeyPoints> - An SDK is the developer-facing wrapper around an API (pip install stripe). [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@536] - Rattray uses SDKs to explain why MCP exists: it is, in effect, an SDK for LLMs. [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@536] - In the code-execution pattern, agents run code against typed SDKs instead of clicking through many tools. [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@2142] - Static typing in the SDK catches hallucinated calls and guards against errors. [^913c216d-5ccb-51d9-8f42-8feb7c017d9d@2398] </KeyPoints>

glossary term

Ready

Loading…

2 min read