EagleEye MCP
Click on "Install 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., "@EagleEye MCPcapture the screen and find the primary color in the top-left 100x100 region"
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.
EagleEye MCP
0.6.1 beta — Pixel-accurate visual toolbox for Agents
截屏 · 像素测量 · OCR · 模板匹配 · 视觉回归(确定性优先,不是「把图读成一段话」)
Acquire → Focus → Measure → Perceive · Compare · Verify
公开仓库:https://github.com/baimaomaomao556/eagleeye-mcp(git tag dsh-plugin)。
与摄像头 MCP「Open Eagle Eye」无关。
这是什么 / 不是什么
EagleEye 是 MCP Server(stdio),不是一次性看图 CLI。DSH / Agent Skills 薄包装见 skills/eagleeye/。
你要做的事 | 用 |
对话里出现一张图,先读成结构化证据 | |
按剧本还原 UI / 长截图 OCR / 描 SVG | |
截当前桌面、量像素、做视觉回归 | EagleEye |
Related MCP server: hermes-computer-use
平台能力
能力 | Windows | macOS / Linux |
| 支持 | 支持 |
| 支持(含 DPI) | 支持(mss bounds,无 DPI) |
| 支持 |
|
| Win10 2004+ |
|
窗口类工具在非 Windows 上返回结构化错误,不会静默失败。请改用 capture_screen 或 load_image。
快速开始
本地开发(当前推荐)
python -m venv .venv
.venv\Scripts\pip install -e . # Windows
# .venv/bin/pip install -e . # Linux/macOS
copy .env.example .env # 或写入 ~/.eagleeye/.env
.venv\Scripts\eagleeye doctor
.venv\Scripts\eagleeye # MCP stdio
# 等价:python -m eagleeye_mcpHost 接入见 docs/HOSTS.md。上下文紧张时可设 EAGLEEYE_TOOL_PROFILE=core,只暴露 Phase 1 的 8 个工具;默认 full 为全部 32 个。
uvx / skills
uvx --from git+https://github.com/baimaomaomao556/eagleeye-mcp eagleeye doctor
npx skills add baimaomaomao556/eagleeye-mcp --skill eagleeye示例 Host 配置见 examples/mcp.uvx.json;本地已安装时用 examples/mcp.local.json。
工具清单(32 个,按计划分层)
Phase 1 · MVP(8 个)· EAGLEEYE_TOOL_PROFILE=core
层级 | 工具 | 说明 |
L0 获取 |
| 屏幕截图(mss,多显示器,含黑帧检测) |
L0 获取 |
| 加载本地图片 |
L1 视野 |
| 按精确坐标裁剪 |
L2 测量 |
| 读取像素颜色 |
L2 测量 |
| 区域颜色统计(均值/主色) |
L2 测量 |
| 逐像素差异比较(MSE/差异图,纯数学不做判定) |
L3 感知 |
| 本地 Tesseract 文字识别 |
L3 感知 |
| 多模态模型视觉问答(OpenAI 兼容端点,支持 structured 证据区域) |
Phase 2 · 主动视觉与发现(17 个)
层级 | 工具 | 说明 |
L0 发现 |
| 枚举窗口(句柄/标题/进程/位置/最小化),解决动态标题无法匹配的问题 |
L0 发现 |
| 枚举显示器(bounds/work_area/DPI 缩放/primary/mss_index) |
L0 获取 |
| 按窗口句柄/标题截取指定窗口(= 用户实际看到的画面,可 bring_to_front 置前台) |
L0 获取 |
| 后台捕获渲染表面(Graphics Capture):被遮挡/非前台也能拿到,不代表屏幕实际显示 |
L0 获取 |
| 将 image_ref 导出到指定路径(png/jpeg/webp) |
L1 视野 |
| 便捷语义定位:按线索(模板/颜色/文字/视觉)自动聚焦局部,返回实际使用的方法 |
L1 视野 |
| 放大局部精查(保留原始分辨率与缩放变换) |
L1 视野 |
| 大图拆瓦片,分区域扫描 |
L2 测量 |
| 图像完整元数据(来源链/变换/屏幕原点/内存/哈希) |
L2 测量 |
| 查找指定颜色(数量/包围盒/质心) |
L2 测量 |
| OpenCV 模板匹配(多尺度、多匹配、可视化) |
L2 测量 |
| 区域几何测量(位置/尺寸/面积/中心) |
L2 测量 |
| Canny 边缘检测(边缘占比 + 可视化) |
L2 测量 |
| 轮廓检测(数量/包围盒/面积 + 可视化) |
L3 感知 |
| OCR 文本框定位(文字目标的确定性定位) |
L3 感知 |
| 视觉模型语义定位 bbox(推断,需复核) |
L3 感知 |
| 视觉模型整图描述(语义,冷路径) |
Phase 3 · Visual QA(5 个)
层级 | 工具 | 说明 |
L4 高级 |
| 按规范检查单个元素:存在/素材/位置/尺寸/裁切/颜色(三态 pass/fail/inconclusive) |
L4 高级 |
| 元素间几何关系:越界/重叠 |
L4 高级 |
| 测试套件编排器:批量检查 + 可选布局分析,汇总报告 |
L4 高级 |
| 判定层:与参考图对比(identical/similar/different,支持 ignore_regions) |
L4 高级 |
| 生命周期层:基线管理 + 判定 + 差异图(支持 ignore_regions 屏蔽动态区域) |
组合工具(1 个)
层级 | 工具 | 说明 |
L3 感知 |
| OCR + 低置信度视觉复核(确定性优先、语义兜底,按行合并碎片) |
Phase 4 · Visual Inspection Runtime(1 个)
层级 | 工具 | 说明 |
L0 运行时 |
| 轮询直到视觉条件成立:text/template/color appears、image_changes、image_stabilizes;超时为 inconclusive |
设计约定(v0.5 基础设施重构)
image_ref:工具间通过
vision://image/xxx引用图像,不传输 Base64;图像落盘于vision_store/或~/.eagleeye/vision_store, 生命周期自动管理(LRU 逐出 + 可选 TTL)坐标系:统一左上角原点
(x, y, width, height),物理像素;region也兼容[x,y,w,h]三坐标系溯源(provenance):所有返回 region 的工具附带
local_region(本图)/root_region(根图)/screen_region(屏幕像素)—— 无论 capture → crop → tile → crop → zoom → OCR 都能追溯回原始像素统一信封:成功
{ok: true, ...};失败{ok: false, error: {code, message}}; 测试类工具三态pass / fail / inconclusive;找不到目标 ≠ 失败 ≠ 工具错误工具选择优先级:
L2 算法视觉 > L3 OCR > L3 视觉模型 > L4 组合—— 优先使用能得到确定性结果的最低层工具,视觉推断负责提假设、确定性工具负责验证confidence 为模型自评/启发式评分,不是校准概率(附 high/medium/low 档位)
capture 语义固化:capture_window = 用户看到的画面(受遮挡); capture_window_graphics = 渲染表面(可后台,不代表屏幕实际显示)
测试与演示
# 单元测试
.venv\Scripts\python -m pytest tests -q
# 端到端 MCP stdio 测试(当前 profile 下已注册工具全链路,真实调用 MCP 协议)
.venv\Scripts\python scripts\test_client.py
# 跳过截图 / 跳过视觉模型调用
.venv\Scripts\python scripts\test_client.py --skip-capture --skip-vision
# Phase 4 闭环演示:基线检查 → 模拟改动 → 回归检出 → 修复确认
.venv\Scripts\python scripts\demo_agent_loop.py
# 自动化游戏截图演示:等待窗口 → bring_to_front → 截图(无人为干预)
.venv\Scripts\python scripts\demo_auto_capture.py文档
docs/PROTOCOL.md — 协议规范(坐标溯源/ImageRef/Observation/错误码/三态/捕获语义)
docs/TOOL_REFERENCE.md — 32 个工具完整参考与工具选择路由
docs/USAGE.md — 工具使用手册(含示例参数与工作流)
docs/HOSTS.md — Claude Desktop / Claude Code / Cursor / DSH / uvx 接入
skill/SKILL.md / skills/eagleeye/SKILL.md — Agent Skills / DSH 薄包装
examples/mcp.uvx.json — 公开发布后的 Host 配置模板
examples/mcp.local.json — 本地已安装时的 Host 配置
server.json — MCP Registry 元数据(PyPI 上线后用于
mcp-publisher)SECURITY.md — 漏洞报告与路径/密钥约定
CHANGELOG.md — 版本变更记录
LICENSE — MIT
已知缺口(beta)
OCR 依赖本机 Tesseract(不会随 pip 安装语言包)
窗口捕获 / Graphics Capture 仅 Windows
默认暴露 32 个工具,部分 Host 上下文会偏紧——用
EAGLEEYE_TOOL_PROFILE=coresave_image/ 回归基线默认只能写到当前工作目录;需要写到别处时设EAGLEEYE_ALLOW_UNRESTRICTED_PATHS=1PyPI 尚未上线;GitHub 已公开,可用
uvx --from git+https://github.com/baimaomaomao556/eagleeye-mcpFastMCP 启动时可能出现上游
IncompleteFieldDefinitionWarning(lifespan前向引用),不影响 stdio
环境依赖
Python ≥ 3.10(开发环境 3.13)
Tesseract OCR(
conda create -n tess -c conda-forge tesseract,自带 chi_sim/eng 语言包, 代码自动探测路径与 TESSDATA_PREFIX)。仅用load_image+ 像素工具时可不装。视觉模型:任意 OpenAI Chat Completions 兼容端点(OpenAI / MIMO / vLLM / 本地网关)。 未配置时
analyze_image等返回MISSING_CONFIG,截图与测量工具仍可用。Windows:
pywin32与windows-capture由 pip 按平台自动安装;其它系统会跳过。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceGUI automation MCP server that enables AI agents to see and control the Windows desktop using a local Vision LLM (Ollama), supporting screenshot analysis, mouse/keyboard actions, and autonomous task execution.4MIT
- Alicense-qualityCmaintenancePixel-level browser automation MCP server that drives a real Chrome browser using screenshots as vision input and OS-level mouse/keyboard as output, evading anti-bot detection.3MIT
- AlicenseAqualityBmaintenanceMCP server for vision AI — screenshots to code, OCR, error diagnosis, and image analysis via OpenAI-compatible APIs.82MIT
- AlicenseAqualityFmaintenanceProvides an MCP server for local low-power screen vision, enabling AI agents to perform OCR and UI detection on inaccessible screens (games, remote desktops) using NPU acceleration and system OCR.51MIT
Related MCP Connectors
Screenshot and HTML render MCP server for AI agents
Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/baimaomaomao556/eagleeye-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server