如何将 ChatGPT 连接到你的 Mac 应用(Mail、Calendar、Teams)— MCP 连接器
通过免费的 MCP 连接器,让 ChatGPT 访问你 Mac 上的 Mail、Calendar、Contacts、Microsoft Teams、OneDrive 等应用。无需 API 密钥,你的数据保留在本地。约 5 分钟即可完成设置。
ChatGPT 能访问我 Mac 上的应用吗?
可以。ChatGPT 支持自定义 MCP 连接器——而 LMCP 是一个 MCP 服务器,它将 ChatGPT 与你 Mac 上的原生应用连接起来:Mail、Calendar、Contacts、Microsoft Teams、OneDrive、Notes、Reminders 等等。你用日常语言向 ChatGPT 提问(“我明天日历上有什么安排?”、“总结一下我未读的邮件”),它就会在你的 Mac 上调用合适的工具,并用你真实的数据来回答。
与云端集成的关键区别在于:一切都在本地运行。没有 API 密钥,没有连接到 Google 或 Microsoft 的第三方 OAuth,你的数据永远不会离开你的设备——ChatGPT 通过一个由你掌控的加密中继访问你的 Mac。
你需要准备什么
- macOS 12(Monterey)或更高版本——Apple Silicon 或 Intel
- 网页版 ChatGPT(chatgpt.com),需要 Plus、Pro、Business、Enterprise 或 Edu 套餐——免费套餐无法使用自定义连接器(Developer mode),并且连接器必须在网页端创建(创建后,桌面端和移动端 App 即可使用它)
- 在你的 Mac 上安装 LMCP(免费)——它提供 MCP 服务器和加密的 Cloud Relay
第 1 步:安装 LMCP 并开启 Cloud Relay
下载 LMCP,打开 .dmg,将 Local MCP 拖到 Applications,然后打开它。它会出现在你的菜单栏中。
- 点击 LMCP 菜单栏图标 → Settings → Connect 标签页。
- 输入你的邮箱并点击 Connect——当加密隧道建立后,圆点会变为绿色。
- 将 Cloud Data Forwarding 切换为开启,然后 Copy 令牌(你将把它粘贴到 ChatGPT 中)。
第 2 步:在 ChatGPT 中创建 LMCP 连接器
在 chatgpt.com 上:
- Settings → Apps(原 Connectors)→ Advanced settings → 启用 Developer mode(一次性操作)。
- Create app:名称填
LMCP,Server URL 填https://www.local-mcp.com/mcp,Authentication 选 OAuth。勾选 “I understand” 并创建。 - 点击 Connect → 在 LMCP 的 Authorize ChatGPT 页面上,粘贴你的令牌并点击 Authorize。
完整的分步说明带截图,请参阅我们的 ChatGPT × Mac 图文教程。
第 3 步:在对话中使用它
开始一个新对话,点击 + → More → LMCP 来启用它,然后试试:
- “Using LMCP, what’s on my calendar this week?”
- “Summarize my unread emails and flag anything urgent.”
- “Find the Teams thread about the launch and catch me up.”
- “Read me the OneDrive doc Alex shared last week.”
ChatGPT 能在你的 Mac 上访问什么
- Mail——列出、阅读、搜索、发送、回复、移动
- Calendar——列出事件、创建、更新、删除、查看空闲时间
- Contacts——查找和搜索
- Microsoft Teams——阅读聊天和频道(无需 Graph API,无需令牌)
- OneDrive——浏览和阅读文件
- Notes、Reminders、OmniFocus——列出、搜索、创建、完成
- Word、Excel、PowerPoint、PDF——阅读和创建文档
隐私:你的数据保留在你的 Mac 上
Cloud Data Forwarding 默认关闭,需要按设备逐一选择开启。开启后,ChatGPT 的请求会通过加密中继路由到你的 Mac,在本地针对原生应用执行,然后返回结果——没有第三方 API 密钥,LMCP 也不存储任何副本。你可以随时从菜单栏关闭转发,并在 ChatGPT 中断开连接器以撤销访问权限。
故障排查
连接器显示 “No app actions available yet”
ChatGPT 设置中的那个面板不会列出 MCP 工具——这并不意味着连接器出了问题。一旦它显示 Connected,开始一个对话,并通过 + → More → LMCP 启用 LMCP;工具会在那里生效。
ChatGPT 只看到 setup_install
Cloud Data Forwarding 处于关闭状态。打开 LMCP Settings → Connect,将其切换为开启,然后刷新 ChatGPT。
“The connector is not authenticated”
令牌错误或已过期。从 LMCP Settings → Connect 重新复制它,并在 Authorize 页面上再次粘贴。