Clara Windows UI MCP

Clara Windows UI MCP

Enables local Windows UI automation and screen capture, targeting windows that are difficult to automate such as games and legacy apps, with tools for window management, mouse and keyboard input, and desktop capture.

Category
Visit Server

README

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

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured