swift-mcp-gui
If you are the rightful owner of swift-mcp-gui 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.
Swift MCP GUI Server is a Model Context Protocol server that allows controlling Mac OS X through SwiftAutoGUI, providing tools for programmatically controlling the mouse and keyboard.
The Swift MCP GUI Server is designed to facilitate the control of macOS systems using the SwiftAutoGUI library. It enables users to programmatically manage mouse and keyboard actions through MCP clients, making it a powerful tool for automation and scripting on macOS. The server requires macOS 15.0 or later, Swift 6.0 or later, and Xcode 16.0 or later. Installation involves cloning the repository and setting up the server with the MCP client. The server offers various tools for mouse movement, clicks, keyboard input, and scrolling, providing comprehensive control over the system's input devices. Users should be cautious about security, as the server has full control over the mouse and keyboard, and should only connect trusted MCP clients.
Features
- Mouse Movement: Allows precise control of the mouse cursor by specifying x and y coordinates.
- Mouse Clicks: Enables performing left or right mouse clicks at the current cursor position.
- Keyboard Input: Facilitates sending keyboard shortcuts or key combinations for automation.
- Scrolling: Provides functionality to scroll in specified directions with a defined number of clicks.
Tools
moveMouse
Move the mouse to the specified coordinates
mouseClick
Execute a mouse click
sendKeys
Send keyboard input
scroll
Perform a scrolling operation