fix: prevent Hono from overriding global Response object (#1410)

This commit is contained in:
Matt 2026-01-20 12:17:19 +01:00 • committed by GitHub
commit 9296459ac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,5 @@
---
"@modelcontextprotocol/node": patch
---
Prevent Hono from overriding global Response object by passing `overrideGlobalObjects: false` to `getRequestListener()`. This fixes compatibility with frameworks like Next.js whose response classes extend the native Response.