Sponsored by Deepsite.site

🚀 Automation MCP

Created By
ashwwwin7 months ago
Control your Mac with detailed mouse, keyboard, screen, and window management capabilities.
Content

🚀 Automation MCP

Desktop automation for AI models - Give your AI assistant complete control over your computer with detailed mouse, keyboard, screen, and window management capabilities.

Automation MCP Demo TypeScript MCP

✨ What is Automation MCP?

Automation MCP is a Model Context Protocol (MCP) server that provides AI models with complete desktop automation capabilities on macOS. It enables AI assistants to:

  • 🖱️ Control your mouse (click, move, scroll, drag)
  • ⌨️ Type and send keyboard input (including system shortcuts)
  • 📸 Take screenshots and analyze screen content
  • 🪟 Manage windows (focus, move, resize, minimize)
  • 🎯 Interact with UI elements through coordinates
  • 🎨 Analyze screen colors and highlight regions
  • 🔍 Wait for images to appear on screen

🚀 Quick start

Make sure you have furi installed, and then run the following command:

furi add ashwwwin/automation-mcp

followed by:

furi start automation-mcp

and you're done! (or you can just use the furi desktop app for no cli).

🥲 Normal start (without furi)

Prerequisites

  • Bun runtime - Install with: curl -fsSL https://bun.sh/install | bash

1. Clone and Install

git clone https://github.com/ashwwwin/automation-mcp.git
cd automation-mcp
bun install

2. Start the Server

# Start with HTTP transport (recommended for web apps)
bun run index.ts

# Or start with stdio transport (for command line tools)
bun run index.ts --stdio

3. Grant Permissions

On first run, macOS will ask for permissions. You must grant these for full functionality:

  1. Accessibility - Allows keyboard/mouse control
  2. Screen Recording - Enables screenshots and screen analysis

Or manually enable in: System SettingsPrivacy & SecurityAccessibility/Screen Recording

🛠️ Available Tools

🖱️ Mouse Control

  • mouseClick - Click at coordinates with left/right/middle button
  • mouseDoubleClick - Double-click at coordinates
  • mouseMove - Move cursor to position
  • mouseGetPosition - Get current cursor location
  • mouseScroll - Scroll in any direction
  • mouseDrag - Drag from current position to target
  • mouseButtonControl - Press/release mouse buttons
  • mouseMovePath - Follow a smooth path with multiple points

⌨️ Keyboard Input

  • type - Type text or press key combinations
  • keyControl - Advanced key press/release control
  • systemCommand - Common shortcuts (copy, paste, undo, save, etc.)

📸 Screen Capture & Analysis

  • screenshot - Capture full screen, regions, or specific windows
  • screenInfo - Get screen dimensions
  • screenHighlight - Highlight screen regions visually
  • colorAt - Get color of any pixel
  • waitForImage - Wait for images to appear (template matching)

🪟 Window Management

  • getWindows - List all open windows
  • getActiveWindow - Get current active window
  • windowControl - Focus, move, resize, minimize windows

🔧 Architecture

Core Components

  • FastMCP Server - Handles MCP protocol communication
  • nut.js Integration - Cross-platform desktop automation (custom built from source)
  • Platform Permissions - Native permission handling (macOS/Windows/Linux)
  • Screen Utilities - Screenshot and analysis tools
  • Fallback Systems - Platform-specific implementations when needed

🔒 Security & Permissions

Platform-Specific Permissions

macOS

  1. Accessibility - Required for:

    • Mouse clicks and movement
    • Keyboard input simulation
    • Window management
  2. Screen Recording - Required for:

    • Taking screenshots
    • Screen analysis
    • Color detection

Permission Handling

The server automatically:

  • Detects missing permissions on supported platforms
  • Requests permission grants (macOS)
  • Provides fallback functionality when possible
  • Shows clear platform-specific permission instructions

Security Notes

  • Runs locally only (no network access)
  • Requires explicit permission grants
  • Can be limited to specific applications
  • All actions are logged

🚀 Integration Examples

With Claude Desktop + furi

If you've already configured furi with Claude Desktop, you don't need to do anything.

Add to your MCP configuration:

{
  "mcpServers": {
    "furi": {
      "command": "furi",
      "args": ["connect"]
    }
  }
}

With Claude Desktop

Add to your MCP configuration:

{
  "mcpServers": {
    "automation": {
      "command": "bun",
      "args": ["run", "/path/to/automation-mcp/index.ts", "--stdio"]
    }
  }
}

🐛 Troubleshooting

Common Issues

Permission Denied Errors

  • Ensure Accessibility and Screen Recording permissions are granted
  • Ensure Xcode Command Line Tools: xcode-select --install

🙋‍♂️ Support

Having issues? Check the troubleshooting section above or open an issue with:

  • Your operating system and version
  • Error messages
  • Steps to reproduce

Happy Automating! 🎉 Give your AI the power to control your computer like never before.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor