My Apple Remembers 工具
一个简单的MCP服务器,可以从Apple Notes中回忆和保存记忆。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"my-apple-remembers": {
"args": [
"run",
"-i",
"-e",
"MACOS_USERNAME=your_macos_username",
"-e",
"MACOS_PASSWORD=your_macos_password",
"-e",
"MACOS_HOST=localhost",
"--rm",
"buryhuang/mcp-my-apple-remembers:latest"
],
"command": "docker"
}
}
}
该服务需要配置环境变量:MACOS_HOST、MACOS_PASSWORD、MACOS_USERNAME
可用工具 (2 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
my_apple_recall_memory 2 个参数 需填 1 项
Run Apple Script on a remote MacOs machine. This call should be used to recall the apple notes, apple calendar, imessages, chat messages, files, context or any other information of a MacOs machine can have access to.
必填参数:code_snippet
my_apple_save_memory 2 个参数 需填 1 项
Run Apple Script on a remote MacOs machine. This call should be used to save relevant information to the apple notes. You decide what information to save. You should always add a new notes with a timestamp as the title.
必填参数:code_snippet
服务介绍
MCP Server - My Apple Remembers
一个简单的MCP服务器,可以从Apple Notes中回忆并保存记忆。
特性
- 记忆回忆:从您的Mac访问笔记、日历事件、消息、文件及其他信息
- 记忆持久化:将重要信息保存到Apple Notes以供将来参考
- 最小配置:只需在目标Mac上启用远程登录
- 通用兼容性:适用于所有macOS版本
控制在您手中
您可以使用提示来指示如何保存您的记忆。例如:
You should always use Folder "baryhuang" on recall and save memory.
安装
您可以通过在Claude配置中添加以下内容来配置Claude Desktop使用Docker镜像:
{
"mcpServers": {
"my-apple-remembers": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MACOS_USERNAME=your_macos_username",
"-e",
"MACOS_PASSWORD=your_macos_password",
"-e",
"MACOS_HOST=localhost",
"--rm",
"buryhuang/mcp-my-apple-remembers:latest"
]
}
}
}
开发者指南
克隆仓库
# Clone the repository
git clone https://github.com/baryhuang/mcp-my-apple-remembers.git
cd mcp-my-apple-remembers
构建Docker镜像
# Build the Docker image
docker build -t mcp-my-apple-remembers .
发布多平台Docker镜像
# Set up Docker buildx for multi-platform builds
docker buildx create --use
# Build and push the multi-platform image
docker buildx build --platform linux/amd64,linux/arm64 -t buryhuang/mcp-my-apple-remembers:latest --push .
工具规格说明
my_apple_recall_memory
在远程macOS系统上运行AppleScript命令以回忆记忆。此工具帮助访问Apple Notes、日历事件、iMessages、聊天记录、文件及其他Mac上的信息。
my_apple_save_memory
在远程macOS系统上运行AppleScript命令以保存重要信息。此工具允许AI将相关信息持久化到Apple Notes以供将来参考。
所有工具都需要macOS SSH访问权限,包括主机和密码。
安全须知
在访问远程macOS机器时始终使用安全、经过身份验证的连接。该工具仅应与您信任且有权访问的服务器一起使用。
许可证
详见LICENSE文件。