From Discord: MCP subscriptions/listen lacks keepalive on Cloudflare Workers
Author: effect-botCreated Oct 1, 2026Updated Oct 1, 2026
Summary
When running Effect's MCP server on Cloudflare Workers with the stateless McpProtocol.v2026_07_28, the subscriptions/listen request emits no keepalive traffic, causing Cloudflare to cancel it as a hung request. A minimal reproduction uses McpServer.layerHttp, an HTTP router, and a basic ping tool; the deployment does not use Alchemy. The stateless architecture was only recently introduced in Effect v4-rc-116, and no known production Cloudflare Workers deployments were identified. Next step: open a repository issue with a complete reproduction so investigation can continue.
Discord thread
https://discord.com/channels/795981131316985866/1555224487279067290
Source: Effect-TS/effect