Skip to content

Forward passthrough MCP requests of moved workspaces to v2 - #2388

Merged
RhysSullivan merged 1 commit into
mainfrom
forward-passthrough-to-v2
Oct 25, 2026
Merged

RhysSullivan merged 1 commit into
mainfrom
forward-passthrough-to-v2

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

A workspace that has moved to v2 got a 400 for every MCP request whose URL had mode=passthrough. Those clients had to edit their MCP URL before they could reach v2.

v1 now forwards these requests to v2 like any other request. The forwarded URL never carried v1's mode parameter: buildV2Url builds v2's /mcp URL from scratch and keeps only elicitation_mode and a toolkit's connection. v2 serves its own tools for the request. A client holding a v1 session id gets v2's unknown-session answer and initializes a new session, as other forwarded clients do.

Authentication, membership, the toolkit lookup and the 503 paths are unchanged.

Tests: #2389.

@RhysSullivan
RhysSullivan added this pull request to stack #2390 October 25, 2026 18:31
@RhysSullivan RhysSullivan changed the title Forward passthrough MCP requests of moved organizations to v2 Forward passthrough MCP requests of moved workspaces to v2 Oct 25, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 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 cc3c8da Oct 25 2026, 06:34 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 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 cc3c8da Commit Preview URL

Branch Preview URL
Oct 25 2026, 06:34 PM

@github-actions

github-actions Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Oct 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

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

@executor-js/config

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

@executor-js/execution

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

@executor-js/sdk

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

@executor-js/codemode-core

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

@executor-js/runtime-quickjs

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

@executor-js/plugin-file-secrets

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

@executor-js/plugin-graphql

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

@executor-js/plugin-keychain

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

@executor-js/plugin-mcp

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

@executor-js/plugin-onepassword

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

@executor-js/plugin-openapi

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

executor

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

commit: cc3c8da

@RhysSullivan
RhysSullivan marked this pull request as ready for review October 25, 2026 18:52
@RhysSullivan
RhysSullivan merged commit f08d88d into main Oct 25, 2026
40 of 44 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