Cyber Week: 60% off Pro yearly, $28.80 for your first year. Studio 50% off.Ends Monday, 7 December 2026 at 23:59 Europe/Athens.Offer detailsSee pricing

photoproof.io
Start free

CLI

photoproof CLI and typed client

photoproof is the official command-line tool and typed JavaScript client for photoproof.io. It sets up the photoproof MCP connector in Claude Desktop, Cursor, VS Code, Claude Code, Windsurf or Gemini CLI, and it queries the public read-only API. MIT licensed, no dependencies, Node 18 or newer, no API key.

> npx photoproof setup photoproof.io CLI

On this page

Install and run

You don't have to install anything to try it. npx downloads and runs the package:

Run without installing
npx photoproof setup
Install the CLI globally
npm install -g photoproof
Add the typed client to a project
npm install photoproof

The package provides two commands, photoproof and photoproof-mcp. npx photoproof-mcp does the same as photoproof setup. It needs Node.js 18 or newer.

Set up the MCP connector

The connector lets your AI app read your account, galleries, client selections and comments, recent activity and delivery links, and create new empty galleries (with the galleries:write scope). Run photoproof setup to print the config for every supported app, or pick one:

npx photoproof setup                  # print the config for every supported app
npx photoproof setup cursor --write   # add photoproof to ~/.cursor/mcp.json
npx photoproof setup claude --write   # add it to Claude Desktop's config (via mcp-remote)
npx photoproof setup vscode --write   # add it to .vscode/mcp.json in this folder
npx photoproof setup claude-code      # print the `claude mcp add` command
npx photoproof setup windsurf --write # add it to ~/.codeium/windsurf/mcp_config.json
npx photoproof setup gemini --write   # add it to ~/.gemini/settings.json
  • --write keeps your other MCP servers and saves the previous file as .bak.
  • Then open the app, connect photoproof, sign in to photoproof.io and click Allow. The connector uses OAuth. There are no API keys.
  • In Claude (web, desktop and mobile) you can skip the file: Customize → Connectors → Add custom connector → https://photoproof.io/mcp.
  • The connector can't delete anything, upload photos, pay or email clients.

Step-by-step AI connector guideMCP server reference

Query the public API from the terminal

These commands call the public read-only API. No account or key is needed.

npx photoproof plans                 # plans and prices (EUR, VAT included)
npx photoproof plans --id pro
npx photoproof pages --section guides
npx photoproof search "lightroom selection" --limit 3
npx photoproof health

Add --json to any command for raw JSON. --base-url points the CLI at another API address, and photoproof --help lists every option.

Use the client in code

It works in Node 18+ and in browsers (CORS is open). Errors throw PhotoproofApiError with status, code and message.

TypeScript or JavaScript
import { PhotoproofClient } from "photoproof";

const pp = new PhotoproofClient();
const { plans } = await pp.getPlans({ kind: "plan" });
const { results } = await pp.search("client selection", { limit: 5 });
const health = await pp.getHealth();
  • getPlans({ id?, kind? }) calls GET /api/v1/plans
  • listPages({ section? }) calls GET /api/v1/pages
  • search(q, { limit? }) calls GET /api/v1/search
  • getHealth({ check? }) calls GET /api/health

The OpenAPI 3.1 description is at photoproof.io/openapi.json.

CLI questions

Do I need an API key?+

No. The public API needs no key, and the MCP connector signs in with OAuth through your photoproof.io login. There are no API keys to create or store.

What does --write change?+

It adds a photoproof entry to the config file of the app you named, keeps your other MCP servers, and saves the previous version of that file next to it with a .bak ending. Without --write the CLI only prints the config.

Does it work on the Free plan?+

Yes. The connector works on every plan, Free included. Your plan's limits still apply, and AI apps are limited to 120 requests an hour and 20 new galleries a day.

Can the CLI upload or delete photos?+

No. The CLI sets up the connector and reads public data. The connector itself can't delete galleries, upload photos, pay or email your clients.

Which license is it under?+

MIT.

Found a bug or missing something?

Tell us what you ran, what you expected and what happened.

Email support@photoproof.io

Last updated: · Written by the xolqy.com team

Send your next gallery in two minutes

3 GB free. No credit card. Your clients never need an account. Pro from $8/month.