SDK code mode is an MCP server design which gives a model two tools:
search_docs- given a search string, return relevant documentation content for API usage as directed.execute- enables the model to make API requests with an authenticated SDK client.
Using a typed SDK enables agents to operate an API using fewer tokens over fewer turns. It also enables coding agents to generate accurate integration code for APIs in the context of larger projects.
- GitHub MCP server configuration
- Anthropic - Code execution for MCP
- Cloudflare - Code mode (w/ OAS)
- Stainless - SDK code mode
DevRel and marketing @ Stainless. Formerly DX and API platform team at OpenAI. DX at Deno, Retool, and Twilio.