Skip to content
MCP server
Registry

lightroom-agent MCP Server

Let an AI agent cull, develop, mask and export photos in Lightroom Classic, render-checked

lightroom-agent scores 69 (Good), licensed MIT and written in Lua. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 421 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by fadeddexofanMITLua1 stars
Trust score
69Good
Trust score 69 of 100, Good

Good trust

69 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
  • License: Grade A

    MIT is a permissive open source license.

    How license is graded
  • Quality: Grade C

    60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.

    How quality is graded
  • Maintenance: Grade B

    Last commit or release yesterday. Down one letter for 31 open issues against 1 stars.

    How maintenance is graded
Trust breakdown

Where the 69 comes from

22 + 20 + 6 + 10 + 4 + 7 = 69. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity6 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 6 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "fadeddexofan-lightroom-agent": {      "command": "npx",      "args": [        "-y",        "lightroom-agent@0.3.0"      ],      "env": {        "LIGHTROOM_AGENT_REQUEST_PORT": "58763",        "LIGHTROOM_AGENT_RESPONSE_PORT": "58764",        "LIGHTROOM_AGENT_TOOLSETS": "all",        "LIGHTROOM_AGENT_READ_ONLY": "false",        "LIGHTROOM_AGENT_ALLOWED_CATALOGS": ""      }    }  }}

Environment variables

NameRequiredNotes
LIGHTROOM_AGENT_REQUEST_PORTOptionalLightroom plugin request socket port.
LIGHTROOM_AGENT_RESPONSE_PORTOptionalLightroom plugin response socket port.
LIGHTROOM_AGENT_TOOLSETSOptionalToolsets to enable: core is always on; add develop, masks, develop,masks, or all.
LIGHTROOM_AGENT_READ_ONLYOptionalList and accept only read tools from the enabled toolsets.
LIGHTROOM_AGENT_ALLOWED_CATALOGSOptionalRefuse writes unless the open catalog is listed: JSON array of absolute catalog paths or globs. Empty: off.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

npm CI License Lightroom Classic 15+ macOS

Quick start · What it can do · Installation · Reference · Troubleshooting

lightroom-agent is an MCP server and a Lightroom Classic plug-in. It gives Claude Code, Codex or any other MCP client tools for your catalog, Develop, masks and export. A bundled skill teaches the agent to cull and edit with them, and to check each edit on Lightroom's own render.

The agent calledWhat changed
set_develop_settingsThe whole photo, with ten sliders: among them Highlights −45, Shadows +30, Contrast +12 and Vibrance +18
create_mask (sky)Only the sky: Exposure −0.35, Highlights −25, Dehaze +12, Saturation +12, Clarity +6

Works with: Claude Code, Codex CLI, Claude Desktop and any other MCP client over stdio. Needs: Lightroom Classic 15.0 or later on macOS (Windows is untested) and Node.js 20 or later.

Quick start

  1. In Claude Code, install the plugin:

    /plugin marketplace add fadedDexofan/lightroom-agent
    /plugin install lightroom-agent@lightroom-agent
    
  2. Quit Claude Code and start it again. Its lightroom-agent server starts with the session and installs the Lightroom plug-in: the folder ~/Library/Application Support/Adobe/Lightroom/Modules/LightroomAgent.lrplugin appears.

  3. Quit Lightroom Classic if it is running, open it and bring its window to the front. In File → Plug-in Manager, select Lightroom Agent: its status reads Running: true. If it reads false, click Start Server.

  4. Ask Claude: List my Lightroom collections. It answers with your collection names, or says the catalog has none.

For Codex, Claude Desktop or another client, and to update or uninstall, see Installation.

Something not working?

  1. Bring Lightroom's window to the front once: Lightroom starts plug-ins only then.
  2. In Plug-in Manager, click Show Status for Lightroom Agent. If Running is false, close the dialog and click Start Server. Once your agent's server has connected, Request socket connected and Response socket connected both read true. The dialog shows the state at the moment you open it; open it again for a fresh reading. If either line stays false, check that your client started its lightroom-agent server and that its ports match the ones in Plug-in Manager.
  3. Look up the agent's error message in Troubleshooting.

What your agent can do

With these toolsAsk, for example
CullSearch the catalog, compare frames on previews, and judge sharpness on 1:1 crops of a full-resolution renderCull yesterday's bird photos. Reject what is soft at 1080 px wide and tell me why.
DevelopSet sliders, crop, rotate, straighten perspective along guide lines, apply presets and profiles, match one photo's look on others; keep the old edit in snapshots and virtual copiesDevelop DSC_0412 for a quiet, warm look, but snapshot the current edit first.
MaskMake AI, gradient, brush and range masks, each with its own sliders, curves and Point Color (setup needed)Darken the sky on the selected photos with a Sky mask and show me before and after.
OrganiseSet ratings, flags, labels, keywords, collections, metadata and GPS, plus a private score and reason per photoGive my Iceland photos place keywords and put the five-star ones in a collection.
ExportExport to a folder or through a preset, with sharpening, colour space, metadata and file names set per callPrepare my five-star photos from this week for an Instagram feed at 4:5.

What the tools do has the details and limits.

When not to use it

  • Lightroom (the cloud app) or Lightroom Classic before 15.0. Only Lightroom Classic 15.0 or later runs the plug-in.
  • Windows, if you need it proven. The server builds and passes CI on Windows, but nobody has run it against Lightroom there.
  • Building masks without a Mac. Certification runs the live kit, which needs macOS.
  • A catalog that must stay unchanged. The tools write to the open catalog, so open a copy of it in Lightroom before connecting. LIGHTROOM_AGENT_READ_ONLY=true turns off the write tools for browsing, but every call except previews and get_catalog_info, reads included, commits a slider change you left pending in Develop.

The bundled skill

skills/lightroom-agent teaches an agent how to work with these tools on photographs. It culls in two passes (technical, then editorial), develops one representative frame per lighting situation before copying to the rest, inspects mask edges, and checks each exported file.

The Claude Code and Codex plugins load it, and the server offers it to any client as the MCP prompt lightroom-agent. For other agents, npx skills add fadedDexofan/lightroom-agent -g installs it and asks which agents to install it for; the server still needs its own MCP entry, as under Any other MCP client. To install it by hand, copy or symlink the folder into ~/.claude/skills/ for Claude Code or ~/.codex/skills/ for Codex; agents/openai.yaml carries Codex's metadata. The skill describes the tools of the server it ships with, so install it again whenever you update the server.

Configuration and reference

The server reads LIGHTROOM_AGENT_TOOLSETS, LIGHTROOM_AGENT_READ_ONLY, LIGHTROOM_AGENT_ALLOWED_CATALOGS, the two port variables and LIGHTROOM_AGENT_TOKEN_PATH when it starts. docs/reference.md lists them with their defaults, and covers the toolsets, read-only mode, allowed catalogs, the command line and mask certification.

Security

Starting the plug-in's server writes a random token to ~/.config/lightroom-agent/token. The MCP server sends it with every request, and the plug-in listens on localhost only, so the remaining risk is another user or process on the same machine. Lightroom's plug-in sandbox cannot set file permissions; on a shared machine run chmod 700 ~/.config/lightroom-agent. To report a vulnerability, see SECURITY.md.

Troubleshooting

The server writes its diagnostics to stderr, which MCP clients keep in their server log. Plug-in Manager → Show Status shows both sockets, the last event, the number of requests processed and the path of the plug-in log (~/Documents/LrClassicLogs/LightroomAgent.log by default).

What you seeCause and fix
Tools answer "Lightroom plugin not connected"The server has no connection to one or both of the plug-in's sockets. Lightroom starts plug-ins only once its window has come to the front, so a Lightroom launched in the background has none yet: switch to it, or click Start Server. Otherwise follow Something not working?
ECONNREFUSED in the server log, or failed to open localhost:58763 in the plug-in log after Reload Plug-inThe old plug-in task still holds the ports. Quit Lightroom and reopen it.
"Lightroom Agent token file not found"Start Server has not run yet, or LIGHTROOM_AGENT_TOKEN_PATH points somewhere the plug-in never writes.
"The Lightroom Agent token does not match the running plug-in"The server reads the token file again on every connect, so this happens when LIGHTROOM_AGENT_TOKEN_PATH points at an old copy. Click Stop Server, then Start Server, and check the variable.
"Lightroom has loaded a different plug-in build"The plug-in Lightroom has loaded is not this server's build; the message names both. If the intended build was installed or repaired, restart Lightroom. Otherwise quit the connected clients, run this build's install-plugin, check its result, restart Lightroom and reconnect. Another client running a different build is one possible cause: use one build in every client.
"Lightroom's installed plug-in is version …, newer than this server's"This client runs an older lightroom-agent than the installed plug-in, so its server leaves the plug-in alone and does not connect. Update lightroom-agent in this client, or remove an outdated server entry, then restart the client.
"Lightroom's installed plug-in is another build"The installed plug-in has this server's version but another build, for example a server built from source and a plug-in installed from a release; the same error appears when the builds differ and the versions cannot be compared. The message gives each side's version and build. To install the server's build, quit the other clients, run install-plugin from the server's build, restart Lightroom, then start the clients.
"This server and the server that owns the Lightroom connection differ in …"Two clients run different lightroom-agent builds, and the first one started holds the connection. Use one build in every client, then restart them.
"This server's build does not match its plug-in folder"A checkout pulled or edited without a rebuild. Run npm --prefix server run build in the checkout, then restart your client.
"This server's installation is damaged"An npm or Claude Desktop installation whose plug-in no longer matches its server. Reinstall lightroom-agent, then restart your client.
"This server has no bundled Lightroom plug-in"The installation is incomplete. Reinstall lightroom-agent.
A call times outLightroom did not answer in time. A write may have been applied or may still be running. A Lightroom dialog (an AI update prompt during export, for example) blocks until you dismiss it. Check Last event in Show Status and the plug-in log, and read the settings or files back before retrying a write.

How it differs from lightroom-mcp

lightroom-mcplightroom-agent
Result of a callPlain errors; a failed write looks like one whose result is unknownOne envelope: done, partial, failed, unknown, decided by what was written; failed means nothing changed
Mask editsSlider and curve edits take a mask id, select that mask in Develop and adjust the selection, which a click on another mask can change mid-callBy mask id in the photo's saved settings, read back after the write (invert_mask still works in Develop)
Mask construction on a new Lightroom buildAllowed for a list of versions in the sourceAllowed once the live test suite has passed on this machine for that build and the photo's process version
Agent guidanceA preset-building workflow: culling, closed-loop edits, lighting-cluster presets, XMP fallbackA skill for culling, developing, masking and exporting with these tools, with technical and editorial gates

The decisions behind the first three rows are in docs/adr. A live test kit builds a throwaway catalog from fixed images and checks the tools against Lightroom's renders.

Development

CONTRIBUTING.md covers setup, checks and pull requests. Planned work is in the issues, grouped by milestone. GLOSSARY.md defines the terms the code and documents use, and CLAUDE.md (also AGENTS.md) holds the instructions for coding agents.

License

MIT. lightroom-agent is a TypeScript MCP server that talks over local sockets to a Lua plug-in inside Lightroom. It is not affiliated with or endorsed by Adobe.

Frequently asked questions

What is lightroom-agent MCP Server?

Let an AI agent cull, develop, mask and export photos in Lightroom Classic, render-checked

How do I install lightroom-agent MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. lightroom-agent MCP Server runs locally from the npm package lightroom-agent with the command npx -y lightroom-agent@0.3.0.

Is lightroom-agent MCP Server free and open source?

Yes. lightroom-agent MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does lightroom-agent MCP Server support remote (HTTP) connections?

No remote endpoint is listed for lightroom-agent MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is lightroom-agent MCP Server's trust score calculated?

lightroom-agent MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server