Enterprise DNA
M MCP Servers Developer low

NakaokaRei/swift-mcp-gui

by Various

MCP server that can execute commands such as keyboard input and mouse movement on macOS

N

MCP

NakaokaRei/swift-mcp-gui

Added 1 June 2026

#automation #mcp #mcp-server #swift

Overview

An MCP server for macOS that executes GUI automation commands including keyboard input and mouse movement. It listens for MCP requests and performs the corresponding actions on the desktop.

Best for

Best for
Developers building macOS automation tools or AI agents that need GUI control

Use cases

  • Automating repetitive GUI workflows on macOS
  • Programmatically testing macOS application interfaces
  • Integrating with AI agents to control desktop applications

How to use

Tools exposed

  • moveMouse
  • mouseClick
  • sendKeys
  • scroll
  • getScreenSize
  • getPixelColor
  • captureScreen
  • captureRegion
  • saveScreenshot
  • executeAppleScript
  • executeAppleScriptFile

Example client config

{\n  "mcpServers": {\n    "swift-mcp-gui": {\n      "command": "/opt/homebrew/bin/swift-mcp-gui"\n    }\n  }\n}

Notes

An MCP server for macOS that executes GUI automation commands including keyboard input and mouse movement. It listens for MCP requests and performs the corresponding actions on the desktop.

59 stars on GitHub. Last updated 2026-05-23. Licensed MIT.

Use cases

  • Automating repetitive GUI workflows on macOS
  • Programmatically testing macOS application interfaces
  • Integrating with AI agents to control desktop applications

Pros

  • Lightweight Swift implementation
  • Direct control over macOS GUI elements
  • Open source with permissive licensing

Cons

  • Limited to macOS only
  • Requires accessibility permissions to function
  • Small community with 59 stars

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Lightweight Swift implementation
  • Direct control over macOS GUI elements
  • Open source with permissive licensing

Cons

  • Limited to macOS only
  • Requires accessibility permissions to function
  • Small community with 59 stars
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks