4.7.1 (2026-04-07)
Full Changelog: v4.7.0...v4.7.1
Bug Fixes
- escape MCP
instructionsbackticks as necessary (5054afe) - internal: gitignore generated
oidcdir (4ed5379)
Chores
- ci: escape input path in publish-npm workflow (542eb4d)
- ci: skip lint on metadata-only changes (c829f2e)
- internal: codegen related update (8fce23c)
- internal: codegen related update (5152f44)
- internal: fix MCP docker image builds in yarn projects (60ccb25)
- internal: fix MCP server import ordering (85ed5e7)
- internal: fix MCP server TS errors that occur with required client options (39f92ad)
- internal: improve local docs search for MCP servers (b0c172b)
- internal: improve local docs search for MCP servers (2627f4e)
- internal: make generated MCP servers compatible with Cloudflare worker environments (51ed091)
- internal: support custom-instructions-path flag in MCP servers (8888fc6)
- internal: support local docs search in MCP servers (7e09d80)
- internal: support type annotations when running MCP in local execution mode (dad62ee)
- internal: support x-stainless-mcp-client-envs header in MCP servers (f152521)
- internal: support x-stainless-mcp-client-permissions headers in MCP servers (b714f03)
- internal: tweak CI branches (9b5fa46)
- internal: update gitignore (701eec1)
- internal: update multipart form array serialization (d137743)
- internal: use link instead of file in MCP server package.json files (5a05063)
- mcp-server: add support for session id, forward client info (1bb26fb)
- mcp-server: log client info (1a44cd2)
- tests: bump steady to v0.19.4 (21244db)
- tests: bump steady to v0.19.5 (afd0423)
- tests: bump steady to v0.19.6 (9226701)
- tests: bump steady to v0.19.7 (e681061)
- tests: bump steady to v0.20.1 (812a0fd)
- tests: bump steady to v0.20.2 (64f4360)
- update SDK settings (d4a125e)
Refactors
- tests: switch from prism to steady (215316c)