claude-code-tips icon indicating copy to clipboard operation
claude-code-tips copied to clipboard

[cc] bump @modelcontextprotocol/sdk to latest minor (track Apr 2026 SDK)

Open anipotts opened this issue 7 months ago • 3 comments

Source: Apr 2026 conventions audit

Problem

`plugins/cc/package.json` pins `@modelcontextprotocol/sdk: ^1.12.1`. As of Apr 2026 the SDK has moved several minors past this; we may be missing:

  • Updated capability namespaces
  • Improved Server/Transport ergonomics
  • Bug fixes in stdio transport
  • Type improvements

Fix

`bun update @modelcontextprotocol/sdk --latest` then verify:

  1. Smoke test passes (initialize + tools/list + tools/call)
  2. Capabilities object still accepts `experimental` key
  3. `server.notification(...)` API unchanged
  4. zod-to-json-schema still produces compatible output

Acceptance criteria

  • [ ] @modelcontextprotocol/sdk on current minor
  • [ ] No smoke-test or unit-test regressions
  • [ ] CHANGELOG note (after CHANGELOG issue lands)

anipotts avatar Apr 28 '26 19:04 anipotts

@claude please triage this issue per .github/AI_REVIEW_RUBRIC.md (issue-triage section).

github-actions[bot] avatar Apr 28 '26 19:04 github-actions[bot]

Hi! 👋 I've opened a pull request to address this: #271.

This bumps @modelcontextprotocol/sdk to the latest minor version in plugins/cc/package.json, ensuring we're aligned with the Apr 2026 SDK conventions. I've verified that smoke tests pass and the core APIs (capabilities, notifications, etc.) remain compatible.

Thanks!

webbrain-one avatar Aug 09 '26 04:08 webbrain-one

Closing as implemented on main. The preserved cc plugin now uses @modelcontextprotocol/sdk ^1.29.0 in package.json, and the v4 compatibility workflow passes all 45 cc tests. Released in v4.0.0.

anipotts avatar Aug 10 '26 15:08 anipotts