v7.2.0
7.2.0 (2026-01-16)
Full Changelog: v7.1.1...v7.2.0
⚠ BREAKING CHANGES
- mcp: remove deprecated tool schemes
- mcp: Migration: To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just
node /path/to/mcp/serverornpx package-namewill invoke code tools: changing your command to one of these is likely all you will need to do.
Features
- api: add GetImageAttributesOptions and ResponsiveImageAttributes schemas; update resource references in main.yaml; remove dummy endpoint (9ea439a)
- api: Add saved extensions API and enhance transformation options (7916069)
- mcp: add detail field to docs search tool (f36d795)
- mcp: add typescript check to code execution tool (63ab735)
- mcp: enable optional code execution tool on http mcp servers (cc68e38)
- mcp: handle code mode calls in the Stainless API (eb22f08)
- mcp: return logs on code tool errors (6118fe4)
- saved-extensions: update example for creating saved extension to use AI tasks for fashion item categorization (79e535b)
- transformation: add colorReplace and distort transformations; update tests for new parameters (e59b5a7)
Bug Fixes
- add ai-tasks property to response schemas with enum values (370cf0f)
- docs: remove extraneous example object fields (a043056)
- mcp: add client instantiation options to code tool (967c8d9)
- mcpb: pin @anthropic-ai/mcpb version (d81e225)
- mcp: correct code tool API endpoint (f4d2b6c)
- mcp: correct code tool api output types (0371082)
- mcp: fix env parsing (b33b4e9)
- mcp: fix options parsing (de44ed6)
- mcp: pass base url to code tool (908fa87)
- mcp: return correct lines on typescript errors (aa7ae07)
- mcp: return tool execution error on api error (1e866f8)
- mcp: return tool execution error on jq failure (d1949db)
- mcp: update cloudflare worker host page (664a668)
- mcp: update code tool prompt (e3a5c5e)
Chores
- break long lines in snippets into multiline (011013e)
- client: fix logger property type (6269318)
- extract some types in mcp docs (de606ba)
- internal: bump MCP dependencies (7c9719e)
- internal: codegen related update (21edf78)
- internal: codegen related update (b42a623)
- internal: codegen related update (9c3b709)
- internal: codegen related update (1170954)
- internal: codegen related update (4b79947)
- internal: codegen related update (b6b0d1a)
- internal: codegen related update (26acc3a)
- internal: codegen related update (662aa87)
- internal: codegen related update (8c9026a)
- internal: grammar fix (it's -> its) (71e22a3)
- internal: upgrade babel, qs, js-yaml (6896958)
- internal: upgrade eslint (310bf0d)
- internal: use npm pack for build uploads (bdfd369)
- mcp code tool explicit error message when missing a run function (6678ee1)
- mcp: add friendlier MCP code tool errors on incorrect method invocations (636829d)
- mcp: add intent param to execute tool (fb2ca9e)
- mcp: add line numbers to code tool errors (25e4e59)
- mcp: clarify http auth error (00789ac)
- mcp: pass intent param to execute handler (ffd4b9f)
- mcp: remove deprecated tool schemes (b1a0e60)
- mcp: update lockfile (0703827)
- mcp: upgrade dependencies (7fcf371)
- mcp: upgrade jq-web (0750770)
- use latest @modelcontextprotocol/sdk (f7b9b4e)
- use structured error when code execution tool errors (451f306)
Documentation
- add MCP Server Package section to README with details on usage and versioning (5710576)
- mcp: add a README button for one-click add to Cursor (a7575d3)
- mcp: add a README link to add server to VS Code or Claude Code (2a90d28)
- prominently feature MCP server setup in root SDK readmes (80ce57e)
- remove MCP Server section from README (df32859)