PulseAugur
中
实时 20:38:19
English(EN) An MCP client was quietly burning 99% of my Vercel function time

开发者Vercel函数将99%的时间浪费在空闲的AI流上

一位开发者发现,部署在Vercel免费层上的MCP服务器由于意外的长时间运行流,消耗了其99%的函数时间。该问题源于`@modelcontextprotocol/server` SDK对新协议修订版的处理,该修订版为客户端订阅启动了一个持久的SSE流。这个流旨在动态更新工具列表,但即使开发者的工具没有改变,它也会一直保持打开状态,直到达到无服务器函数的五分钟超时限制。解决方法是在处理程序配置中设置`maxSubscriptions: 0`,这会立即拒绝订阅请求,并防止浪费时间的五分钟超时。 AI

影响 突显了在无服务器环境中集成AI工具时潜在的成本和资源效率低下问题。

排序理由 开发者正在排查与AI相关工具/协议相关的特定技术问题。

在 dev.to — MCP tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

开发者Vercel函数将99%的时间浪费在空闲的AI流上

本文如何被排名

Signal score
6 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
开发者正在排查与AI相关工具/协议相关的特定技术问题。
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.

完整方法见我们的编辑标准。

报道来源 [1]

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

    一个MCP客户端悄悄耗尽了我99%的Vercel函数时间

    <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…