Skip to content

release: 0.32.0#57

Open
stainless-app[bot] wants to merge 5 commits intomainfrom
release-please--branches--main--changes--next--components--brand.dev
Open

release: 0.32.0#57
stainless-app[bot] wants to merge 5 commits intomainfrom
release-please--branches--main--changes--next--components--brand.dev

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Mar 26, 2026

Automated Release PR

0.32.0 (2026-03-27)

Full Changelog: v0.31.0...v0.32.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/server or npx package-name will invoke code tools: changing your command to one of these is likely all you will need to do.

Features

Bug Fixes

  • ci: set permissions for DXT publish action (1020169)
  • client: avoid memory leak with abort signals (60a5820)
  • client: avoid removing abort listener too early (18599b7)
  • client: preserve URL params already embedded in path (1d7e6f0)
  • coerce nullable values to undefined (7e219a5)
  • docs/contributing: correct pnpm link command (981d7b2)
  • docs: fix mcp installation instructions for remote servers (9360478)
  • mcp: add client instantiation options to code tool (01fa9d6)
  • mcp: allow falling back for required env variables (09dab63)
  • mcpb: pin @anthropic-ai/mcpb version (9988475)
  • mcp: correct code tool API endpoint (7d49b3d)
  • mcp: correct code tool api output types (71f2de2)
  • mcp: fix cli argument parsing logic (4d93d5a)
  • mcp: fix env parsing (f4e7c3b)
  • mcp: fix options parsing (61485b9)
  • mcp: fix query options parsing (661f292)
  • mcp: fix uploading dxt release assets (9f0931e)
  • mcp: initialize SDK lazily to avoid failing the connection on init errors (4af627a)
  • mcp: pass base url to code tool (bdae9f2)
  • mcp: resolve a linting issue in server code (c5cc506)
  • mcp: return correct lines on typescript errors (2e33418)
  • mcp: return tool execution error on api error (5d28f60)
  • mcp: return tool execution error on jq failure (3bea425)
  • mcp: update code tool prompt (d999ce6)
  • mcp: update prompt (e317027)

Performance Improvements

Chores

  • add package to package.json (f4afc21)
  • break long lines in snippets into multiline (1e60c3c)
  • ci build action (c14bc35)
  • ci: skip uploading artifacts on stainless-internal branches (7ffeb53)
  • ci: upgrade actions/github-script (b854ab5)
  • client: do not parse responses with empty content-length (00c1b99)
  • client: fix logger property type (27049b0)
  • client: qualify global Blob (e01d45a)
  • client: restructure abort controller binding (8dcedeb)
  • codegen: internal codegen update (8e46689)
  • deps: update dependency @types/node to v20.17.58 (bc313d7)
  • do not install brew dependencies in ./scripts/bootstrap by default (b07f40c)
  • extract some types in mcp docs (3b8f61b)
  • internal/client: fix form-urlencoded requests (db0e168)
  • internal: add health check to MCP server when running in HTTP mode (66562a1)
  • internal: allow basic filtering of methods allowed for MCP code mode (92dfaab)
  • internal: allow setting x-stainless-api-key header on mcp server requests (9c7a5bd)
  • internal: always generate MCP server dockerfiles and upgrade associated dependencies (1971c44)
  • internal: avoid type checking errors with ts-reset (a125dbb)
  • internal: bump @modelcontextprotocol/sdk, @hono/node-server, and minimatch (ad5e1fb)
  • internal: cache fetch instruction calls in MCP server (226aabb)
  • internal: codegen related update (836c5e9)
  • internal: codegen related update (aa92d3f)
  • internal: codegen related update (b0805b6)
  • internal: codegen related update (f93b56c)
  • internal: codegen related update (97b7fbd)
  • internal: codegen related update (bef7684)
  • internal: codegen related update (bd51f18)
  • internal: codegen related update (9c16793)
  • internal: codegen related update (9c2662d)
  • internal: codegen related update (b2a195b)
  • internal: codegen related update (f6f2b96)
  • internal: codegen related update (1c0857f)
  • internal: codegen related update (ccf944b)
  • internal: codegen related update (29a572a)
  • internal: codegen related update (d0588aa)
  • internal: codegen related update (3839f68)
  • internal: codegen related update (388e0d3)
  • internal: configure MCP Server hosting (6fbd477)
  • internal: fix dockerfile (f30592f)
  • internal: fix incremental formatting in some cases (e27e1ef)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (8fa9017)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (aafcf3e)
  • internal: formatting change (62a8d7d)
  • internal: gitignore .mcpb files (c6ed0ce)
  • internal: grammar fix (it's -> its) (edaf715)
  • internal: ignore .eslintcache (2b752fe)
  • internal: improve layout of generated MCP server files (d86325e)
  • internal: make generated MCP servers compatible with Cloudflare worker environments (57daae2)
  • internal: make MCP code execution location configurable via a flag (96b1198)
  • internal: make mcp-server publishing public by defaut (90b04c8)
  • internal: move stringifyQuery implementation to internal function (a5e1a07)
  • internal: refactor array check (d999332)
  • internal: refactor flag parsing for MCP servers and add debug flag (fc3bcca)
  • internal: remove .eslintcache (506f8c0)
  • internal: remove deprecated compilerOptions.baseUrl from tsconfig.json (9f8d8e2)
  • internal: remove mock server code (218d173)
  • internal: support custom-instructions-path flag in MCP servers (d52b173)
  • internal: support oauth authorization code flow for MCP servers (55744a2)
  • internal: support x-stainless-mcp-client-envs header in MCP servers (882dbe9)
  • internal: support x-stainless-mcp-client-permissions headers in MCP servers (e167d33)
  • internal: tweak CI branches (7143eb4)
  • internal: update actions/checkout version (a3dfca1)
  • internal: update dependencies to address dependabot vulnerabilities (061f98b)
  • internal: update global Error reference (fa20dfd)
  • internal: update lock file (d8e108e)
  • internal: upgrade @modelcontextprotocol/sdk and hono (7fa1714)
  • internal: upgrade babel, qs, js-yaml (2da1738)
  • internal: upgrade eslint (55ddd1d)
  • internal: use npm pack for build uploads (baeea68)
  • internal: use x-stainless-mcp-client-envs header for MCP remote code tool calls (4ef071f)
  • jsdoc: fix @link annotations to refer only to parts of the package‘s public interface (b74deb8)
  • mcp code tool explicit error message when missing a run function (e08bfb8)
  • mcp-server: improve instructions (8c60a40)
  • mcp-server: return access instructions for 404 without API key (476d055)
  • mcp: add cors to oauth metadata route (c03f17a)
  • mcp: add friendlier MCP code tool errors on incorrect method invocations (275e44b)
  • mcp: add intent param to execute tool (2ec26d8)
  • mcp: add line numbers to code tool errors (f118d75)
  • mcp: allow pointing docs_search tool at other URLs (af8c410)
  • mcp: clarify http auth error (266ea4b)
  • mcp: correctly update version in sync with sdk (ba9fe6a)
  • mcp: document remote server in README.md (8265fa8)
  • mcp: forward STAINLESS_API_KEY to docs search endpoint (949d9d8)
  • mcp: minor cleanup of types and package.json (fa6eb07)
  • mcp: pass intent param to execute handler (0062abc)
  • mcp: remove deprecated tool schemes (bba3e8f)
  • mcp: rename dxt to mcpb (42531d2)
  • mcp: up tsconfig lib version to es2022 (ee9e681)
  • mcp: update lockfile (d33ad7d)
  • mcp: update package.json (078179f)
  • mcp: update README (025b597)
  • mcp: update types (a57d2fc)
  • mcp: upgrade dependencies (b376c8e)
  • mcp: upgrade jq-web (f190a40)
  • mcp: upload dxt as release asset (4142308)
  • remove custom code (d69096b)
  • sync repo (d219f7c)
  • sync repo (0a626d0)
  • update CI script (a9b3ce6)
  • update lockfile (e3498ad)
  • update mock server docs (6ca1d31)
  • update SDK settings (87c9b76)
  • update SDK settings (74cf28e)
  • update SDK settings (db1a89d)
  • update SDK settings (86a0acb)
  • update SDK settings (79bd245)
  • update SDK settings (fe5df57)
  • update SDK settings (71dabdf)
  • update SDK settings (be59136)
  • update SDK settings (8df9c93)
  • use latest @modelcontextprotocol/sdk (2d6174d)
  • use structured error when code execution tool errors (1a9c653)

Documentation

  • mcp: add a README button for one-click add to Cursor (44a87a5)
  • mcp: add a README link to add server to VS Code or Claude Code (fe2322b)
  • prominently feature MCP server setup in root SDK readmes (f3962ae)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Mar 27, 2026

🧪 Testing

To try out this version of the SDK:

npm install 'https://pkg.stainless.com/s/brand.dev-typescript/d52b173283785fa13413a7935548c72d967ddbb0/dist.tar.gz'

Expires at: Sun, 26 Apr 2026 05:27:11 GMT
Updated at: Fri, 27 Mar 2026 05:27:11 GMT

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--brand.dev branch from 055d4a2 to 013f08b Compare March 27, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant