v9.1.0
9.1.0 (2026-02-17)
Full Changelog: v9.0.0...v9.1.0
Features
- mcp: add initial server instructions (41a62e7)
Bug Fixes
- client: avoid memory leak with abort signals (e6cbcb4)
- client: avoid removing abort listener too early (834599b)
- docs: fix mcp installation instructions for remote servers (2346e45)
- mcp: allow falling back for required env variables (e2285bf)
Chores
- client: do not parse responses with empty content-length (9168b0e)
- client: restructure abort controller binding (03776eb)
- internal/client: fix form-urlencoded requests (1ac688c)
- internal: add health check to MCP server when running in HTTP mode (c6b1999)
- internal: allow basic filtering of methods allowed for MCP code mode (c6921b7)
- internal: allow setting x-stainless-api-key header on mcp server requests (b54dd75)
- internal: always generate MCP server dockerfiles and upgrade associated dependencies (d786340)
- internal: avoid type checking errors with ts-reset (ec27092)
- internal: codegen related update (b3f5e09)
- internal: fix pagination internals not accepting option promises (6b75209)
- internal: improve layout of generated MCP server files (efb8e62)
- internal: refactor flag parsing for MCP servers and add debug flag (c3685d5)
- internal: support oauth authorization code flow for MCP servers (ed2565a)
- mcp: forward STAINLESS_API_KEY to docs search endpoint (e307e2e)
- mcp: up tsconfig lib version to es2022 (b96b21e)