Skip to main content
Glama
BestCodeTools

Clara Windows UI MCP

Clara Windows UI MCP

Local-only MCP server for Windows UI automation oriented toward difficult targets such as game windows, legacy desktop apps, and surfaces that do not expose UI Automation reliably.

Why this exists

The built-in computer-use flow is convenient, but it can struggle with windows that render through game engines or custom graphics pipelines. This MCP takes a lower-level path:

  • enumerate and focus windows through HWND

  • drive mouse and keyboard input through native Win32 APIs

  • capture the desktop or a target window to PNG files

  • expose the same behavior through MCP stdio and a small local HTTP API

Related MCP server: OmniFlow

Current toolset

  • list_windows

  • get_foreground_window

  • focus_window

  • capture_screen

  • move_mouse

  • click_mouse

  • press_key

  • type_text

Vision foundation

The src/domain/vision module defines the shared, consumer-facing vision contract:

  • SceneObservation carries capture provenance, OCR, and detection results.

  • SceneEvent leaves room for optional temporal change notifications.

  • VisionProfileRegistry isolates examples, training-set references, and rules by applicationId.

Capture and detection implementations are intentionally not part of this foundation. Consumers should depend on the scene/event contract rather than detector internals.

Vision service and tray

The native projects use the same safe session boundary as the Clara Cursor:

ClaraVisionBroker Windows service -> local named pipe -> ClaraVisionTray user-session agent
  • The broker persists the high-level observation state (paused or observing) and relays it locally.

  • The tray shows that state and lets the user start or pause observation.

  • Neither component captures the desktop or performs automation. A future session agent will connect the existing opt-in capture pipeline only after a target selection and capture policy are defined.

Build native/ClaraVisionBroker and native/ClaraVisionTray in Release. Then run scripts/install-vision-service.cmd from an elevated Command Prompt and scripts/install-vision-tray.cmd from the interactive user session.

Run

npm.cmd install
npm.cmd run build
npm.cmd run start:stdio

For local diagnostics:

npm.cmd run start:api

Architecture choices

  • run mode: stdio, api, or both

  • deployment profile: local-only

  • authentication: none

  • storage: local file output only for captures

  • organization: CQRS-style commands and queries with transport adapters

Notes

  • Screenshots are written under captures/.

  • This first version avoids UIA on purpose so it remains useful for games and canvas-rendered apps.

  • The next logical upgrade is target-aware matching by template image, pixel region, or OCR.

Install Server
F
license - not found
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables comprehensive Windows desktop automation including screen capture, OCR text extraction, mouse/keyboard control, window management, process control, and clipboard operations through 25+ tools for AI agents.
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to automate Windows desktop applications through window manipulation, image recognition, OCR, keyboard/mouse simulation, and memory operations via the MCP protocol.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.
    1

View all related MCP servers

Related MCP Connectors

  • Eyes and hands on real Windows PCs — observe, click, type via Glasswarp API.

  • AI-powered browser automation — navigate, click, fill forms, and extract data from any website.

  • Automate cloud browsers to navigate websites, interact with elements, and extract structured data.…

View all MCP Connectors

Latest Blog Posts

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/BestCodeTools/clara-windows-ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server