Windows Seek-n-Control
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.
Windows Seek-n-Control
A powerful Windows automation MCP (Model Context Protocol) server that enables AI agents to control Windows applications. Provides tools for capturing screenshots with OCR, clicking, and typing in any window.
🤖 Built for AI Agents - Seamlessly integrates with Claude Desktop, LM Studio, and any MCP-compatible LLM client.
🚀 Features
Tool | Description |
| List all visible windows with titles and dimensions |
| Get detailed info about a specific window |
| Capture screenshot + OCR text extraction |
| Click at window-relative coordinates |
| Type text or send keystrokes (supports combos like Ctrl+S) |
| List all available key names |
Related MCP server: pov
📦 Prerequisites
Python 3.10+
Tesseract OCR (Required for text extraction)
Download from UB-Mannheim/tesseract
Install dependencies:
pip install -r requirements.txtOr with uv:
uv sync
🤖 MCP Server Configuration
Claude Desktop
Add to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"windows-control": {
"command": "python",
"args": ["c:/Users/izzat/Desktop/tmpp/windows-seek-n-control/server.py"]
}
}
}With uv (Recommended)
{
"mcpServers": {
"windows-control": {
"command": "uv",
"args": ["run", "--directory", "c:/Users/izzat/Desktop/tmpp/windows-seek-n-control", "python", "server.py"]
}
}
}Generic MCP Client
{
"mcpServers": {
"windows-control": {
"type": "stdio",
"command": "python",
"args": ["/path/to/server.py"],
"env": {}
}
}
}LM Studio / Other Agents
For agents that support MCP, configure the stdio transport:
Command:
pythonArguments:
["path/to/server.py"]Transport:
stdio
🛠️ Development & Testing
Run with MCP Inspector
# Start the development server with inspector UI
uv run mcp dev server.py
# Or without uv
npx -y @modelcontextprotocol/inspector python server.pyDirect Execution
# Run the server directly (will wait for JSON-RPC input on stdin)
python server.pyInstall in Claude Desktop
uv run mcp install server.py --name "Windows Control"📖 Tool Usage Examples
List Windows
{
"tool": "list_windows",
"arguments": {}
}Capture Screenshot with OCR
{
"tool": "snap_window",
"arguments": {
"window_title": "Notepad",
"extract_text": true,
"output_path": "C:/screenshots/notepad.png"
}
}Click in Window
{
"tool": "click_window",
"arguments": {
"window_title": "Chrome",
"x": 100,
"y": 200,
"button": "left",
"double_click": false
}
}Type Text
{
"tool": "type_in_window",
"arguments": {
"window_title": "Notepad",
"text": "Hello, World!"
}
}Send Keyboard Shortcut
{
"tool": "type_in_window",
"arguments": {
"window_title": "Notepad",
"keys": ["ctrl+s"]
}
}🔧 CLI Tools (Legacy)
The original command-line tools are still available:
📸 Snap Tool (snap.py)
python snap.py "notepad" # Capture & OCR
python snap.py "report.pdf" -o evidence.png # Custom output🖱️ Click Tool (click_tool.py)
python click_tool.py "notepad" --x 100 --y 200 # Left click
python click_tool.py "explorer" --x 50 --y 50 --double # Double click
python click_tool.py "chrome" --x 300 --y 150 --right # Right click
python click_tool.py --list # List windows⌨️ Type Tool (type.py)
python type.py "notepad" --text "Hello World" # Type text
python type.py "word" --key ctrl+s # Save shortcut
python type.py "chrome" --text "search" --key enter
python type.py --keys # List available keys❓ Troubleshooting
Issue | Solution |
"Window not found" | Use partial titles. Run |
OCR not working | Install Tesseract OCR from the link above |
Clicks missing | Ensure window is not covered by admin-level apps |
MCP connection failed | Check the path in your config is correct and absolute |
"MCP SDK not installed" | Run |
🤝 Contributing
Contributions are welcome! Here's how you can help:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Ideas for Contributions
Additional MCP tools (drag & drop, scroll, etc.)
Better error handling and recovery
Support for multi-monitor setups
Performance optimizations
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
Model Context Protocol - The standard for AI tool integration
Tesseract OCR - Open source OCR engine
pywin32 - Windows API bindings for Python
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
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
1Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityAmaintenanceWindows desktop automation MCP server — screenshot, mouse, keyboard & UI Automation. Lets LLM agents see and control your Windows desktop directly.30448 npm27MIT
- AlicenseAqualityDmaintenanceEnables LLM agents to capture screenshots, control mouse/keyboard, and manage windows on desktop platforms, primarily Windows, via an MCP server.161MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients on Windows to control the local mouse, keyboard, and screen understanding via MCP stdio, allowing automated workflows like viewing the screen, locating elements, clicking, typing, and verifying results.1Apache 2.0
- AlicenseAqualityBmaintenanceEnables any AI agent to perceive and control a Windows desktop through live screen capture, OCR, and safety-gated mouse/keyboard actions via a local HTTP API and MCP.1610MIT