MacOS-MCP 是一款轻量级开源 MCP 服务器,可将 AI 代理与 macOS 操作系统连接起来。它使 LLM 代理能够使用本机 macOS 可访问性和自动化 API 执行实际任务,例如应用程序启动、窗口管理、UI 交互、浏览器自动化、桌面状态捕获和 shell 执行。
**主要特点**
- **Native macOS Integration**: Interact with applications, windows, and UI elements through the macOS Accessibility API and Quartz event system.
- **自带 LLM/VLM**:适用于任何语言模型,并可选择在需要时提供视觉快照。
- **Rich Toolset for Desktop Automation**: Pre-built tools for application control, mouse and keyboard input, scrolling, shell commands, and desktop state capture.
- **轻量级和开源**:使用集中的 Python 包和 MIT 许可证进行最少的设置。
**最低要求**
- Python 3.11 或更高版本
- macOS 12 或更高版本
- 授予运行 MCP 服务器的终端或应用程序的可访问权限
- UV 包管理器
此 MCP 服务器使用 UV 在托管 Python 环境中运行包。
安装:
`curl -LsSf https://astral.sh/uv/install.sh |嘘`
详细安装说明,[参见UV文档](https://docs.astral.sh/uv/)
工具
- 应用程序
- 壳牌
- 快照
- 点击
- 类型
- 滚动
- 移动
- 快捷方式
- 等等
- 刮擦
- 通知
仅使用您信任的开发人员提供的连接器。 Anthropic 不控制开发人员提供哪些工具,也无法验证它们是否会按预期工作或不会更改。

