BM

bulutarkan/mac-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

98 stars 11 forks 质量 71 趋势 15MIT

本地macOS控制服务器,用于MCP客户端和自定义GPT动作

概览

Mac MCP 是一个本地 macOS 控制服务器,面向 AI 代理。它通过原生 MCP 端点和 REST/OpenAPI 表面暴露你的 Mac,包含 shell、文件、浏览器自动化、macOS UI 控制、委派的 OpenCode/Codex 代理、内存、代理技能、语音交互、自我更新工具和本地操作仪表盘。 Mac MCP 可以执行命令、读写文件并控制桌面应用。只要服务在本地主机外部可访问,就保持 MCP 认证开启,并只向你信任的客户端开放。操作仪表盘仅支持环回,需要一个单独的用户管理的 Bearer 令牌;localhost 是机器本地传输,不是同用户沙箱。 缺少配置,关闭失败。如果没有显式设置,MCP需要认证,shell执行和HTTP/浏览器主机允许列表被禁用,全局权限配置文件默认为标准权限而非信任权限。

概述(AI 翻译)

让你的AI应用使用你的Mac。 Mac MCP是一个本地服务器和菜单栏应用,允许Claude、ChatGPT、Codex、OpenCode及其他MCP应用在你的Mac的应用、文件、终端和浏览器中运行,并由你控制批准。它适合已经使用AI应用并希望它在Mac上运行,而不仅仅是说出来的人。

  • **它在你的应用内工作。**你的AI应用会打开备忘录,在Finder中查看文件夹,或通过macOS的辅助功能在邮件中草拟回复,使用和你使用的按钮和菜单一样。文件和终端也在那里。
  • 它会在你能看到的地方浏览。 在Safari和Chrome中,浏览器自动化可见且不会抢走焦点:它在标签页中工作,而你继续使用Mac,并且框框标签页,让你能看到它触碰的内容。
  • 它会交付工作并反馈。 将任务委托给Codex、Claude Code、OpenCode或其他七个代理CLI之一,并阅读其工作内容的报告。
  • 它从你的文档中回答。 在设置中选择文件夹 › 隐私,你的AI应用可以询问你的合同、发票或备注内容,并获取文件和页面。索引会留在你的Mac上。
  • **它自动化了重复工作。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Mac MCP

Let your AI apps use your Mac. Mac MCP is a local server and menu bar app that lets Claude, ChatGPT, Codex, OpenCode and other MCP apps work in your Mac’s apps, files, terminal and browser, with approvals you control. It is for people who already work with an AI app and want it to act on their Mac, not just talk about it.

  • It works inside your apps. Your AI app opens Notes, looks through a folder in Finder or drafts a reply in Mail through macOS Accessibility, using the same buttons and menus you do. Files and the terminal are there too.
  • It browses where you can see it. Visible, non-focus-stealing browser automation in Safari and Chrome: it works in a tab while you keep using your Mac, and frames the tab so you can see what it touches.
  • It hands off work and reports back. Delegate a task to Codex, Claude Code, OpenCode or one of seven other agent CLIs and read a report of what it did.
  • It answers from your documents. Pick folders in Settings › Privacy and your AI app can ask what your contracts, invoices or notes say, and get the file and page back. The index stays on your Mac.
  • It automates the repeat work. Scheduled Tasks run AI tasks and scripts on their own; Recipes save a job your AI did once and replay it with one click, from Settings, the Shortcuts app or Siri.

Watch the 40-second demo · Website: bulutarkan.github.io/mac-mcp · Install · MIT

Quick install: download the .pkg from the latest release (Apple Silicon, macOS 14 or later), or run the installer on any Mac with macOS 13 or later:

curl -fsSL https://raw.githubusercontent.com/bulutarkan/mac-mcp/main/install.sh | bash

or with Node.js: npx @bulutarkan/mac-mcp install (the same installer, details).

You stay in charge. Permission profiles decide what may run and optional Server Approval asks before risky actions; you can pause observation, turn on private mode, or keep apps and sites out of reach. Mac MCP is not a sandbox: it acts with your macOS user’s permissions, localhost is machine-local transport, not same-user isolation, and what your AI app reads is sent to that app’s provider. See Product and security terminology.

What’s new in 2.3.1

2.3.1 brings Mac MCP Chat, a calmer native app and steadier agent teams.

Mac MCP Chat

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →