Winsight
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Winsight
A local MCP server for Windows desktop automation through compact text observations.
Winsight is a local Model Context Protocol (MCP) server. It lets an AI agent inspect and operate Windows apps through Windows UI Automation, the accessibility interface used by screen readers. Instead of identifying every button from an image, the agent receives controls it can address directly:
w1 "Calculator" CalculatorApp.exe
e1 button "Clear"
e2 button "Seven"
e3 text "Display is 0"After an action, Winsight returns changed elements. For longer tasks, the agent can submit several steps in one call and check the resulting UI state. Screenshots and OCR are available when an app's accessibility tree is insufficient.
Installation
You need Windows 10/11, Python 3.10+ and an MCP client that can launch a local process. Use a normal signed-in desktop account.
git clone https://github.com/hegdeadithyak/winsight-mcp.git
cd winsight-mcp
py -3 scripts/setup_agent.py --client codexThe setup command installs into an isolated environment, runs machine checks and prints configuration for your client. It does not edit client settings. Merge the printed configuration, restart the MCP connection and give your agent AGENTS.md and the skill.
Substitute claude-code, claude-desktop, cursor, vscode or json for codex as needed. Installation and troubleshooting.
Try this first:
Use Winsight to list my open windows and inspect Calculator. Describe its controls without clicking or typing.
Related MCP server: Netwright
How it works
list_windowsidentifies an app window.snapshotreturns visible controls, stable element ids and state flags.runexecutes a flow using selectors such asbutton "Save".expectchecks the resulting visible state; the reply reports completion, changes and failures.
{
"window": "Calculator",
"steps": [
{"click": "button \"Clear\""},
{"click": "button \"Three\""},
{"click": "button \"Plus\""},
{"click": "button \"Seven\""},
{"click": "button \"Equals\"", "expect": "text \"Display is 10\""}
]
}Labels depend on the app version and language. Inspect the actual controls before choosing selectors. Usage guide.
Features
Contextual targets: scope a selector within a named document or container.
Stale-element recovery: check identity and ancestor context before reusing a target.
Verified outcomes: distinguish input delivery from an observed result.
Timeout isolation: quarantine unfinished worker calls and block later input dispatch after cancellation.
Compact observations: deduplicate runtime identities, return changes and batch workflows to reduce repeated context.
Architecture and failure handling explains the tradeoffs. These mechanisms reduce risk; they do not make arbitrary app actions transactional.
Evidence and limitations
Published evidence includes a GPT Calculator pilot, ten complex multi-app tasks, an earlier ten-task Claude session, engine CPU profiles and token-size measurements. Results include failures and tasks where screenshots were faster. Permissions, versions and timing methods differ between studies; actual billed token usage was unavailable. See the task tables, token measurements and limitations.
UI Automation coverage varies. Canvas apps, games and remote desktops may need screenshots. Physical input may require foreground focus. A signed-in interactive desktop is required. Elevation and some protected windows impose additional restrictions. An already dispatched action cannot be recalled when a timeout occurs.
Privacy and control
The server runs locally, but observations returned to your AI client can be sent to that client's model provider. Treat desktop text as sensitive. Debug traces and learned workflow examples may retain app content locally. Debugging cannot expose a model's private reasoning. Review logs before sharing. Privacy guide.
Contribute
Report a reproducible issue using scratch data, improve client setup, or add regression coverage for an accessibility failure. Contributing includes development commands and reporting guidance.
Documentation
Guide | Contents |
Requirements, client configuration, updates and troubleshooting | |
Setup and operating conventions for AI agents | |
Observations, selectors, workflows and recovery | |
Target identity, caching, execution and timeout handling | |
Data flow, local traces and tool approvals | |
Complex tasks, pilots, token measurements and limitations |
Source: hegdeadithyak/winsight. Licensed under MIT.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Let AI see and use your own Windows PC with your permission: screen, apps, mouse and keyboard.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Windows computers for AI agents. Office, desktop apps, browser tasks, testing and file transfer.
Real desktops for AI agents, on machines you choose: screenshot, type, click, hire more agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to automate Windows desktop applications through semantic UI Automation instead of brittle coordinate clicks, with tools for discovering windows, finding controls by stable identifiers, and verifying actions.30 PyPI6MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to launch, inspect, and operate WPF, WinForms, and WinUI desktop applications through UI Automation, with compact snapshots, background actions, state verification, and export to regression tests.25MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with and automate Windows desktop applications, providing UI inspection, mouse/keyboard control, OCR, and window management for QA tasks.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to inspect and operate Windows applications through structured UI Automation maps, humanized mouse and keyboard input, and on-demand screenshots or OCR via MCP. It supports locating elements by role, name, or query; clicking, typing, scrolling, window management, event watching, and chained multi-step actions without relying on image analysis.MIT