Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
作者提供的说明(英文原文)
Windows desktop automation that re-reads only what changed: 7x fewer tokens per task.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"oswright": {
"command": "uvx",
"args": [
"oswright"
]
}
}
}在终端中运行这条命令
claude mcp add oswright -- uvx oswright粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oswright": {
"command": "uvx",
"args": [
"oswright"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oswright": {
"type": "stdio",
"command": "uvx",
"args": [
"oswright"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 Ask-812 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.8.2)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Agent-Native Google Calendar - manage events, sync, and public booking
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Desktop automation for AI agents, without paying for a screenshot every step.
mcp-name: io.github.Ask-812/oswright
An MCP server that lets an LLM drive real desktop applications — the desktop equivalent of Playwright MCP. It keeps a model of the screen between actions and re-reads only the parts that changed, so the same work costs an order of magnitude fewer tokens.
Eight fields read off an invoice and typed into an expense form, verified by the application itself. Same task, same result, 7.4× less context than returning a screenshot after every action. Every number on screen is measured during the run — regenerate the whole thing with python benchmarks/record_demo.py.
Most GUI agents re-perceive the entire screen on every step: screenshot, OCR, hand the model an image, repeat. Measured on a live desktop, the median observation changes 0.012% of the screen's pixels. Re-reading everything does far more work than the change warrants, and charges ~2,800 image tokens whether anything happened or not.
OSWright asks the compositor what changed, rescans only that, and answers element lookups from the cheapest source that can. The claims below are measured on this machine and reproducible from benchmarks/ — including the ones that did not come out in its favour.
wait_for_change.surprise report when the interface does something unexpected.First, install the OSWright MCP server with your client.
Standard config works in most tools:
{
"mcpServers": { "oswright": { "command": "uvx", "args": ["oswright"] } } }
Note: If you don't have
uvx, you can usepip install oswrightand then set"command": "oswright"directly.
Claude Desktop
Follow the MCP install guide, use the standard config above.
Claude Code
claude mcp add oswright uvx oswright
VS Code
Add to your user or workspace settings.json under mcp.servers:
{
"mcp": { "servers": { "oswright": { "command": "uvx", "args": ["oswright"] } } } }
Or use the VS Code CLI:
code --add-mcp '{"name":"oswright","command":"uvx","args":["oswright"]}'
Cursor
Go to Cursor Settings -> MCP -> Add new MCP Server. Name it oswright, use command type with the command uvx oswright.
Windsurf
Follow Windsurf MCP documentation. Use the standard config above.
Cline
Add to your cline_mcp_settings.json:
{
"mcpServers": { "oswright": { "type": "stdio", "command": "uvx", "args": ["oswright"], "disabled": false } } }
Goose
Go to Advanced settings -> Extensions -> Add custom extension. Name it oswright, use type STDIO, and set the command to uvx oswright.
Using pip instead of uvx
If you prefer a standard pip install:
pip install oswright
Then use this config:
{
"mcpServers": { "oswright": { "command": "oswright" } } }
Or run directly:
python -m oswright
skills/oswright/SKILL.md tells an agent when to reach for OSWright and which tools are the cheap ones. It follows the open Agent Skills format. Copy the skills/oswright folder into your agent's skills directory — ~/.claude/skills/ for Claude Code, or the equivalent for your client.
The skill sets --observation-mode delta. Without it, every action returns a full screenshot, which is the cost OSWright exists to avoid.
Most GUI agents re-perceive the entire screen on every step: full screenshot, full OCR, then hand the model a fresh image. Measured on a live desktop, the median observation changes 0.012% of pixels — so a full rescan does roughly 240× more work than the change warrants, and the screenshot it returns costs ~2,800 image tokens whether anything happened or not.
OSWright keeps a model of the screen between observations and rescans only the regions that actually moved.
observe() -> {"changed": true,
"added": [{"text": "Saved", "x": 812, "y": 447}], "removed": ["Unsaved changes"], "screen_fraction_scanned": 0.015}
Measured on this machine over a 14-step agent loop:
| v0.4.0 (full OCR + screenshot) | incremental | |
|---|---|---|
| Median latency per step | 212 ms | 33 ms |
| Tokens per observation | ~2,764 | ~49 |
| Tokens over 14 steps | 38,696 | 1,025 |
| Screen re-read | 100% | 16% |
The busier the screen, the larger the gap: full OCR scales with how much text is on screen, whereas the incremental path scales with how much *changed*. The same comparison measures 6.5× on a quiet desktop and 14.3× with a dense web page open. Re-measure with benchmarks/ rather than trusting these.
Cost is a proxy, though, and a cheaper perception path that quietly degraded accuracy would be worse than none. So it is checked against task completion: scripted tasks driving the real tool surface across four applications, graded against each application's own state — UI Automation for Calculator and Explorer, the window title for Chrome and VS Code — never against OCR.
| configuration | Calculator | File Explorer | Chrome | tokens |
|---|---|---|---|---|
| v0.4-style (full screenshot) | 9/9 | 3/3 | 3/3 | 118,858 |
| delta only | 9/9 | 3/3 | 3/3 | 5,252 |
| delta + memory | 9/9 | 3/3 | 3/3 | 5,099 |
| delta + memory + prediction | 9/9 | 3/3 | 3/3 | 7,981 |
Accuracy is identical across every configuration while token cost falls 23×. Run it with python benchmarks/bench_tasks.py.
The design bets that neither perception path wins everywhere. Turning each half off measures that rather than asserting it:
| configuration | Calculator | File Explorer | Chrome |
|---|---|---|---|
| full cascade | 9/9 | 3/3 | 3/3 |
| accessibility only | 9/9 | 0/3 | 0/3 |
| pixels only | 6/9 | 3/3 | 3/3 |
Accessibility-only — the posture most Windows GUI agents take — is perfect on XAML and blind on a Win32 list view and on web content. Probed against VS Code it sees 18 elements, the entire IDE being a single node named Chrome Legacy Window, while OCR reads 94 including every filename.
Pixels-only fails Calculator's buttons, because the button a human reads as 7 is *named* Seven, and Windows OCR returns no digits from Calculator at all.
The cascade is the only configuration that passes everywhere.
find_element and click_element stop at the first method that can answer, so cost tracks how *novel* the request is rather than how large the screen is:
| Rung | Method | Typical cost |
|---|---|---|
| 0 | Already in the screen model | ~0.05 ms |
| 1 | Rescan only what changed | ~70 ms |
| 2 | Accessibility tree (knows a Button *is* a button) | ~40 ms |
| 3 | App's own text buffer via UIA TextPattern — exact characters | ~400 ms |
| 4 | Full-screen OCR | ~250 ms |
Looking up text the model already knows is ~5,000× cheaper than the v0.4.0 path (0.05 ms versus 244 ms). The response reports which rung answered, so you can see what a task is actually costing.
Rung 3 is worth understanding: UIA's TextRange.FindText searches the application's *own* text buffer and returns exact bounding rectangles. It is immune to font, DPI, antialiasing and OCR error. It sits below the pixel rungs only because scanning a window's controls for it costs a few hundred milliseconds of cross-process COM — it is the accurate rung, not the fast one.
Note on ordering. These rungs are ordered by *measurement*, not by theory.
The common advice is to make the accessibility tree primary, but on real
applications it is not always cheaper: walking Chrome's tree took 537 ms here,
slower than a full-screen OCR pass, and VS Code exposed only 18 elements to it.
Neither pixels nor accessibility wins everywhere, which is why this is a
cascade rather than a choice.
On Windows, the desktop compositor already knows which pixels changed and exposes them through DXGI Desktop Duplication. Asking it costs 0.14 ms and transfers no pixels, against tens of milliseconds to capture a frame and discover it was identical — so an idle observation skips the capture entirely.
When something *has* changed, the compositor is left holding that frame, so its pixels are read directly from the GPU rather than grabbed a second time through a different API — 1.5–2.3× faster than mss in measurements here.
The compositor is used only as a fast *negative* for change detection. When it reports a change, the dirty regions still come from hashing the captured frame: the two are measured over slightly different intervals, so compositor rectangl
只显示了开头部分;其余内容请在仓库中阅读