Swift MCP GUI Server
by NakaokaRei
A Model Context Protocol (MCP) server that allows controlling Mac OS X through SwiftAutoGUI. It provides tools for programmatically controlling the mouse and keyboard through MCP clients.
Last updated: N/A
What is Swift MCP GUI Server?
Swift MCP GUI Server is an MCP server designed to control macOS programmatically. It leverages SwiftAutoGUI to provide tools for manipulating the mouse and keyboard, enabling automated interactions with the operating system.
How to use Swift MCP GUI Server?
To use the server, first clone the repository and install the necessary dependencies using Swift Package Manager. Then, configure your MCP client to include the server's command path. Once configured, you can use the provided tools (moveMouse, mouseClick, sendKeys, scroll) by sending appropriate commands from your MCP client.
Key features of Swift MCP GUI Server
Mouse movement control
Mouse click simulation
Keyboard input (sendKeys)
Scrolling control
Programmatic macOS control
Use cases of Swift MCP GUI Server
Automated testing of macOS applications
Remote control of macOS systems
Accessibility tools development
Scripting repetitive tasks on macOS
Integration with other automation frameworks
FAQ from Swift MCP GUI Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a protocol for communication between applications.
What is SwiftAutoGUI?
What is SwiftAutoGUI?
SwiftAutoGUI is a Swift library for automating GUI interactions on macOS.
What macOS versions are supported?
What macOS versions are supported?
macOS 15.0 or later is required.
What Swift version is required?
What Swift version is required?
Swift 6.0 or later is required.
Is this server secure?
Is this server secure?
This server has full control over your mouse and keyboard. Be careful when running it and only connect trusted MCP clients.