Legacy SSE Transport in MCP Causes Serverless Bills to Skyrocket

Ranorkk · reddit · 2026-08-04

A developer deploying a remote MCP server on Vercel noticed an unusually high bill. Investigation revealed that the legacy HTTP+SSE transport, kept for backward compatibility, holds long-lived connections in a Serverless environment, causing functions to consume memory while idle waiting for I/O until they are force-killed.

Key Details & Resolution:

Takeaway: Long-lived SSE connections are a bad match for Serverless architectures. Developers hosting remote MCP servers on platforms like Vercel or Lambda should check for legacy transports and migrate to stateless request/response models to avoid paying for idle I/O.

Original post →

More from coding & agent

coding & agent channel →