Swiftautogui
An MCP server for controlling Mac OS X through SwiftAutoGUI, providing the function of programmatically controlling the mouse and keyboard
rating : 2.5 points
downloads : 25
What is Swift MCP GUI Server?
Swift MCP GUI Server is a service based on the Model Context Protocol (MCP) that allows you to programmatically control the mouse and keyboard operations of macOS. This server serves as the backend of SwiftAutoGUI, providing a series of automated control tools.How to use Swift MCP GUI Server?
You need to install the server first, and then configure the corresponding commands in your MCP client. After installation, you can control operations such as mouse movement, clicking, keyboard input, and scrolling by sending instructions.Use cases
Suitable for scenarios such as automated testing, batch operations, assistive function development, and scenarios that require programmatic control of the computer.Main features
Mouse movement controlPrecisely control the mouse to move to any coordinate position on the screen
Mouse click simulationSimulate left or right mouse click operations
Keyboard input simulationSend single-key or combination-key input, supporting common modifier keys
Scroll controlSimulate the up, down, left, and right scrolling of the mouse wheel
Advantages and limitations
Advantages
Provide precise mouse and keyboard control
Support native macOS event simulation
Lightweight and responsive
Easy to integrate into existing MCP clients
Limitations
Only support macOS 15.0 and above
Require user authorization for assistive function permissions
Limited support for multi-monitor configurations
How to use
Clone the repository
Clone the project from GitHub to your local machine
Install the server
Install the server using the Swift Package Manager
Configure the MCP client
Add server commands to your MCP client configuration file
Usage examples
Automated file copyingAutomatically copy files using mouse and keyboard operations
Batch file renamingRename multiple files in batches using keyboard shortcuts
Frequently Asked Questions
Why doesn't my mouse movement work?
Does it support Windows or Linux?
How can I check if the server is running normally?
Related resources
SwiftAutoGUI project
A Swift library for controlling the macOS GUI
MCP protocol documentation
Official documentation for the Model Context Protocol
Installation video tutorial
Video tutorial on installing and using Swift MCP GUI Server
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
566
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points