automation-mcp
by ashwwwin·★ 391·综合分 47
一个用于 macOS 桌面自动化的 MCP 服务器,支持鼠标、键盘、截图和窗口管理。
概述
Automation MCP 通过模型上下文协议为 macOS 提供全面的桌面自动化功能。它使 AI 助手能够控制鼠标移动和点击、模拟键盘输入、截图并分析屏幕内容,以及使用丰富的工具集管理窗口。该服务器支持 HTTP 和 stdio 传输方式,适用于不同的集成场景。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要在 macOS 上实现全面的桌面自动化时,特别是用于 UI 测试、任务自动化或构建需要精确控制鼠标、键盘和窗口的辅助工具时。
什么时候不要选它
如果您需要跨平台自动化功能,不要选择它,因为它仅在 macOS 上工作。如果您需要比简单模板匹配更复杂的图像识别功能,也应考虑替代方案。
此 server 暴露的工具
从 README 抽取出 12 个工具mouseClickClick at coordinates with left/right/middle button
mouseMoveMove cursor to position
typeType text or press key combinations
screenshotCapture full screen, regions, or specific windows
getWindowsList all open windows
getActiveWindowGet current active window
windowControlFocus, move, resize, minimize windows
screenInfoGet screen dimensions
colorAtGet color of any pixel
waitForImageWait for images to appear (template matching)
systemCommandCommon shortcuts (copy, paste, undo, save, etc.)
screenHighlightHighlight screen regions visually
可对比工具
安装
快速开始
- 安装 [furi](https://github.com/ashwwwin/furi):
``bash furi add ashwwwin/automation-mcp furi start ashwwwin/automation-mcp ``
手动安装
- 安装 Bun 运行时:
``bash curl -fsSL https://bun.sh/install | bash ``
- 克隆并安装依赖项:
``bash git clone https://github.com/ashwwwin/automation-mcp.git cd automation-mcp bun install ``
- 启动服务器:
```bash # HTTP 传输 bun run index.ts
# stdio 传输 bun run index.ts --stdio ```
- 授予 macOS 访问和屏幕录制权限。
Claude Desktop 集成
添加到您的 MCP 配置:
{
"mcpServers": {
"automation": {
"command": "bun",
"args": ["run", "/path/to/automation-mcp/index.ts", "--stdio"]
}
}
}FAQ
- automation-mcp 需要哪些权限才能工作?
- automation-mcp 需要 macOS 辅助功能权限(用于鼠标/键盘控制)和屏幕录制权限(用于截图功能)。这些权限必须在系统设置 → 隐私与安全性中授予。
- 我可以在 Windows 或 Linux 上使用 automation-mcp 吗?
- 不行,automation-mcp 专门为 macOS 设计,仅在苹果的操作系统上工作。
automation-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。