eztogo
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@eztogo type a haiku about autumn into Notepad, then save it as poem.txt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eztogo
一个 MCP server,把两件事装进同一条通道:
电脑操控:按 Windows 辅助功能树(UIA)驱动任意桌面程序——列窗口、读控件树、点击、输入、滚动、拖拽,并在屏幕上画出光标滑行、点击涟漪、任务胶囊、边缘光,让人看得见 agent 在干什么。
浏览器操控:默认走 ego lite(真实浏览器 + 登录态),也可以切到 Playwright/Edge 宿主。
23 个工具,一个进程,一个 stdio 连接。
English: eztogo is a single MCP server for Windows computer control (UIA, with an on-screen cursor / click ripple / status pill overlay) and browser automation (ego lite by default, Playwright/Edge optional). Run
npx -y eztogo initto register it into Claude Desktop / Cursor / Windsurf / VS Code automatically.
环境要求
项目 | 要求 |
操作系统 | 电脑操控:Windows 10 / 11。浏览器部分在 macOS / Linux 上也能用 |
Node.js | ≥ 20 |
PowerShell | Windows 自带 Windows PowerShell 5.1( |
ego lite | 可选。只有用 |
Playwright | 可选。只有 |
非 Windows 平台上,桌面工具不会让进程崩溃,而是返回一条明确说明:电脑操控只能在 Windows 上运行…。
Related MCP server: Computer-Controller-Bridg
安装与配置
一键写进客户端配置(推荐)
npx -y eztogo init它会逐个检测已安装的 MCP 客户端,把 eztogo 写成 node 绝对路径 + 本包 server.js 绝对路径,并打印做了什么:
eztogo 0.1.0
启动命令:C:\Program Files\nodejs\node.exe C:\Users\me\AppData\Local\npm-cache\_npx\...\server.js
✔ Claude Desktop C:\Users\me\AppData\Roaming\Claude\claude_desktop_config.json
原文件已备份:…claude_desktop_config.json.bak-20261111-181500
- Cursor 未检测到安装,跳过支持的客户端:Claude Desktop、Cursor、Windsurf、VS Code(用户级
mcp.json)写之前会备份原文件;配置里已有完全相同的条目则跳过,重复执行不会堆备份
目标文件不是合法 JSON 时不写入,只打印要手工合并的片段
只看配置,不改文件
npx -y eztogo --print-config手工配置
Claude Desktop / Cursor / Windsurf(mcpServers):
{
"mcpServers": {
"eztogo": {
"command": "node",
"args": ["C:/path/to/eztogo/dist/src/server.js"]
}
}
}VS Code(.vscode/mcp.json 或用户级 mcp.json,注意键是 servers 且要 type):
{
"servers": {
"eztogo": {
"type": "stdio",
"command": "node",
"args": ["C:/path/to/eztogo/dist/src/server.js"]
}
}
}从源码跑:
git clone https://github.com/hycailxy/eztogo.git
cd eztogo
npm install
npm run build
node dist/src/server.js # 直接起 MCP(客户端配置里就写这条)工具
电脑操控(9)
工具 | 作用 |
| 每个可驱动窗口一行: |
| 读一个程序的控件树,每个节点带 |
| 点某个 |
| Raise / Expand / Collapse / Press / Select |
| 按方向滚动元素或它的可滚动祖先 |
| 写值(ValuePattern):文本框、滑块、下拉框 |
| 发组合键, |
| 往当前焦点元素打字 |
| 从元素 A 拖到元素 B(取中心点) |
浏览器(10)
browser_navigate / browser_snapshot / browser_click / browser_type / browser_press_key /
browser_back / browser_wait / browser_screenshot / browser_evaluate / browser_engine
engine 三个取值:ego(默认)、edge、auto。
ego 原生逃生口(4)
ego_run(跑任意 ego 脚本)/ ego_page / ego_skill / ego_doctor(环境自检:CLI 在哪、版本、taskSpace 是否可用)。
屏幕上的东西
动作发生时,一个置顶透明窗口会画:
光标:深色箭头 + 白描边,滑到目标点(
HYBRID_ACI_CU_REDUCED_MOTION=1关闭滑行与涟漪)点击涟漪:单圈扩散
光标旁的实时说明:
点击「保存」/填写「正文编辑区」/按键 ctrl+a/输入 12 个字/拖拽「A」→「B」,动作完成后立刻切成读取「记事本」底部胶囊:任务名 + 状态 + 「接管 / 终止」按钮,可收成小太阳
只要不发动作,它什么都不显示(进程常驻只为省掉冷启动)。整体关掉:HYBRID_ACI_CU_OVERLAY=0。
环境变量
变量 | 默认 | 说明 |
|
| PowerShell 的绝对路径,PATH 里找不到时用 |
| 开 |
|
| 关 |
|
| 包内 | 自建/替换桌面桥(调试用) |
| 包根 | 叠加层脚本的搜索根 |
| 自动探测 | ego-browser 可执行文件路径 |
|
| ego TaskSpace 名 |
排障
现象 | 原因与做法 |
客户端里看不到工具 | 配置没生效: |
工具报 | PATH 里没有 PowerShell(精简 PATH、Server Core、非 Windows)。用 |
工具报 | 把 |
| 装 |
| 装 ego lite,或用 |
屏幕上没有动画 |
|
已知限制
电脑操控只有 Windows;UIA 对 UWP/XAML 应用偶尔很慢(代码会自动回落到一次性调用)
edge引擎依赖 Playwright,没装就用不了(默认引擎 ego 不受影响)每次动作后都会附一张窗口截图,长会话会积累图片(自动只保留最近 200 张 / 2 小时)
单实例假设:同一个客户端配置只会拉起一个进程;多个客户端各自拉起时会有多个叠加层窗口
首次动作前会先起一个常驻 PowerShell 进程(约 1 秒),用于复用 UIA 上下文
开发
npm run build # tsc → dist/
npm run mcp # 跑 server
npm run test:caption # 叠加层"实时说明"像素级回归(Windows)
npm run test:caption:e2e # server → 叠加层命令的端到端检查(用假桌面桥,不动真实桌面)desktop/desktop-uia.ps1 是桌面桥(UIA + 输入注入),desktop/overlay/codex-cursor.ps1 是叠加层。
两者都是 UTF-8 with BOM 的 PowerShell 脚本——用编辑器改完务必确认 BOM 还在,否则中文会乱码、脚本直接语法报错。
许可
MIT
Available Tools
23 toolsbrowser_backBackC
后退一页。默认 ego 引擎。
Inputs: engine.
browser_clickClickC
点击一个元素:传 CSS 选择器、可见文本,或快照里的 ref(ref=12)。默认 ego 引擎。
Inputs: target (required), engine, timeout_ms.
browser_engineBrowser engineA
查看 eztogo 浏览器操控当前走哪个引擎,以及 ego 是否可用。默认 ego(原生 ego-browser),需要 Edge 时各工具传 engine="edge"。
Inputs: no named parameters.
browser_evaluateEvaluateB
在页面里执行一段 JS 并返回结果(只读用得多:取文本、取属性)。默认 ego 引擎。
Inputs: expression (required), engine.
browser_press_keyPress keyC
按键(Enter / Escape / Control+A 这类写法)。默认 ego 引擎。
Inputs: key (required), engine.
browser_screenshotScreenshotC
截图并返回文件路径。默认 ego 引擎。
Inputs: path, engine.
browser_snapshotSnapshotA
取当前页面的结构化快照(ego 返回带 ref 的无障碍树;edge 返回同形态快照)。这是点击/输入前的定位依据,优先用它而不是坐标。
Inputs: engine.
browser_typeTypeB
往输入框填入文本。默认 ego 引擎。submit=true 时回车提交。
Inputs: text (required), target (required), engine, submit.
browser_waitWaitC
等待一段时间或等待某个选择器出现。默认 ego 引擎。
Inputs: ms, engine, selector.
clickClick elementA
Click the element at element_index from the last get_app_state of this app.
Inputs: app (required), element_index (required).
dragDragB
Drag from one element to another (element centres).
Inputs: app (required), to_element_index (required), from_element_index (required).
ego_doctorCheck the ego(lite) channelARead-only
Self-check the ego channel: which ego-browser.exe was resolved and how, the ego/Node versions, whether the embedded runtime exposes the taskSpace helper, and the skill-guide cache state. Use this instead of require.resolve('ego'), which always fails because ego ships no npm package named 'ego'.
Inputs: deep.
ego_pageSimple ego page actionB
Convenience wrapper around one ego(lite) page in the shared TaskSpace. Actions: navigate(url), url, title, snapshot, click(refOrLocator), fill(refOrLocator,text), press(key), scroll(direction), screenshot, back, forward, wait(ms). Returns JSON; for screenshot the returned path is a PNG on disk.
Inputs: action (required), value, amount, target.
ego_runRun an ego-browser scriptA
Run an ego-browser (ego lite) Node script with the embedded runtime. The script is ESM with top-level await and can use taskSpace(name), task.page('p1'), page.goto(), page.snapshot(), page.click('ref=12') and the rest of the ego API. Print JSON to return structured data. Use this for anything the shortcut tools do not cover.
Inputs: script (required), timeoutMs.
ego_skillPrint the ego-browser usage guideARead-only
Return the usage guide that matches the installed ego lite version (same text as ego-browser skill). Cached after the first read; pass force=true after an ego upgrade. Read it before writing non-trivial ego scripts.
Inputs: force.
get_app_stateApp stateARead-only
Snapshot one app: App=<name> (pid N) followed by its accessibility tree, each node prefixed with the index you pass to click / set_value / scroll / drag.
Inputs: app (required), max_depth, max_nodes.
list_appsList appsARead-only
Every top-level window the agent can drive, one per line: Name — process (pid N) [running]. Same shape as Codex's list_apps.
Inputs: no named parameters.
perform_secondary_actionSecondary actionB
Run a named secondary action on an element (Raise / Expand / Collapse / Press / Select). Maps onto the UIA patterns the element actually supports.
Inputs: app (required), action (required), element_index (required).
press_keyPress keyB
Send a key combination to the app, e.g. "ctrl+a" (macOS "super+a" is accepted and mapped).
Inputs: app (required), key (required).
scrollScroll elementB
Scroll the element (or its scrollable ancestor) by pages in a direction.
Inputs: app (required), direction (required), element_index (required), pages.
set_valueSet valueB
Set the value of a text field / slider / combo box at element_index (ValuePattern).
Inputs: app (required), value (required), element_index (required).
type_textType textB
Type text into the app's focused element.
Inputs: app (required), text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Browser actions are reachable through three overlapping routes: the individual browser_* tools, ego_page (which wraps navigate/click/fill/press/scroll/screenshot/back/wait), and ego_run (arbitrary scripts). An agent must decide between browser_click, ego_page(click), and an ego_run script for the same step, and browser_snapshot/browser_click overlap with ego_page's snapshot/click actions. Desktop tools are cleaner, but the browser family's boundaries are blurry.
Names are consistently snake_case with verb-first phrasing, organized into recognizable family prefixes (unprefixed desktop tools, browser_*, ego_*). Minor inconsistency: the desktop family lacks a prefix (click, scroll, type_text) while the browser family redundantly repeats verbs it already shares with ego_page.
23 tools is on the heavy side for a UI/browser automation server, and much of that weight is duplication rather than capability: browser_navigate/click/type/press_key/snapshot/back/wait/screenshot largely restate ego_page's action list. The desktop automation set is proportionate.
Coverage is broad: full desktop interaction (list/app state, click, set_value, press_key, type, drag, scroll, secondary actions) plus a browser surface with navigation, snapshot, click, typing, keys, waits, screenshots, and JS evaluation. Gaps like browser-level forward, tab management, and file upload are covered by ego_page's forward action or the ego_run escape hatch.
Related MCP Connectors
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Let AI see and use your own Windows PC with your permission: screen, apps, mouse and keyboard.
Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.
Connect AI assistants to registered Windows and macOS computers using OAuth 2.0 and Streamable HTTP. Use 19 MCP tools for files, commands, processes, services and TLS 1.3 direct LAN file transfer. The Windows desktop client includes MCP Services to scan supported local software and quick-connect integrations such as ComfyUI, Blender, DaVinci Resolve, OBS and Microsoft Office. Free plan: 1 device and 10,000 tool calls/month. Windows guide: https://github.com/DNSDATA/dns-data-mcp/tree/main/windows-client Glama repository listing: https://glama.ai/mcp/servers/DNSDATA/dns-data-mcp
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceWindows automation MCP offering * AI Vision (e.g. Click by Description) * Windows UI Automation Tree tools * Chrome Automation via Playwright * Mouse control * Keyboard control * a lot more (>40 tools) Also comes with Python/TypeScript/C# client libs and a Windows Desktop tool to try all the tools.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients on Windows to control the local mouse, keyboard, and screen understanding via MCP stdio, allowing automated workflows like viewing the screen, locating elements, clicking, typing, and verifying results.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to observe and control the Windows desktop through the UI Automation accessibility tree — no vision model required — by exposing tools for reading windows and interactive elements, clicking, typing, scrolling, shortcuts, PowerShell, screenshots, virtual desktops, web scraping, file operations and persistent memory, including background-window control without stealing focus. An optional agent mode adds a single natural-language task tool that runs the full upstream agent loop when an LLM provider is configured.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to control Windows desktop applications through UI Automation and Win32, supporting window management, mouse/keyboard input, element inspection, screenshots, OCR, macro recording, and autonomous multi-app missions. It also provides an HTTP/stdio MCP interface, an operator UI, and optional telemetry and safety controls.MIT