SK

siddhant-k-code/memory-journal-mcp-server

开发工具

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

24 stars 6 forks 质量 72 趋势 30MIT

MCP服务器旨在帮助你搜索和分析照片库(iCloud - 苹果照片)

概览

是一个MCP服务器,旨在帮助你用强大直观的工具搜索和分析你的照片库。无论你是在回忆家庭时光,还是和朋友们寻找一张特定的照片,这个服务器都能满足你的需求!🎉 非常感谢@burningion提出利用MCP进行创意媒体管理的创新想法! - 轻松查找特定地点的照片。🌍- 通过关键词或标签搜索照片,如“生日”、“海滩”或“度假”。🎉- 快速定位特定人物的照片。👥- 发现有趣的见解,比如最受欢迎的拍摄时间和日期。🕰️- 不确定确切名称?别担心!服务器支持模糊匹配,方便灵活。🔍 1. 确保你有带有照片库的macOS。2. 安装UV来管理依赖并运行服务器。 3. 配置MCP服务器。更新您的claude_desktop_config.json配置如下: 4.

概述(AI 翻译)

Smart Photo Journal 是一个 MCP 服务器,旨在帮助你用强大直观的工具搜索和分析照片库。无论你是在回忆家庭时光,还是和朋友一起寻找特定照片,这个服务器都能满足你的需求!🎉

灵感来源: burningion/视频编辑-mcp 非常感谢@burningion提出利用MCP进行创意媒体管理的创新想法!

🎯 特色

  • 位置搜索: 轻松查找特定地点的照片。🌍
  • 标签搜索: 通过关键词或标签搜索照片,如“生日”、“海滩”或“度假”。 🎉
  • 人员搜索: 快速定位特定人物的照片。👥
  • 照片分析: 发现有趣的见解,比如最受欢迎的拍摄时间和日期。🕰️
  • 模糊匹配: 不确定确切名称?别担心!服务器支持模糊匹配以增加灵活性。🔍

🚀 开始

先决条件

  1. 确保你有带有照片库的macOS。
  2. 安装 uv 来管理依赖并运行服务器。

安装

  1. 克隆仓库:

  2. 使用 uv 安装依赖:

  3. 配置MCP服务器。

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

README

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

Smart Photo Journal MCP Server

Search your Apple Photos library by date, location, labels and named people, then view previews to make a shortlist in Codex or another local MCP client.

Inspired by burningion/video-editing-mcp.

Install

Requirements: macOS, an Apple Photos library, Python 3.11+, and uv.

git clone https://github.com/Siddhant-K-code/memory-journal-mcp-server.git
cd memory-journal-mcp-server
uv sync --locked --no-dev

The server uses the last-opened Photos library by default. Set PHOTO_LIBRARY_PATH to select a specific .photoslibrary directory. This is useful when automatic library discovery cannot read the Photos preferences file.

ChatGPT, Codex and other desktop apps

Start with the desktop setup guide for ChatGPT Desktop, Codex Desktop/CLI, Claude Desktop and Cursor. It includes complete configuration examples, macOS permissions, privacy controls and a first-search checklist. This server uses local stdio, not an HTTP URL; the local film editor is a separate optional application.

Codex Desktop / CLI quick start

Add this to ~/.codex/config.toml, using absolute paths on your Mac:

[mcp_servers.smart-photo-journal]
command = "/absolute/path/to/uv"
args = ["--directory", "/absolute/path/to/memory-journal-mcp-server", "run", "--locked", "--no-dev", "server.py"]
startup_timeout_sec = 120
tool_timeout_sec = 180

[mcp_servers.smart-photo-journal.env]
PHOTO_LIBRARY_PATH = "/Users/YOUR_USERNAME/Pictures/Photos Library.photoslibrary"

Find the uv executable with command -v uv. Restart the client after editing its configuration. See the official Codex MCP configuration documentation.

Claude Desktop quick start

Merge this entry into Claude Desktop’s existing configuration. See the setup guide for the configuration-file location. Do not replace your other servers. For Cursor, use examples/cursor.json, which explicitly sets type to stdio, and follow the Cursor setup steps.

{
  "mcpServers": {
    "smart-photo-journal": {
      "command": "/absolute/path/to/uv",
      "args": ["--directory", "/absolute/path/to/memory-journal-mcp-server", "run", "--locked", "--no-dev", "server.py"],
      "env": {
        "PHOTO_LIBRARY_PATH": "/Users/YOUR_USERNAME/Pictures/Photos Library.photoslibrary"
      }
    }
  }
}

macOS permissions and startup

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "smart-photo-journal": { "command": "/absolute/path/to/uv", "args": ["--directory", "/absolute/path/to/memory-journal-mcp-server", "run", "--locked", "--no-dev", "server.py"], "env": { "PHOTO_LIBRARY_PATH": "/Users/YOUR_USERNAME/Pictures/Photos Library.photoslibrary" } } } }