GA

griches/apple-mcp

开发工具

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

131 stars 15 forks 质量 59 趋势 0

griches/apple-mcp 是从 https://github.com/griches/apple-mcp. 导入的 MCP 服务器候选服务器。

概览

griches/apple-mcp 是从 https://github.com/griches/apple-mcp. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

一组模型上下文协议(MCP)服务器,为AI助手提供访问macOS上原生苹果应用的权限。

服务器

服务器 NPM 包 描述
苹果笔记 阅读、创建、更新、移动和删除笔记和文件夹
苹果消息 阅读消息历史、搜索对话和发送消息
苹果联系人 管理联系人、群组及联系方式
苹果邮件 阅读、发送、搜索、标记和管理邮件
苹果提醒 创建、更新、完成和管理提醒与列表
苹果日历 创建、更新和管理日历事件
苹果地图 搜索地点、获取路线和放置定位(仅视觉——受苹果自动化支持限制)

要求

  • macOS 13+
  • Node.js 18+(Apple Messages 22+)
  • 全盘访问 授予终端应用(系统设置>隐私与安全 > 全盘访问)——用于读取消息数据库
  • 关联的苹果应用必须运行用于基于AppleScript的服务器(笔记、联系人、邮件、消息、地图)——这些服务器通过AppleScript通信,因此应用必须保持开启状态。

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

README

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

Apple MCP Servers

A collection of Model Context Protocol (MCP) servers that provide AI assistants with access to native Apple applications on macOS.

Servers

Server NPM Package Description
Apple Notes Read, create, update, move, and delete notes and folders
Apple Messages Read message history, search conversations, and send messages
Apple Contacts Manage contacts, groups, and contact details
Apple Mail Read, send, search, flag, and manage email
Apple Reminders Create, update, complete, and manage reminders and lists
Apple Calendar Create, update, and manage calendar events
Apple Maps Search locations, get directions, and drop pins (visual only — limited by Apple’s automation support)

Requirements

  • macOS 13+
  • Node.js 18+ (22+ for Apple Messages)
  • Full Disk Access granted to your terminal app (System Settings > Privacy & Security > Full Disk Access) — required for reading the Messages database
  • The associated Apple app must be running for AppleScript-based servers (Notes, Contacts, Mail, Messages, Maps) — these communicate via AppleScript so the app needs to be open. Calendar and Reminders use EventKit directly and do not require the app to be open.

Safety Modes

All servers (except Apple Maps, which is UI-only) support two optional safety flags:

Mode Flag Behaviour
Normal (default) (none) All tools available, no restrictions
Read-only --read-only Destructive/write tools are not registered at all
Confirm --confirm-destructive Destructive tools require a confirm: true parameter; without it they return a warning asking the AI to check with the user first

Claude Desktop

{
  "mcpServers": {
    "apple-notes": {
      "command": "npx",
      "args": ["@griches/apple-notes-mcp", "--read-only"]
    },
    "apple-messages": {
在 GitHub 查看完整 README

安装

npx @griches/apple-notes-mcp --read-only
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "apple-notes": { "command": "npx", "args": ["@griches/apple-notes-mcp", "--read-only"] }, "apple-messages": { "command": "npx", "args": ["@griches/apple-messages-mcp", "--confirm-destructive"] } } }