Repository navigation
Update @hono/node-server to 2.1.8 through the MCP node transport - #1654
Merged
Merged
Conversation
helpcodeai
enabled auto-merge (squash)
November 13, 2026 08:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two Dependabot alerts (#126, #133, both medium) are about
@hono/node-server, which we only get through@modelcontextprotocol/node. The lockfile had 1.19.17 under@modelcontextprotocol/node2.1.1. Version 2.1.2 of the MCP package accepts^1.19.9 || ^2.1.3, so the lockfile now resolves@modelcontextprotocol/node2.1.2 and@hono/node-server2.1.8, which fixes both alerts. Dependabot did not open a PR for this.Our code does not import hono. The MCP transport uses
getRequestListenerto turn the Node request into a web request, so this sits on the/mcppath and was tested end to end. Behaviour is the same in Cloud and self-hosted.Changes
package-lock.jsononly:@modelcontextprotocol/node2.1.1 → 2.1.2,@hono/node-server1.19.17 → 2.1.8.package.jsonranges unchanged.Type
Testing
Added/updated unit tests
Tested manually (describe steps below)
No tests needed (explain why)
Repo root:
npm ci --ignore-scriptswith the new lockfile, installs@hono/node-server2.1.8.A local script ran
McpServer+NodeStreamableHTTPServerTransport(stateless) behindnode:http: initialize and tools/call over SSE and JSON response mode, a 2 MB tool result in both modes, unicode text, and GET without SSE accept. Results with 2.1.8 and with 1.19.17 were identical (200 / content types / body sizes, GET 406).packages/backend:npx prisma generate, thennpx jest src/mcp-server src/mcp-servers src/auth/mcp-email --maxWorkers=4: 47 suites passed, 2 skipped; 746 tests passed, 5 skipped.Checklist
npm test) (MCP suites locally, full suite in CI)Related Issues
Fixes Dependabot alerts #126 and #133.