MAA-AI/MaaMCP

基于 MaaFramework 的 MCP 服务器 为 AI 助手提供 Android 设备和 Windows 桌面自动化能力

What it solves

MaaMCP provides AI assistants (like Claude) with the ability to automate Android devices and Windows desktop applications. It bridges the gap between an LLM's reasoning and actual device interaction by exposing automation capabilities through the Model Context Protocol (MCP).

How it works

It acts as an MCP server based on the MaaFramework, allowing an AI to interact with devices via a set of standardized tools. The system supports two primary operational modes:

  • Serial Mode: A synchronous flow where the AI performs an action, observes the result via OCR or screenshots, and then decides the next step.
  • Pipeline Mode: An asynchronous, multi-threaded approach where the server continuously captures screenshots in the background, allowing the AI to monitor the screen in real-time and react to changes without waiting for a new capture request.

For visual perception, it uses OCR for text recognition and screen captures for visual analysis. For interaction, it supports clicking, swiping, text input, and keyboard shortcuts.

Who it’s for

Users who want to give their AI agents the power to control their computer or mobile devices to perform complex tasks, such as ordering food on an app or navigating software settings.

Highlights

  • Cross-Platform Automation: Supports both Android (via ADB) and Windows desktop apps.
  • Background Operation: Windows automation runs in the background, meaning it doesn't hijack the mouse and keyboard, allowing the user to continue using the PC.
  • AI-Driven Pipeline Generation: AI can execute a task once and then convert that successful sequence of actions into a reusable JSON Pipeline for future automated execution.
  • Multi-Device Coordination: Ability to connect and control multiple devices or windows simultaneously.
  • Intelligent Perception: Integrated OCR for efficient text-based navigation and visual analysis via screenshots.

Related

  • Project
  • Project
  • Project
  • Project