Skip to content

Update @hono/node-server to 2.1.8 through the MCP node transport - #1654

Merged
helpcodeai merged 2 commits into
mainfrom
fix/hono-node-server-alerts
Nov 13, 2026
Merged

helpcodeai merged 2 commits into
mainfrom
fix/hono-node-server-alerts

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

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/node 2.1.1. Version 2.1.2 of the MCP package accepts ^1.19.9 || ^2.1.3, so the lockfile now resolves @modelcontextprotocol/node 2.1.2 and @hono/node-server 2.1.8, which fixes both alerts. Dependabot did not open a PR for this.

Our code does not import hono. The MCP transport uses getRequestListener to turn the Node request into a web request, so this sits on the /mcp path and was tested end to end. Behaviour is the same in Cloud and self-hosted.

Changes

  • package-lock.json only: @modelcontextprotocol/node 2.1.1 → 2.1.2, @hono/node-server 1.19.17 → 2.1.8. package.json ranges unchanged.

Type

  • Bug fix
  • New feature
  • Documentation
  • Refactoring
  • Performance improvement
  • Other (security dependency update)

Testing

  • Added/updated unit tests

  • Tested manually (describe steps below)

  • No tests needed (explain why)

  • Repo root: npm ci --ignore-scripts with the new lockfile, installs @hono/node-server 2.1.8.

  • A local script ran McpServer + NodeStreamableHTTPServerTransport (stateless) behind node: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, then npx jest src/mcp-server src/mcp-servers src/auth/mcp-email --maxWorkers=4: 47 suites passed, 2 skipped; 746 tests passed, 5 skipped.

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • I have updated documentation (if applicable)
  • All existing tests pass (npm test) (MCP suites locally, full suite in CI)
  • This PR has a descriptive title

Related Issues

Fixes Dependabot alerts #126 and #133.

@helpcodeai
helpcodeai enabled auto-merge (squash) November 13, 2026 08:08
@helpcodeai
helpcodeai merged commit e981a61 into main Nov 13, 2026
16 checks passed
@helpcodeai
helpcodeai deleted the fix/hono-node-server-alerts branch November 13, 2026 08:35
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant