Mac MCP 标志

Mac MCP

社区
bulutarkan

Let your AI apps use your Mac: a local server and menu bar app that lets Claude, ChatGPT, Codex and other MCP apps work in your Mac's apps, files, terminal and browser, with approvals you control.

发布者bulutarkan
代码仓库mac-mcp
语言Python
复刻数
9
星标数
88
可用工具
0
传输类型stdio
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Mac MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 88 个 Star 和 9 个 Fork。

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:

bash
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.0

2.3.0 brings everything since 2.2.1: your other Macs and your iPhone within reach, changes in your apps you can take back, and browser work that reports what really happened.

Your devices

  • Your other Macs: pair them once in Settings › Devices (a one-time code and a 6-digit check on both Macs) and an agent on one can work on the others with the fleet tool, under each Mac's own permissions. Full access, read only or status only, and a Busy switch.
  • Your iPhone: agents use it through iPhone Mirroring, with no app on the phone: see and read the screen, and with full access open apps, tap, type and scroll, a whole job in one call. Read only by default; the agent cursor shows where it touches.

Safer changes

  • Undo in your apps: what an agent changes in Notes, Reminders, Calendar and Mail can be undone like file changes, and never over an edit you made since.
  • Uploads: Safari uploads ask you first, naming the file and the site; every upload is checked for keys and passwords inside the file, not only by its name.

Browser and agents

  • Downloads, windows and frames: a click can wait for the file it downloads; Chrome opens tabs in the window you ask for; saved logins work inside sign-in frames (such as Apple's on icloud.com).
  • Agent teams survive a server restart mid-start, stop a crashed agent's CLI before freeing its place, and finished agents give back their cache space.
  • The Live Island and activity bubble say where each piece of work comes from, drop questions once answered, and warn once before the iPhone borrows your pointer.

Claude Desktop and everyday use

  • Claude Desktop keeps its connection after idle time and always uses the key in Mac MCP's .env; mac-mcp connect --client claude-desktop sets it up in one step.
  • Fewer false "done" reports (old repeating calendar events, Mail's sent check, iPhone app opening, CLI exit codes), and the Safari Visual Companion shows again.

Earlier releases are in the CHANGELOG.

Choose your path

Agent Skills sync

Mac MCP's skill_list, skill_search, and skill_get automatically discover user-level Agent Skills installed for CLI agents (including Claude Code, Codex, OpenCode, Gemini, Kimi, Pi, Kilo, Cline, and Goose) as well as the skills in ~/.mac-mcp/skills. The shared ~/.agents/skills folder is preferred over agent-specific duplicates, explicitly registered paths come next, and Mac MCP's own managed skills take final precedence on a name collision. No source files are copied or changed.

The catalog refreshes when a skill tool is called: installing, editing, or removing a CLI skill is reflected on the next request without manually importing it or restarting the server. It indexes SKILL.md only from direct child folders of supported user-level directories; project-local skills are not imported. Set MAC_MCP_CLI_SKILLS_DIRS to a colon-separated list of global skills directories to override discovery, or to an empty string to disable it. When MAC_MCP_SKILLS_DIR is set for an isolated/custom instance, CLI discovery is off unless explicitly configured.

Install

Package (Apple Silicon, macOS 14+): download Mac-MCP-…-arm64.pkg from the latest GitHub Release and open it. It installs the menu bar app and the server for your account and starts them; nothing else is needed. It is not notarized yet, so the first open needs System Settings → Privacy & Security → Open Anyway.

Installer (macOS 13+, Apple Silicon or Intel):

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

Then connect your AI app (Connect your AI apps). A manual install, updates and permissions are in Install, update and permissions.

Contributing and security

Contributions are welcome. See CONTRIBUTING.md for the development and pull request workflow. Use the GitHub issue forms for bugs and feature requests, follow SECURITY.md for private vulnerability reporting, and see CODE_OF_CONDUCT.md for community expectations.

Development

Run tests:

bash
python -m unittest discover -s tests -v

Build the native menu app without installing it:

bash
./menu_app/build_app.sh /tmp/mac-mcp-build

Project layout:

text
mcp_server/   Python MCP server and dashboard
menu_app/     Native SwiftUI menu bar controller
tests/        Regression tests
openapi/      REST/OpenAPI schema assets

License

MIT

将 Mac MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Mac MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Mac MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Mac MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "mac-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Mac MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Mac MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Mac MCP 帮我完成这项任务吗?
Mac MCP
当然。我已阅读。
以下是我使用 Mac MCP 得到的结果。

常见问题

Mac MCP MCP 服务器有什么用途?

Mac MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Mac MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Mac MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Mac MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Mac MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Mac MCP MCP 连接到 TypingMind?

Mac MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Mac MCP MCP 在 TypingMind 中提供哪些工具?

Mac MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Mac MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Mac MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇