C
citydirector/ui-locate-mcp
Screen locator MCP plugin: pixel-exact coordinates for on-screen text and icons, served as a DeepSeek Harness…
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
- ★ 数取值
- 0 ★ · citydirector/ui-locate-mcp · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-02 · 最近见到 2026-11-14 · 共见到 13 次 · 被 1 个来源列出
- 评分构成
- 综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
citydirector/ui-locate-mcp;我们收录于 2026-11-02;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# ui-locate-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
English · 简体中文
Find on-screen UI text locally and return pixel coordinates for desktop interaction. Combined tools can locate, click, type, scroll and attempt to verify the result.
Detection, OCR and actions run locally. Initial setup downloads Python dependencies and a detection model of about 80 MB. A persistent service runs inference; a lightweight MCP process forwards requests.
## Quick start
1. Enter ui-locate-mcp in DSH Plugins → Add plugin, then enable it.
2. Open ui-locate runtime in Settings, choose paths and a backend, and prepare the environment. The Host tool uilocatesetup provides the same preparation path.
3. After preparation, connect or re-enable mcp-ui-locate. Restart if DSH requests it.
4. Call health, then try locatetext(text="Save").
The bundle contains an MCP client, a Host runtime-management plugin and a Client settings page. npm installation supplies the code; Python dependencies and the model require separate setup.
### Requirements
The current bundle's MCP executable path is configured for Windows. Cross-platform Python code does not imply a cross-platform bundle configuration.
The Python project requires Python 3.12+. The settings preparation uses a Python runtime located by the host to create a dedicated environment. Check the desktop installation's bundled runtime if no interpreter can be found.
DirectML is the default backend; cuda and cpu are alternatives. CUDA needs the corresponding NVIDIA environment and larger dependencies. Changing backends requires rebuilding the environment.
package.json currently declares no engines.dsh range. This is not a guarantee of compatibility with every DSH version: the bundle needs tool registration, an MCP client and settings services.
For a Web profile:
~~~sh
dsh plugin --profile web add ui-locate-mcp
~~~
Stop the instance before CLI changes and restart afterwards. Prefer the Plugins page on Desktop; managing its desktop profile requires that installation's CLI and the same DSHHOME.
## Tools
| Tool | Purpose |
| locatetext | Find matching UI text and its center coordinates |
| findall | Return multiple matching candidates |
| detectelements | Enumerate detected elements |
| uilocatemarks | Screenshot with numbered marks (and an optional named grid) so the model picks a number instead of guessing pixels |
| uilocateact | Locate, perform an action and attempt verification |
| uilocatesteps | Run ordered steps and identify failures |
| uilocatewindows | List top-level windows (title, handle, client rect, foreground) |
| uilocatediff | Where the screen changed since the last call, as rectangles (no image, no vision tokens) |
| uilocatewatch | Record a few seconds and return one image of the keyframes, cropped to what changed |
| uilocateframes / uilocateframe | List or retrieve recent action frames |
| listmonitors | Display sizes, origins and indices |
| health | Check service readiness |
| uilocatesetup | Prepare or rebuild Python dependencies and models |
The first twelve entries come from MCP; the last two are Host tools. The host may prefix tool names with a namespace.
~~~python
locatetext(text="Save", monitor="primary")
uilocateact(text="Save", action="click", monitor="primary")
Find on-screen UI text locally and return pixel coordinates for desktop interaction. Combined tools can locate, click, type, scroll and attempt to verify the result.
Detection, OCR and actions run locally. Initial setup downloads Python dependencies and a detection model of about 80 MB. A persistent service runs inference; a lightweight MCP process forwards requests.
## Quick start
1. Enter ui-locate-mcp in DSH Plugins → Add plugin, then enable it.
2. Open ui-locate runtime in Settings, choose paths and a backend, and prepare the environment. The Host tool uilocatesetup provides the same preparation path.
3. After preparation, connect or re-enable mcp-ui-locate. Restart if DSH requests it.
4. Call health, then try locatetext(text="Save").
The bundle contains an MCP client, a Host runtime-management plugin and a Client settings page. npm installation supplies the code; Python dependencies and the model require separate setup.
### Requirements
The current bundle's MCP executable path is configured for Windows. Cross-platform Python code does not imply a cross-platform bundle configuration.
The Python project requires Python 3.12+. The settings preparation uses a Python runtime located by the host to create a dedicated environment. Check the desktop installation's bundled runtime if no interpreter can be found.
DirectML is the default backend; cuda and cpu are alternatives. CUDA needs the corresponding NVIDIA environment and larger dependencies. Changing backends requires rebuilding the environment.
package.json currently declares no engines.dsh range. This is not a guarantee of compatibility with every DSH version: the bundle needs tool registration, an MCP client and settings services.
For a Web profile:
~~~sh
dsh plugin --profile web add ui-locate-mcp
~~~
Stop the instance before CLI changes and restart afterwards. Prefer the Plugins page on Desktop; managing its desktop profile requires that installation's CLI and the same DSHHOME.
## Tools
| Tool | Purpose |
| locatetext | Find matching UI text and its center coordinates |
| findall | Return multiple matching candidates |
| detectelements | Enumerate detected elements |
| uilocatemarks | Screenshot with numbered marks (and an optional named grid) so the model picks a number instead of guessing pixels |
| uilocateact | Locate, perform an action and attempt verification |
| uilocatesteps | Run ordered steps and identify failures |
| uilocatewindows | List top-level windows (title, handle, client rect, foreground) |
| uilocatediff | Where the screen changed since the last call, as rectangles (no image, no vision tokens) |
| uilocatewatch | Record a few seconds and return one image of the keyframes, cropped to what changed |
| uilocateframes / uilocateframe | List or retrieve recent action frames |
| listmonitors | Display sizes, origins and indices |
| health | Check service readiness |
| uilocatesetup | Prepare or rebuild Python dependencies and models |
The first twelve entries come from MCP; the last two are Host tools. The host may prefix tool names with a namespace.
~~~python
locatetext(text="Save", monitor="primary")
uilocateact(text="Save", action="click", monitor="primary")
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/citydirector-ui-locate-mcp/)
- 来源
- github · https://github.com/citydirector/ui-locate-mcp
- 按领域浏览
- 开源项目
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。