PulseAugur
中
实时 15:58:12
English(EN) Why does osFoundry make Codex CLI poll a cursor per resource instead of pushing changes?

osFoundry 的 MCP 服务器使用轮询方式处理 Codex CLI,而非推送

作者探讨了 osFoundry 的 MCP 服务器的设计选择,该服务器为其 Codex CLI 客户端使用轮询机制,而不是基于推送的系统。这种轮询方法适用于不持续运行的命令行工具,允许客户端使用序列游标以自己的节奏查询更改。文章详细介绍了涉及的 API 调用,包括 `list_granted_resources`、`list_project_resources` 和 `poll_resource_events`,并讨论了速率限制和可轮询资源类型的有限数量的影响。 AI

影响 解释了命令行工具与服务器交互的特定技术设计选择,对于构建类似工具的开发者具有参考价值。

排序理由 文章讨论了软件工具(osFoundry 的 MCP 服务器和 Codex CLI)及其 API 设计的具体技术实现细节。

在 dev.to — MCP tag 阅读 →

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

osFoundry 的 MCP 服务器使用轮询方式处理 Codex CLI,而非推送

本文如何被排名

Signal score
4 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
文章讨论了软件工具(osFoundry 的 MCP 服务器和 Codex CLI)及其 API 设计的具体技术实现细节。
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
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
Standard
On-topic for AI-industry coverage; kept in the public index.
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) · BBT ·

    为什么 osFoundry 的 Codex CLI 轮询每个资源的游标,而不是推送更改?

    <p>This is everything <a href="https://osfoundry.io" rel="noopener noreferrer">osFoundry</a>'s MCP server offers a client that wants to know when something changes. Run from this Mac without a token:<br /> </p> <div class="highlight js-code-highlight"> <pre class="highlight plain…