Skip to content

Update MCP sdk to latest 1.29 - #29459

Merged
tdraier merged 1 commit into
mainfrom
mcp-sdk-upgrade-1-29
Jul 24, 2026
Merged

tdraier merged 1 commit into
mainfrom
mcp-sdk-upgrade-1-29

Conversation

@tdraier

@tdraier tdraier commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Description

Update MCP from 1.27.0 to 1.29.0, which includes the fix for the tsc path: modelcontextprotocol/typescript-sdk#1623 — this is the motivation for the upgrade.

1.29.0 is the latest 1.x (anything newer is the 2.0.0-beta prerelease line, which we deliberately avoid). Bumped in all workspaces that depend on it (front, sdks/js, cli/dust-cli, extension) plus the root overrides pin, and regenerated package-lock.json.

Why this is safe

Every change between 1.27.0 and 1.29.0 is a bug fix or v1.x backport — no intentional breaking API changes:

  • 1.28.0: use scopes_supported from resource metadata by default; default to client_secret_basic when the server omits token_endpoint_auth_methods_supported; reject plain JSON Schema objects passed as inputSchema (Claude has a max_token issue #1596); timeout/abort cleanup fixes; RFC 8252 loopback port relaxation.
  • 1.29.0: disallow null (infinite) requested TTL; add missing size field to ResourceSchema; add typings exports / missing package.json types (the tsc path fix above, feat(assistant builder): add basic avatar picker #1623); allow advertising extensions in the capability object; always set windowsHide on Windows for stdio.

The only behavior-narrowing change, #1596 (tool()/registerTool() now throw if passed a plain JSON Schema instead of a Zod shape), does not affect us: every registerTool call site passes a Zod ZodRawShape (register.ts, mcp_internal_actions/wrappers.ts, extension/shared/tools/index.ts). The plain { type: "object", ... } objects in the codebase are our own config types / mock wire-format Tool objects, never arguments to registerTool.

The auth-default changes are also no-ops for us: remote_mcp_servers_resource.ts already branches explicitly on client_secret_post/client_secret_basic and already prioritizes resource-metadata scopes_supported. No StdioClientTransport usage, so the Windows stdio change is irrelevant.

Tests

npx tsgo --noEmit in front (type-check). No source changes required — dependency bump only.

Risk

Low. Patch/minor bug-fix bump with no breaking API changes affecting our usage. Can be rolled back by reverting the version bump.

Deploy Plan

deploy front

@tdraier

tdraier commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
playground Ignored Ignored Preview Jul 24, 2026 9:46am
storybook Ignored Ignored Preview Jul 24, 2026 9:46am

Request Review

@dust-agent dust-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coding Rules LGTM \o/

@tdraier tdraier added the sdk-ack Used to acknowledge that you are not breaking the public API. label Jul 24, 2026

@Fraggle Fraggle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonnable.

@tdraier
tdraier merged commit 4e02a5f into main Jul 24, 2026
60 checks passed
@tdraier
tdraier deleted the mcp-sdk-upgrade-1-29 branch July 24, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sdk-ack Used to acknowledge that you are not breaking the public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants