如何通过 MCP 将 Warp 连接到 Mac 应用
简而言之: 使用 LMCP,让 Warp 的 AI 代理访问 Mac 上的 Mail、Calendar、Messages、Slack、Teams、Files 和 201+ 个工具。
平均 4.7 分(满分 5)· 评分数:39查看全部评价 →
“calander and reminders”
Shawn E.“Sort, clean up inbox. Text people reminders for payments using imessage”
Adi H.“Claude Zugriff auf Mails /Kalender gewähren”
TB
LMCP 如何配置 Warp —— Mac: 自动(安装程序和菜单) — 在其 MCP 设置中开启 LMCP · Windows: 自动(安装程序和菜单) — 在其 MCP 设置中开启 LMCP
这能让您做什么
Warp 是一款 AI 原生终端,其代理可以调用 MCP 工具。添加 LMCP 后,Warp 可以通过 LMCP 在设备上本地执行的工具访问 Mac 应用——读取邮件、查看日历、在 Slack 发帖、搜索 Teams 和浏览文件。Warp、云端 AI 提供商和已连接的服务可能会收到所请求的数据;其条款适用。
第 1 步:安装 LMCP
下载应用(macOS 13+)。LMCP 会在菜单栏中启动。
通过终端安装
curl -fsSL 'https://local-mcp.com/install?ref=guide-warp-mac' | bash第 2 步:将 LMCP 添加到 Warp
打开 Warp Drive → MCP Servers → + Add,然后粘贴下面的 JSON(Warp 也会从 ~/.warp/.mcp.json 读取它):
{
"local-mcp": {
"command": "npx",
"args": ["-y", "local-mcp@latest"],
"env": { "LMCP_ORIGIN": "manual" }
}
}Warp 通过 stdio 启动服务器。它使用 npx,因此需要安装 Node.js。
第 3 步:试用
在 Warp 中开始代理对话,然后询问:
List my email accountsWarp 会在您的 Mac 上调用该工具并返回结果。
故障排除
服务器无法启动——确保 LMCP 应用正在运行(菜单栏图标),并且 npx 位于 PATH 中。
工具没有出现——重新打开 Warp Drive 中的 MCP Servers 面板,并确认 local-mcp 已启用。
评论
评论在发布前需要审核。