Metadata-Version: 2.4
Name: mcp-photo-edit-rawtherapee
Version: 0.1.0
Summary: Typed in-process and CLI RawTherapee adapter for mcp-photo-edit
Project-URL: Homepage, https://github.com/joshua5201/mcp-photo-edit-rawtherapee
Project-URL: Repository, https://github.com/joshua5201/mcp-photo-edit-rawtherapee
Project-URL: Issues, https://github.com/joshua5201/mcp-photo-edit-rawtherapee/issues
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: mcp-photo-edit-core<0.2,>=0.1
Requires-Dist: pillow<13,>=10
Requires-Dist: pydantic<3,>=2.7
Description-Content-Type: text/markdown

# mcp-photo-edit-rawtherapee

RawTherapee implementation behind the public `mcp-photo-edit-core` models. The
same synchronous service can be called directly in-process or through a small JSON
CLI boundary.

RawTherapee is the first renderer. The executable is resolved in this order:

1. use `rawtherapee-cli` when it is available on `PATH`;
2. otherwise use the absolute executable path in `RAWTHERAPEE_CLI`;
3. otherwise return a structured `BACKEND_UNAVAILABLE` error.

Windows PowerShell example when RawTherapee is installed but not on `PATH`:

```powershell
$env:RAWTHERAPEE_CLI = "C:\Program Files\RawTherapee\5.12\rawtherapee-cli.exe"
mcp-photo-edit-rawtherapee request.json
```

Relative values and paths that do not point to an existing file are rejected.

```python
from mcp_photo_edit_rawtherapee import RawEditService

response = RawEditService().execute(request)
```

```shell
mcp-photo-edit-rawtherapee request.json
```

Development gates:

```shell
uv sync
uv run ruff format --check .
uv run ruff check .
uv run basedpyright
uv run pytest
uv run python -m build
```
