desktop_switch_window
Focus specific windows
How to use it
desktop_switch_window is exposed by the EdgeBox MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the desktop_switch_window tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install EdgeBox
pip install fastmcpOther tools in EdgeBox (27)
List all windows with titles and IDs
Execute key combinations (Ctrl+C, Alt+Tab, etc.)
Press specific keys (Return, Escape, Tab, etc.)
Type text with clipboard support for non-ASCII
Launch applications by name
Maximize windows
Minimize windows
Perform mouse clicks (left/right/middle)
Double-click actions
Drag from one position to another
Move cursor to coordinates
Scroll up/down with configurable amount
Resize windows to specific dimensions
Capture desktop screenshots (PNG format)
Add delays between actions
Execute Bash scripts
Execute Java code
Execute Python code in isolated environment
Execute R code for statistical analysis
Execute TypeScript/JavaScript code
Get file metadata and information
List files in directories
Read file contents
Monitor directory changes in real-time
Write content to files
Run shell commands (stateful, persistent environment)
Run commands in background with process management