PulseAugur
中
实时 08:59:51
English(EN) I counted the MCP tools in my Cursor setup: 882,846 tokens of tool definitions, re-sent every turn

开发者发现工具定义将 LLM 上下文膨胀了 99.9%

一位开发者分析了他的 Cursor 设置,发现 209 个 MCP 工具的定义占用了大约 882,846 个 token,其中大部分是空白字符。通过优化工具定义,例如压缩格式和切换到按需获取完整规格的名称索引,token 数量大大减少。这项优化,以一个名为 mcptoon 的项目为例,对拥有大量工具的用户最有益,因为少数定义繁多的工具可能占用了大部分 token 使用量。 AI

影响 通过高效的工具定义管理,突显了在 LLM API 调用中实现显著成本节省的潜力。

排序理由 对特定软件设置中工具定义 token 成本的分析。

在 dev.to — MCP tag 阅读 →

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

开发者发现工具定义将 LLM 上下文膨胀了 99.9%

本文如何被排名

Signal score
31 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对特定软件设置中工具定义 token 成本的分析。
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
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

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

报道来源 [1]

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

    我计算了 Cursor 设置中的 MCP 工具:882,846 个 token 的工具定义,每轮重新发送

    <p><strong>882,846</strong></p> <p>That's not my download count. Not my traffic either. It's the full text of the 209 MCP tool definitions I have wired into Cline, Claude Desktop, Cursor, and Hermes Agent. Added up, token by token, on my own machine.</p> <p>Then it hit me. <stron…