Skip to content

chore(deps): upgrade @modelcontextprotocol/server to 2.0.0 - #96

Merged
KenTaniguchi-R merged 1 commit into
mainfrom
chore/bump-mcp-server-2.0.0
Aug 29, 2026
Merged

chore(deps): upgrade @modelcontextprotocol/server to 2.0.0#96
KenTaniguchi-R merged 1 commit into
mainfrom
chore/bump-mcp-server-2.0.0

Conversation

@KenTaniguchi-R

Copy link
Copy Markdown
Owner

What

Moves the MCP server SDK off a pre-release: @modelcontextprotocol/server 2.0.0-beta.52.0.0.

Stable 2.0.0 shipped (npm dist-tags: latest = 2.0.0); we were pinned to the last beta. Nothing was broken, but running a pre-release SDK against real financial data isn't ideal, and the beta→stable gap is where trailing API adjustments land.

Protocol version

Unchanged — we were already current. Both beta.5 and 2.0.0 bundle the same two revisions:

Revision Role
2026-07-28 current wire revision (MODERN_WIRE_REVISION)
2025-11-25 legacy-era fallback

2026-07-28 is the latest published MCP spec revision. Note this is the stateless revision — no initialization handshake, no protocol-level sessions, no GET stream endpoint. The SDK's inbound legacy routing handles method rejection, so export const GET = POST in src/app/api/mcp/route.ts remains correct.

No API drift

src/lib/mcp/server.ts needed no changes — createMcpHandler and McpServer have identical signatures. Diff is two files: package.json and pnpm-lock.yaml.

Verification

Run on a clean main base in an isolated worktree:

Check Result
pnpm install --frozen-lockfile clean
pnpm typecheck clean
Unit tests 426 passed (60 files)
Integration tests 301 passed / 301
Live MCP call get_dashboard_summary returns correct data

Note for reviewers

Integration tests were run with --maxWorkers=4. At vitest's default concurrency the suite reports mass failures that are pure infrastructure noise — the Postgres testcontainer gets killed mid-run (57P01 ProcessInterrupts) plus a Docker 409 container-removal race. Capping workers takes the suite from 339s/137-fake-failures to 50s/green. That is a pre-existing issue, not something this PR introduces.

🤖 Generated with Claude Code

The MCP server SDK was pinned to the 2.0.0-beta.5 pre-release. Stable
2.0.0 has since shipped, so move off the beta.

No API drift: createMcpHandler and McpServer in src/lib/mcp/server.ts
are unchanged, and the bundled protocol revisions stay the same
(2026-07-28 current, 2025-11-25 legacy fallback).
@KenTaniguchi-R
KenTaniguchi-R merged commit 402a877 into main Aug 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant