MCP Test Utils logo

MCP Test Utils

Automates Windows desktop interfaces with screenshots, OCR, UI Automation, input controls, and repeatable test scenarios.

Install MCP Test Utils

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for MCP Test Utils, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

MCP Test Utils connects AI agents to Windows desktop applications through screenshots, OCR, window management, mouse and keyboard input, and UI Automation. It can inspect accessible controls, perform actions, wait for UI state changes, check accessibility, monitor process resources, and search configured files. Saved scenarios can be recorded and replayed as regression tests without an agent, including suite, data-row, and JUnit-report modes. Reach for it when an agent needs to test or operate a Windows GUI rather than an API.

Use cases

  • Test Windows desktop workflows with screenshots and UI Automation
  • Replay saved scenarios after each application build
  • Record a GUI workflow into a reusable test scenario
  • Check accessibility and monitor application resource usage

Key features

  • Windows desktop screenshots and OCR
  • Mouse, keyboard, and window controls
  • UI Automation inspection and actions
  • Scenario recording and regression replay
  • Accessibility and process-resource checks
  • Configured file search and session logging

Tools31

What MCP Test Utils lets your agent do. Expand a tool for its parameters.

Self-reported~722 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/20 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Tools exposed31Callable tools this server registers over MCP.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Test Utils works

What MCP Test Utils does

MCP Test Utils provides MCP tools for interacting with Windows desktop applications. Agents can capture the desktop or a particular window, extract visible text with Windows OCR, inspect windows and UI Automation elements, and control applications with mouse and keyboard input. Structured UI access exposes element names, values, states, identifiers, and coordinates, while direct actions can invoke, toggle, expand, select, set values, or scroll elements into view.

The server also supports repeatable desktop testing. An agent can record work in one window into a draft scenario, then replay a saved scenario, suite, or set of data rows. The standalone executable can run scenarios from the command line and return exit codes and reports suitable for CI jobs. Other tools check accessibility, inspect application resource usage, search permitted directories, and optionally record tool calls with screenshots.

How it works

The server runs as a single Windows x64 executable and communicates with an MCP client over its configured command entry. A typical interaction combines observation and action: inspect windows or UI elements, focus the target, perform an input or UI Automation action, then wait for the expected state or capture the result. Mouse operations can target coordinates or identified elements, and keyboard typing verifies the resulting field content.

Scenarios are JSON files. The command-line runner can validate a scenario without changing anything, execute one, run several in sequence as a suite, or repeat it for each row in a CSV file. Reports include pass/fail information; failed steps can produce a screenshot, element tree, and diagnostic hint.

Setup and configuration

Download mcp-test-utils.exe from the project releases and register it as an MCP server using the client’s command configuration. Claude Desktop uses its claude_desktop_config.json file, while Claude Code can add the executable with claude mcp add. Restart the client, then request a screenshot to verify the connection.

Optional environment variables control extra tools. Set MCP_SEARCH_DIRS to semicolon-separated directories to expose file search, MCP_LAUNCH_APPS to allowlisted executable paths for application launching, and MCP_LOG_DIR to enable session logging. MCP_LOG_MAX_MB and MCP_LOG_RETAIN_DAYS adjust logging limits and retention.

Tools and capabilities

  • Capture full-desktop or window screenshots and read screen or region text with OCR.
  • List, focus, launch, resize, and close windows.
  • Click, move, drag, scroll, type Unicode text, press keys, and send shortcuts.
  • Inspect UI Automation trees, focused controls, document text, and accessibility defects.
  • Wait for windows or element states, batch up to 20 calls, and assert results.
  • Record and replay scenarios, suites, and data-driven runs.
  • Search configured files, inspect process resources, prepare masked feedback, and log sessions.

Limitations and notes

The executable currently targets Windows x64; macOS and Linux builds are not available. Application launching is restricted to programs listed in MCP_LAUNCH_APPS. File-search tools appear only when MCP_SEARCH_DIRS is configured, and logging tools appear only when MCP_LOG_DIR is set.

Scenario execution without a license key is limited to 50 steps. Recording excludes password-field contents, and terminal text is recorded only when the recording command enables key-text capture. Logging is opt-in rather than automatic.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Test Utils

MCP Test Utils is an MCP server that connects AI agents to Windows desktop applications through screenshots, OCR, window management, mouse and keyboard input, and Windows UI Automation. Its main tools inspect and control interfaces, run saved scenarios, record actions, search allowed files, check accessibility, and monitor application resources.

Download the Windows x64 executable from the project releases and add its path as an MCP server command. Claude Desktop uses its MCP configuration file, while Claude Code supports `claude mcp add`; restart the client before trying a screenshot request.

No. MCP Test Utils currently provides a Windows x64 executable, with no macOS or Linux builds available.

Set `MCP_SEARCH_DIRS` to the directories the server may search, separating multiple paths with semicolons. The `search_in_files` and `find_files` tools are exposed when this variable is configured.

Run a saved scenario with `mcp-test-utils --run order-form.json`. The command reports the result in the console and writes a report file; suites, CSV data rows, validation, and JUnit output are also supported.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Test Utils AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-test-utils?style=directory)](https://allmcps.com/mcp/mcp-test-utils)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-test-utils"><img src="https://allmcps.com/api/badge/mcp-test-utils?style=directory" alt="MCP Test Utils on AllMCPs" /></a>