# XuLan ScreenPilot

> XuLan ScreenPilot is an open-source MCP server for browser automation. Windows screen-to-element table that lets AI agents click and type by numbered id. It is available on Windows, CLI and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, CLI, Self-hosted
- **Repository:** https://github.com/dahuam/screenpilot
- **MCP Registry name:** io.github.dahuam/screenpilot
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-18

## About

The README says ScreenPilot takes a Windows desktop and converts it into a numbered table of on-screen elements, so an agent can refer to a control by id instead of guessing pixel coordinates from a screenshot. Three engines run side by side: the Windows UI Automation tree for native apps and browsers, RapidOCR for games and custom-drawn interfaces, and OpenCV shape detection for icons. Their results are fused into one table with a shared priority order.

Beyond the initial scan, the project keeps element ids stable across rescans, can capture windows that are covered, and reports which top-level window a click actually lands on. Clicks can be gated on visible evidence text appearing, and sessions track windows the agent opened so they can be closed at the end of a task.

It suits developers building local GUI automation with MCP-capable agents on Windows who want CPU-only operation without a cloud vision model or API key.

## Features

- **Numbered element table:** Converts the screen into a list of clickable and readable elements, each with an id the agent can act on.
- **Multi-engine recognition:** Combines accessibility tree data, OCR and visual detection, with accessibility results taking priority.
- **Stable ids across rescans:** Keeps the same element on the same id between frames, and reports kept, new and lost elements.
- **Evidence-gated clicks:** Can wait for expected text to appear or disappear before treating an action as successful.
- **Background window capture:** Grabs the pixels of a covered window without bringing it to the foreground.
- **Session window cleanup:** Tracks windows the agent launched and closes them gently at task end, with safety checks.

## Good for

- Letting an agent operate legacy Windows desktop applications that lack an API
- Automating clicks and text entry in native apps and browsers on a local machine
- Driving games or custom-drawn interfaces where no accessibility tree is exposed
- Verifying that a dialog or confirmation appeared before continuing a workflow
- Running offline GUI tests against a static screenshot file

## Tools

From the tool list in its README, going by the names, 1 of 20 tools changes data; 19 names don't say. From the server's own tool labels and tool names; not verified by us.

- `scan_screen`: Scan a window into a numbered element table.
- `scan_image`: Run the same engines offline on a static image file.
- `click_element`: Click an element by its id.
- `click_safe`: Click an element and check for expected evidence text.
- `click_xy`: Click at explicit screen coordinates.
- `type_text`: Type text into an element by id.
- `press_key`: Send a keyboard key press.
- `scroll_screen`: Scroll the screen or a window.
- `snap_screen`: Capture a screenshot.
- `crop_screen`: Crop a region of the screen at native resolution.
- `crop_xy`: Crop a region around screen coordinates.
- `book_find` (name suggests: changes): Query the persistent element book by text or image.
- `watch_burst`: Capture rapid frames to catch transient feedback.
- `verify_typing`: Check that typed text appeared correctly.
- `probe_hang`: Check whether a window is responding.
- `split_static_dynamic`: Separate static UI from moving entities across frames.
- `window_stack`: List top-level windows in stacking order.
- `activate_window`: Bring a window to the foreground.
- `register_window`: Log a window the agent launched for later cleanup.
- `cleanup_windows`: Close logged windows at task end using WM_CLOSE.

## FAQ

### Does ScreenPilot need a cloud model or API key?

The README says it runs on pure local CPU with no cloud model, no GPU and no API key required.

### Which operating systems are supported?

The install requirements list Windows 10 or 11 with Python 3.11 or newer.

### How is the server connected to an AI client?

It runs as a stdio MCP server, and the README gives a configuration example for Claude Desktop and ZCode.

### What license is the project released under?

The core engine in the repository is licensed under Apache License 2.0; commercial integrations are not part of the repository.

### Is XuLan ScreenPilot free?

Yes. XuLan ScreenPilot is open source, so you can use and self-host it for free.

### What are the best alternatives to XuLan ScreenPilot?

The closest alternatives to XuLan ScreenPilot are Clawdcursor, bad-ass-mcp, Cdpilot, Auten and ApexUse — Computer Use MCP Server.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.

## Alternatives

- [Clawdcursor](https://ai-powered.com/mcp/clawdcursor): Clawdcursor is an open-source MCP server for browser automation.
- [bad-ass-mcp](https://ai-powered.com/mcp/bad-ass-mcp): bad-ass-mcp is an open-source MCP server for developer tools.
- [Cdpilot](https://ai-powered.com/mcp/cdpilot): Cdpilot is an open-source MCP server for browser automation.
- [Auten](https://ai-powered.com/mcp/auten): Auten is a freemium MCP server for browser automation.
- [ApexUse — Computer Use MCP Server](https://ai-powered.com/mcp/apexuse-computer-use-mcp-server): ApexUse — Computer Use MCP Server is an open-source MCP server for browser automation.
- [Munim Computer Use](https://ai-powered.com/mcp/munim-computer-use): Munim Computer Use is an open-source MCP server for browser automation.
- [Glovebox MCP](https://ai-powered.com/mcp/glovebox-mcp): Glovebox MCP is an open-source MCP server for browser automation.
- [Swing MCP](https://ai-powered.com/mcp/swing-mcp): Swing MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/xulan-screenpilot
