PulseAugur
EN
LIVE 21:28:27

Developer's Vercel functions wasted 99% of time on idle AI streams

A developer discovered that their MCP server, deployed on Vercel's free tier, was consuming 99% of their function time due to an unintended long-running stream. The issue stemmed from the `@modelcontextprotocol/server` SDK's handling of a new protocol revision that initiated a persistent SSE stream for client subscriptions. This stream, intended for dynamic tool list updates, would remain open until the serverless function's timeout limit of five minutes, even though the developer's tools do not change. The fix involved setting `maxSubscriptions: 0` in the handler configuration, which immediately rejects subscription requests and prevents the wasteful five-minute timeouts. AI

IMPACT Highlights potential cost and resource inefficiencies when integrating AI tools in serverless environments.

RANK_REASON Developer troubleshooting a specific technical issue with an AI-adjacent tool/protocol.

Read on dev.to — MCP tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Developer's Vercel functions wasted 99% of time on idle AI streams

How we ranked this

Signal score
5 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Developer troubleshooting a specific technical issue with an AI-adjacent tool/protocol.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — MCP tag TIER_1 English(EN) · goodsoul ·

    An MCP client was quietly burning 99% of my Vercel function time

    <p>I run a little markdown editor on the side, <a href="https://markpad.md/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=mcp-timeout" rel="noopener noreferrer">markpad.md</a>. One of the things it has is an MCP server, so you can tell Claude Code "write this plan into…