Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 01:02
· 17 commits to main since this release
0156317

2.0.0 (2026-08-28)

⚠ BREAKING CHANGES

  • node: instrument() returns { server, flush } instead of the
    McpServer instance. Callers doing const server = instrument(new McpServer(...), opts) must switch to const { server } = instrument(...); callers that discard the return value (the pattern
    used everywhere in this repo's README and examples) are unaffected.

Features

  • node: return a flush handle from instrument() for request-scoped runtimes (9c6c508), closes #8

Bug Fixes

  • examples: correct broken Cloudflare Workers doc sample and Express listener leak (abe0e49)
  • node: make flush() await an in-flight size-triggered auto-flush (f60e892)