PulseAugur
实时 22:01:43
English(EN) Resources for reading, tools for acting: the MCP design choice most servers get wrong

vellum MCP提倡基于资源的上下文管理

作者提倡在MCP服务器中做出设计选择,区分用于行动的“工具”和用于阅读的“资源”,以优化上下文窗口的使用。这种方法在vellum MCP中实现,将笔记作为可通过稳定URI访问的资源暴露出来,允许代理通过名称引用文档,而不是通过昂贵的工具调用。这种设计旨在实现更高效、更轻量级的服务器架构,vellum MCP是一个可自托管的24MB容器。 AI

影响 通过区分可操作的工具和可读的资源来优化代理上下文窗口的使用,可能提高AI应用程序的效率。

排序理由 该项目讨论了可自托管服务器(vellum MCP)的一个具体实现细节和设计理念,该服务器使用MCP协议,属于AI开发工具的范畴。

在 dev.to — MCP tag 阅读 →

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

vellum MCP提倡基于资源的上下文管理

报道来源 [1]

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

    Resources for reading, tools for acting: the MCP design choice most servers get wrong

    <p>Every tool you expose over MCP ships its full definition (name, description, JSON schema) into the model's context on <strong>every single request</strong>, whether that tool ever gets called or not. Expose twenty tools and the agent wades through pages of boilerplate before i…