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.
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_windowsget_foreground_windowfocus_windowcapture_screenmove_mouseclick_mousepress_keytype_text
Vision foundation
The src/domain/vision module defines the shared, consumer-facing vision contract:
SceneObservationcarries capture provenance, OCR, and detection results.SceneEventleaves room for optional temporal change notifications.VisionProfileRegistryisolates examples, training-set references, and rules byapplicationId.
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 (
pausedorobserving) 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, orboth - 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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.