Skip to content

Merge main into v2-2026-07-28#2300

Merged
felixweinberger merged 5 commits into
v2-2026-07-28from
sync/main-into-v2-2026-07-28
Jun 15, 2026
Merged

Merge main into v2-2026-07-28#2300
felixweinberger merged 5 commits into
v2-2026-07-28from
sync/main-into-v2-2026-07-28

Conversation

@felixweinberger

Copy link
Copy Markdown
Contributor

Routine sync of main into the v2-2026-07-28 integration branch, bringing in the four changes
that landed on main since the last sync (merge-base f2a3320):

Conflict resolutions

  • packages/client/src/client/client.ts (setLoggingLevel) and
    packages/server/src/server/server.ts (listRoots): main added SEP-2577 @deprecated
    docstrings on the old schema-based request implementations; this branch had already moved those
    methods to the typed request() form. Resolved by keeping the branch's implementations and
    carrying over the upstream docstrings verbatim — deprecation scope is unchanged.
  • SEP-414: the new _meta keys are propagation keys, not envelope keys. They are intentionally
    not added to the reserved envelope-key set that the protocol layer lifts out of inbound
    _meta on this branch, so they continue to reach handlers untouched. Upstream's
    traceContextMeta.test.ts is taken unmodified and passes against the branch's lift.
  • Everything else (docs, examples, changesets, the new declaredCapabilities and rewritten
    cloudflareWorkers tests) merged cleanly with upstream content intact.

Validation

  • pnpm build:all, pnpm -r typecheck, pnpm lint:all — pass
  • All package suites pass (core 956, client 374, server 93, server-legacy 162, codemod 350,
    middleware + examples) including the new SEP-414 trace-context tests unmodified
  • e2e: 1144 passed + 91 expected fail / 1235 — zero unexpected
  • Integration: 328/328 — including cloudflareWorkers.test.ts, which now passes locally thanks
    to test(integration): fix cloudflare workers test leaking workerd processes #2296 dropping the per-run npm install
  • Conformance (client:all, server, server:draft) against the published conformance 0.2.0-alpha.3
    pin: baseline check passed, no new failures
  • pnpm-lock.yaml unchanged (no dependency changes on either side)

felixweinberger and others added 5 commits June 15, 2026 08:56
…2268)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
…rs, pagination docs, path-sanitization note) (#2269)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
…EP-414) (#2270)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Brings in four upstream changes:
- SEP-414 reserved trace context _meta keys (traceparent/tracestate/baggage) and propagation docs (#2270)
- SEP-2577 deprecation of the roots, sampling, and logging runtime APIs (#2268)
- Non-SEP draft-spec conformance fixes: eager list handlers, pagination docs, path-sanitization note (#2269)
- Cloudflare workers test leak fix (#2296)

Notable resolutions:
- Trace context _meta keys are propagation keys: they are NOT added to the reserved
  envelope-key set lifted out of inbound _meta in protocol.ts, so they pass through
  to handlers untouched (covered by the new traceContextMeta tests, taken unmodified).
- SEP-2577 deprecation docs reconciled onto this branch's typed request methods
  (Client.setLoggingLevel, Server.listRoots) without changing their implementations.
@felixweinberger felixweinberger requested a review from a team as a code owner June 15, 2026 15:10
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2685bec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@modelcontextprotocol/server Patch
@modelcontextprotocol/client Patch
@modelcontextprotocol/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 15, 2026

Copy link
Copy Markdown

Open in StackBlitz

@modelcontextprotocol/client

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/client@2300

@modelcontextprotocol/codemod

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/codemod@2300

@modelcontextprotocol/server

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server@2300

@modelcontextprotocol/server-legacy

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/server-legacy@2300

@modelcontextprotocol/express

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/express@2300

@modelcontextprotocol/fastify

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/fastify@2300

@modelcontextprotocol/hono

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/hono@2300

@modelcontextprotocol/node

npm i https://pkg.pr.new/modelcontextprotocol/typescript-sdk/@modelcontextprotocol/node@2300

commit: 2685bec

@felixweinberger felixweinberger merged commit 71f7307 into v2-2026-07-28 Jun 15, 2026
14 checks passed
@felixweinberger felixweinberger deleted the sync/main-into-v2-2026-07-28 branch June 15, 2026 15:12
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.

2 participants