win-ctrl-mcp
Verified Safeby huegli
Overview
Provides an MCP server to enable LLMs to control the AeroSpace window manager on macOS for window organization, smart focus, and GUI debugging.
Installation
uv run win-ctrl-mcpSecurity Notes
The server executes external macOS commands (`aerospace`, `screencapture`) via subprocesses. While arguments passed to these commands are mostly controlled (e.g., numerical IDs are cast to strings), string arguments like `output_path` for capture tools could potentially allow an instructed LLM to specify malicious file paths for overwriting. However, `subprocess.run` and `asyncio.create_subprocess_exec` are used without `shell=True`, mitigating shell injection for direct arguments. It is primarily designed for a local, single-user desktop environment, reducing external attack vectors. No `eval` or obvious hardcoded secrets were found.
Similar Servers
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
mcp-router
A desktop application that simplifies the management and aggregation of Model Context Protocol (MCP) servers.
macos-automator-mcp
Transforms an AI assistant into a macOS automation agent, enabling it to execute AppleScript and JXA commands to control applications and system functions.
MCPbundler
Manages and runs Agent Skills and Model Context Protocol (MCP) servers locally on macOS, providing a unified endpoint for various AI clients and automation workflows.