Skip to content

Executor as MCP client: speak spec 2026-07-28 outbound - #1591

Merged
RhysSullivan merged 3 commits into
mainfrom
mcp-client-v2
Aug 16, 2026
Merged

Executor as MCP client: speak spec 2026-07-28 outbound#1591
RhysSullivan merged 3 commits into
mainfrom
mcp-client-v2

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Executor as an MCP client on spec 2026-07-28 (part 1 of 2; the server half is #1611).

Moves packages/plugins/mcp from @modelcontextprotocol/sdk v1 to @modelcontextprotocol/client/core 2.0.0, plus the three stale ^1.12.1 manifest floors aligned to ^1.29.0.

  • Streamable HTTP connections negotiate the era automatically (versionNegotiation: auto); forced-SSE and stdio keep the SDK legacy default.
  • The endpoint shape probe advertises 2025-11-25 and adds a server/discover fallback for 2026-07-28-only servers.
  • Transport errors classify via v2 types (SdkHttpError.status, SseError.code, InsufficientScopeError) instead of matching SDK-internal message strings.
  • Elicitation and tools/list_changed handlers use v2 method-string registration.
  • src/testing/ stays on SDK v1 deliberately as a legacy-wire interop fixture.

Fixes the reported failure: executor sent 2025-11-25 to a modern-only endpoint and was rejected (Unsupported protocol version). Verified against a legacy: "reject" server — the old client reproduces the report byte-for-byte; this client negotiates, lists tools, and round-trips callTool.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing a0201c9 Commit Preview URL

Branch Preview URL
Aug 16 2026, 10:25 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud a0201c9 Aug 16 2026, 10:26 AM

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Aug 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1591

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1591

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1591

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1591

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1591

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1591

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1591

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1591

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1591

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1591

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1591

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1591

executor

npm i https://pkg.pr.new/executor@1591

commit: a0201c9

@RhysSullivan

Copy link
Copy Markdown
Collaborator Author

Folded into #1611 (single consolidated PR per review preference).

@RhysSullivan RhysSullivan reopened this Aug 16, 2026
@RhysSullivan RhysSullivan changed the title Migrate outbound MCP client to SDK v2 (spec 2026-07-28) Executor as MCP client: speak spec 2026-07-28 outbound Aug 16, 2026
@RhysSullivan
RhysSullivan changed the base branch from mcp-sdk-floors to main August 16, 2026 16:58
@RhysSullivan
RhysSullivan marked this pull request as ready for review August 16, 2026 20:37
@RhysSullivan
RhysSullivan merged commit 8cb0d22 into main Aug 16, 2026
41 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