LichCon/winsys-mcp-server
If you are the rightful owner of winsys-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The winsys-mcp-server is a Model Context Protocol (MCP) server designed to interface with local operating system windows, allowing for listing and capturing screenshots of these windows.
winsys-mcp-server
MCP server to allow llm to list and take screenshots of os windows
Installation
- Make sure you have Python 3.13+ installed
- Install uv
- download the repo:
git clone https://github.com/aurea-dev/winsys-mcp-server.git
Usage
MCP Client Configuration
Below is an example configuration snippet for an MCP client, like Cursor. This configuration would typically be part of a larger JSON configuration file for the MCP client (e.g., .cursor/mcp.json
):
{
"winsys": {
"command": "uv",
"args": [
"run",
"--directory=PATH_TO_DOWNLOADED_REPO",
"mcp",
"run",
"server.py"
]
}
}
Available tools
The server provides the following tools:
list_windows(exclude_zero_area=True, only_on_screen=True)
: Lists all windows in the system with their details (PID, Window ID, position, size, title).take_window_screenshot(window_id)
: Takes a screenshot of a specific window.take_fullscreen_screenshot()
: Takes a screenshot of the entire screen.find_window_by_title(title_search)
: Finds windows by searching in their titles.
Example usage
With an AI assistant like Claude, you can use commands like:
- "List all windows currently on my screen"
- "Take a screenshot of the window with name 'Google Chrome'"
- "Take a full screenshot of my screen"
- "Find all windows that have 'Chrome' in their title"
Tools used
Limitations
This MCP server is currently only compatible with macOS, as it relies on the Quartz framework for window management.