Repository navigation
[Deps] mcp: MCP SDK 2.3.1 and @hono/node-server 1.19.17 (security) - #1119
Conversation
…sories Raises @modelcontextprotocol/server and client to ^2.3.1 and node to ^2.1.1 (fixes GHSA-jm63-cq47-j5jp, GHSA-46jr-4wx8-v453, GHSA-rvq5-wwqv-78pq, GHSA-6prh-2h8m-c8cw) and overrides @hono/node-server to ^1.19.15 (GHSA-frvp-7c67-39w9).
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6952c8cb2c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Triage: holding this one, not merging yet.
Handing the follow-up to the Deps bot. |
…rs get the patched version
What does this PR do?
Security dependency fix. #1118 moved to MCP SDK v2 at 2.2.0, which is inside the affected range
>=2.0.0 <2.3.0of these advisories (all fixed in 2.3.0):@modelcontextprotocol/server@modelcontextprotocol/server@modelcontextprotocol/server@modelcontextprotocol/client@hono/node-server(via@modelcontextprotocol/node)Changes:
@modelcontextprotocol/serverand@modelcontextprotocol/client^2.2.0→^2.3.1inpackages/cli,packages/mcpandpackages/nodes. The lock now resolves server, client and core at 2.3.1.@modelcontextprotocol/node^2.1.0→^2.1.1inpackages/mcp, to match itsserver ^2.3.0peer.overrides:"@hono/node-server": "^1.19.15". The lock now resolves 1.19.17.@modelcontextprotocol/node2.1.1 still declares^1.19.9, so the override is what keeps the floor above the vulnerable range. It sits next to the existinghonooverride.bun.lockrefreshed. No other packages moved. After the refresh, the lock no longer contains@modelcontextprotocol/{server,client,core}@2.2.xor@hono/node-server@1.19.14.No app code changes were needed. The breaking change in 2.3.0 is that one
Server/McpServernow serves one connection, and a stateless HTTP transport serves one request. Pascal already meets that rule:connectHttpbuilds a new server and a sessionful transport for each session.serveStdio(factory).The 2.3.0 change to client redirects (same-origin only) doesn't affect
pascal'sStreamableHTTPClientTransportconnector, which talks to a fixed URL.How to test
bun install, thenrg '@modelcontextprotocol/(server|client|core)@|@hono/node-server@' bun.lock. You should see 2.3.1 and 1.19.17 only.bun run --filter @pascal-app/mcp testandbun run --filter @pascal-app/cli test. These include the HTTP transport tests with two concurrent sessions and the stdio transport tests.Run locally:
bun run check,skills:validate,check-typesandbuildall pass. Themcpsuite passes 1264/0,cli107/0 andcore5414/0. Thenodessuite fails 22 viewer/selection tests in this environment, and it fails the same 22 onmainwith the old 2.2.0 lock, so those failures were already there. Separately,main's own CI has been red since #903, with 5verify_scene/ scene-verification failures incore.Screenshots / screen recording
N/A — non-visual change
Checklist
bun devbun checkto verify)mainbranchNote
Low Risk
Lockfile and version-range changes only; security fixes with no runtime code edits, though MCP HTTP transport behavior is stricter in 2.3.0.
Reviewed by Cursor Bugbot for commit 6f92927. Bugbot is set up for automated code reviews on this repo. Configure here.