YD

yaddyvirus/darktable-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

25 stars 9 forks 品質 58 トレンド 0

ClaudeでAIを搭載したフォト編集用のMCPサーバー。 RAWファイル、非破壊的な編集、クロップ、エクスポートなどをサポートします.

概要

Yadullah Abidi(YaddyVirus)が開発 ClaudeをAIフォトエディタとして編集できるモデルコンテキストプロトコル(MCP)サーバー。 と働く。 「この暖かさとドラマチックなものを作る」、「作物から16:9へ」、「吹くハイライトを回復する」、そしてそれは編集を適用し、プレビューを表示し、最終的なイメージをエクスポートします。 RAWファイル(CR2、NEF、ARW等)、JPEG対応 - CR2、NEF、ARW、RAF、DNG、ORF、RW2、およびもっと - ハイライト - 露出、ホワイトバランス、コントラスト、ハイライト/シャドウ、彩度、明快さ、シャープネス、ノイズリダクション、Vignette - 500,000️ - 無料の作物、アスペクト比作物(16:9、4:3、1:1...)、ストレート - 編集 - サイド編集 - ダークバックスの編集 - 他の人がクリップを編集する前に - ラウドの写真を編集する - 他の人に - クリップを編集する - 他の人は - クリップを編集する - - Python 3.

概要(AI 翻訳)

Yadullah Abidi(YaddyVirus)が開発

ClaudeをAIフォトエディタとして編集できるモデルコンテキストプロトコル(MCP)サーバー。 Claude DesktopとClaude Codeで動作します。

あなたが望むものをClaudeに伝えてください - 「この暖かさと劇的なものを作る」、「16:9に作物」、「吹くハイライトを回復」 - それは編集を適用し、プレビューを表示し、最終的なイメージをエクスポートします。 RAWファイル(CR2、NEF、ARW等)、JPEG対応

##特徴

  • RAWファイルサポート** — CR2、NEF、ARW、RAF、DNG、ORF、RW2など
  • ロードフル編集ツールキット - 露出、ホワイトバランス、コントラスト、ハイライト/シャドウ、彩度、透明度、シャープネス、騒音低減、ビネット
  • ◉クロップ&回転 - 無料のクロップ、アスペクト比クロップ(16:9、4:3、1:1 …)、ストレート
  • オープンソース出力** — 意味のある名前をエクスポートする
  • 注釈ヒストグラム解析** - 編集を提案する前にクリッピングとトーン分布をチェック
  • 💾 非破壊 — サイドカーJSONに保存されているすべての編集; オリジナルは触れない
  • [.xmp]のサイドカーダークテーブルが読み取れる
  • ✓バッチコピー設定** - 複数の他の人に一つの画像の編集を適用

お問い合わせ

要件

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

DarktableMCP

Developed by Yadullah Abidi (YaddyVirus)

A Model Context Protocol (MCP) server that lets you edit photos using Claude as your AI photo editor. Works with Claude Desktop and Claude Code.

Tell Claude what you want — “make this warmer and more dramatic”, “crop to 16:9”, “recover the blown highlights” — and it applies the edits, shows you a preview, and exports the final image. Supports RAW files (CR2, NEF, ARW, etc.) and JPEGs.

Features

  • 🖼️ RAW file support — CR2, NEF, ARW, RAF, DNG, ORF, RW2, and more
  • 🎨 Full editing toolkit — exposure, white balance, contrast, highlights/shadows, saturation, vibrance, clarity, sharpness, noise reduction, vignette
  • ✂️ Crop & rotate — free crop, aspect ratio crop (16:9, 4:3, 1:1…), straighten
  • 📝 Rename outputs — give your exports meaningful names
  • 📊 Histogram analysis — Claude checks clipping and tonal distribution before suggesting edits
  • 💾 Non-destructive — all edits stored in a sidecar JSON; originals never touched
  • 🔄 Darktable XMP export — edits written as .xmp sidecars Darktable can read
  • 📋 Batch copy settings — apply one image’s edits to many others

Requirements


Installation

1. Clone the repository

git clone https://github.com/yadullahabidi/darktable-mcp.git
cd darktable-mcp

2. Install the package

pip install -e .

This installs all dependencies automatically:

  • mcp — Model Context Protocol SDK
  • rawpy — RAW file decoding
  • Pillow — image processing
  • numpy — array operations
  • piexif — EXIF metadata

3. Verify it works

python -m darktable_mcp

You should see it start (it will wait for MCP input — press Ctrl+C to exit). If it starts without errors, you’re good.


Connecting to Claude Desktop

1. Find your Claude Desktop config file

Platform Path
Windows %APPDATA%\Claude\claude_desktop_config.json
macOS ~/Library/Application Support/Claude/claude_desktop_config.json

2. Add the server

Open the config file and add the mcpServers block. If the file already has content, merge carefully — don’t replace the whole file.

Windows:

{
  "mcpServers": {
    "darktable": {
      "command": "python",
      "args": ["-m", "darktable_mcp"]
    }
  }
}

macOS / Linux:

{
  "mcpServers": {
    "darktable": {
      "command": "python3",
      "args": ["-m", "darktable_mcp"]
    }
  }
}

Tip: If python isn’t on your PATH, use the full path to the Python executable.
Windows example: "C:\\Users\\YourName\\AppData\\Local\\Programs\\Python\\Python313\\python.exe"
Find it by running where python (Windows) or which python3 (macOS/Linux) in a terminal.

GitHub で README 全文を見る

インストール

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

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "darktable": { "command": "python", "args": ["-m", "darktable_mcp"] } } }