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.
On this page
Install and run
You don't have to install anything to try it. npx downloads and runs the package:
npx photoproof setup npm install -g photoproof 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 --writekeeps 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.
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.
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? })callsGET /api/v1/planslistPages({ section? })callsGET /api/v1/pagessearch(q, { limit? })callsGET /api/v1/searchgetHealth({ check? })callsGET /api/health
The OpenAPI 3.1 description is at photoproof.io/openapi.json.
Links
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.ioLast updated: · Written by the xolqy.com team