swift-mcp-gui

NakaokaRei/swift-mcp-gui
★ 59 stars Swift Code/Dev Tools Updated today
MCP server that can execute commands such as keyboard input and mouse movement on macOS
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "swift-mcp-gui": {
      "command": "npx",
      "args": [
        "-y",
        "NakaokaRei/swift-mcp-gui"
      ]
    }
  }
}

README Excerpt

A Model Context Protocol (MCP) server that allows controlling macOS through [SwiftAutoGUI](https://github.com/NakaokaRei/SwiftAutoGUI). This server provides tools for programmatically controlling the mouse and keyboard through MCP clients. - macOS 15.0 or later - Swift 6.0 or later - Xcode 16.0 or later

Tools (20)

buttoncaptureRegioncaptureScreenclicksdirectionexecuteAppleScriptexecuteAppleScriptFilefilenamegetPixelColorgetScreenSizeheightkeysmouseClickmoveMouseoutputpathqualitysaveScreenshotscalescript

Topics

automationmcpmcp-serverswift