I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

Swift-MCP-Gui
Serveur MCP qui peut exécuter des commandes telles que l'entrée du clavier et le mouvement de la souris sur macOS
3 years
Works with Finder
1
Github Watches
1
Github Forks
15
Github Stars
Swift MCP GUI Server
A Model Context Protocol (MCP) server that allows controlling Mac OS X through SwiftAutoGUI. This server provides tools for programmatically controlling the mouse and keyboard through MCP clients.
Requirements
- macOS 15.0 or later
- Swift 6.0 or later
- Xcode 16.0 or later
Installation
- Clone this repository:
git clone https://github.com/NakaokaRei/swift-mcp-gui.git
cd swift-mcp-gui
- Install
swift package experimental-install
- Add command to your MCP client.
{
"mcpServers" : {
"swift-mcp-gui" : {
"command" : "/Users/USERNAME/.swiftpm/bin/swift-mcp-gui"
}
}
}
Available Tools
The server provides the following tools for controlling macOS:
1. Mouse Movement
- Tool name:
moveMouse
- Input:
-
x
: double (x-coordinate) -
y
: double (y-coordinate)
-
- Moves the mouse cursor to the specified coordinates
2. Mouse Clicks
- Tool name:
mouseClick
- Input:
-
button
: String ("left" or "right")
-
- Performs a mouse click at the current cursor position
3. Keyboard Input
- Tool name:
sendKeys
- Input:
-
keys
: Array of strings (key names)
-
- Sends keyboard shortcuts or key combinations
- Example keys: "command", "control", "option", "shift", "return", "space", "a", "1", etc.
4. Scrolling
- Tool name:
scroll
- Input:
-
direction
: String ("up", "down", "left", "right") -
clicks
: Integer (number of scroll clicks)
-
- Performs scrolling in the specified direction
Security Considerations
This server has full control over your mouse and keyboard. Be careful when running it and only connect trusted MCP clients.
License
MIT License
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Advanced software engineer GPT that excels through nailing the basics.
Therapist adept at identifying core issues and offering practical advice with images.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Reviews

user_BtxQLRN9
The swift-mcp-gui by NakaokaRei is a fantastic tool for MCP applications. The interface is intuitive, making the MCP processes smooth and efficient. The open-source nature on GitHub is a bonus, allowing for community contributions and improvements. Highly recommend for anyone in need of a robust GUI for MCP tasks!