# PhotoPrintAgent [Health: Active]

**Category:** 🛒 E-Commerce  
**Repository:** https://photoprintagent.com/docs/mcp  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/photoprintagent

## Description
Turn photos into delivered prints in the United States. Browse available products and artwork specifications, prepare previews and uploads, estimate prices using ZIP/state, and track orders. Full commerce MCP: https://photoprintagent.com/mcp . Narrow connector: https://photoprintagent.com/mcp-narrow . Public browsing and estimates require no account; protected tools use scoped OAuth with PKCE. Purchases require explicit customer approval and payment. Printing and shipping are paid services.

## Tools
Capabilities this server exposes over MCP:

- **get_checkout_options** — Public account and guest authentication instructions, current order terms URL/version, and required acceptance field.
- **start_guest_checkout** — Public: mint a private guest credential once. No account, payment or print is created. Save it in a secret store.
- **create_agent_key** — Mint a 90-day account key using a verified Firebase ID token in Authorization. Guests and existing agent keys cannot mint keys.
- **list_products** — Public paginated product catalog, print specifications, and availability. Follow nextOffset until null. availableOnly defaults to true; false includes unavailable public products with explicit available flags. Filters cover query, category, finish, dimensions and known unit price range. capabilities distinguishes API support from current orderability. productCode and sku are PhotoPrintAgent seller codes for customer listings and search; id remains the API identifier for uploads and quotes. Each product supplies artwork dimensions, minimum/maximum image counts, ordered slot labels, bleed and rotation rules. These apply to all active supported products, including multi-image designs. Artwork minimumDpi values are print quality guidance, not an upload rejection threshold: accept smaller valid images, resize them, and treat reduced quality as a nonblocking warning. Admin Only products are never listed. Pass a returned products[].id as productId when uploading and quoting; omission selects the original photo-4x6 product. Price depends on the items and destination; call quote_prints for an authoritative total.
- **create_upload** — Get the authenticated binary upload endpoint and product/crop headers. Pass productId from list_products for every image. Upload each required image separately; retain the returned IDs in slot order. Crops and resolution checks use that product’s artwork specifications, not a universal 4x6 size. POST the image bytes separately; never put base64 or remote image URLs in MCP. For recoverable uploads, send a stable Idempotency-Key on POST and check GET /api/uploads/{key} after a lost response. Retry the same bytes and options with the same key; never retry payment as an upload recovery step. SDK: https://photoprintagent.com/sdk/photo-upload.mjs. No storage is allocated until upload. JPEG, PNG/APNG, WebP, GIF, HEIC/HEIF, TIFF, AVIF, BMP and self-contained SVG are supported. Read acceptedMimeTypes, acceptedExtensions and imageHandling for frame/page selection, transparency, and limits. Use application/octet-stream when MIME type is unavailable. Unsupported encodings must be converted before upload.
- **quote_prints** — Quote private uploaded photo IDs and a US destination for an optional productId from list_products (defaults to photo-4x6). Items may specify productId to mix products using the same print service; omitted item productId uses the order productId. For a single image use items:[{photoId,productId,quantity}]. For a multi-image design use items:[{photoIds:[frontId,backId,...],quantity}]; array order is print order and quantity counts complete products, not individual images. Follow artwork.minImages/maxImages and labels. For artwork.calendar, upload a cover plus one photo per month and include calendar:{startYear,startMonth} on the item; the server generates and interleaves the date grids. Do not upload date grids. For artwork.composition, upload each source photo at the per-image dimensions; the server assembles the ordered photos into the single print file shown by the layout. Never precompose those photos or send each side as a separate item. Up to 200 uploaded images and 500 product units per order. Shipping follows the product’s configured pricing; flat rates can differ for 1 versus 2+ prints. Use the returned shipping and total; never multiply flat shipping by quantity. Requires consent for PhotoPrintAgent to process these photos and address for printing and delivery. Unique photos, at most 500 total prints. Optional couponCode is validated here; price.total is the discounted buyer amount and price.discount is the savings in USD cents.
- **create_print_order** — Create one order from the approved quote, which already contains buyer contact and address. Requires termsAccepted:true confirming acceptance of https://photoprintagent.com/terms with the buyer’s authorization, separately from buyerApproved:true. Never infer acceptance from an upload, quote, or previous order. Reuse the same idempotency key for retries. Returns a buyer card checkout URL or x402 payment URL; call pay_print_order for the challenge. A zero-total coupon order is submitted with buyerApproved:true and needs no card or wallet. Optional couponCode must match the approved quote.
- **list_payment_assets** — Public: search Base ERC-20 and ready Solana SPL / compatible Token-2022 payment candidates by name, ticker or exact contract/mint. No market-cap limit. Results are paginated; pass nextOffset as offset. Call quote_crypto_payment to verify the token and obtain a fresh price. Solana needs the merchant receiving account initialized.
- **quote_crypto_payment** — Lock an unpaid order in a listed token for up to 60 seconds. Obtain approval of this exact amount and include cryptoQuoteId in the payment retry.
- **pay_print_order** — Request an x402 v2 challenge without a signature, or settle an approved signature and submit the paid print. Uses the same guarded payment flow as REST. An unsigned call returns payment_required in structuredContent (MCP HTTP 200). Never repay an ambiguous order.
- **list_admin_products** — List ready products including Admin Only products. Requires a verified allowlisted admin Firebase session; guest and agent keys cannot access private catalog products.
- **list_photos** — List your unexpired, unlocked uploaded photos. Use their IDs in slot order. Photos reserved by an order cannot be deleted.
- **get_photo** — Get the private JPEG download endpoint for your uploaded photo. Send the same Bearer credential; this is not a public image URL.
- **delete_photo** — Permanently delete one of your uploaded photos. Photos locked or reserved by an order cannot be deleted.
- **preview_print_item** — Preview one complete design using owned uploaded photoIds in product slot order. Reviewed compositions (including photobooth strips) render the same assembly used for fulfillment. For artwork.calendar, include calendar:{startYear,startMonth}; previews include the generated date grids in print page order. Other products return ordered flat artwork pages, not a physical mockup. JPEG thumbnails appear as MCP image content after the JSON metadata. Page with offset/limit; no order or external photo link is created.
- **preview_print_price** — Estimate product and destination pricing before using the customer’s photos for an order. Uses placeholder artwork and does not create an order or a payable quote. Call quote_prints with buyer consent before checkout.
- **list_orders** — List your most recent orders, newest first, up to 50. Does not reconcile payments; use get_order for a specific order. Unpaid Admin Only orders require a verified admin session.
- **get_checkout_link** — Mint a private on-site checkout link for your existing order. Preserve its access fragment, share only with the buyer, and never create another order to recover a checkout. Card payment uses the embedded payment modal; MCP never accepts card details.
- **update_order_coupon** — Apply or remove a coupon on your eligible unpaid x402 order; empty couponCode removes it. Check canEditCoupon first. Returns the revised price and pricingVersion, invalidates old crypto quotes, and never requests payment. Obtain approval of the new total before paying. Card or ambiguous payments cannot be changed.
- **confirm_complimentary_order** — Explicitly approve fulfillment of your existing zero-total order after a coupon change. Requires buyerApproved:true and the current pricingVersion. Original order terms consent remains required. Idempotent for an already confirmed complimentary order; never use this for a positive total.
- **list_agent_keys** — List your account key IDs and expiry/revocation status, never their secrets. Requires a verified Firebase account session; guest and agent keys cannot manage keys.
- **revoke_agent_key** — Revoke one of your account keys by ID. Requires a verified Firebase account session; guest and agent keys cannot manage keys.
- **get_order** — Read your private order. Payment and fulfillment states are separate; processing means PhotoPrintAgent accepted the order for processing, not shipped. Use only PhotoPrintAgent branding and the returned customer status in updates. Does not initiate charges. Polling verifies a completed card checkout only with payment permission or a full guest/account credential. Read-only OAuth returns saved status without reconciliation.
- **estimate_print_price** — Estimate configured product and shipping charges using only product, quantity, ZIP and state. No photos or contact details required. Unknown tax or charges remain null; this is not a payable quote.
- **get_order_events** — Read your customer-safe order events in sequence. Save the last sequence as after for incremental recovery; duplicate events must be deduplicated by orderId and sequence.
- **request_order_help** — Create an order-bound support, address-change, cancellation or refund REQUEST. Requires buyer authorization. No cancellation, refund or change is executed or guaranteed. Reuse idempotencyKey when retrying the same request; read progress capability flags first.
- **subscribe_order_events** — Subscribe an owned order to an HTTPS webhook you control. Requires permission to send this order status to that endpoint. Returns a signing secret once. At-least-once delivery; verify timestamp/signature and deduplicate orderId + sequence. Repeated failures pause delivery; use event history for recovery.
- **list_order_subscriptions** — List your webhook destinations and delivery status for an owned order. Signing secrets are never returned.
- **replay_order_events** — Resume a failed subscription or replay events after a saved sequence. Requires authorization to resend order status to the registered destination; no payments or orders are repeated.
- **unsubscribe_order_events** — Disable one of your webhook subscriptions and erase its signing secret.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "photoprintagent": {
    "url": "https://photoprintagent.com/mcp"
  }
}
```

## Documentation

## What PhotoPrintAgent MCP server does

PhotoPrintAgent turns uploaded customer images into physical photo-print orders delivered in the United States. It exposes product discovery, artwork specifications, image handling, design previews, price estimation, checkout, payment, and order-status operations through MCP.

The catalog includes product dimensions, image-slot rules, bleed and rotation requirements, supported formats, availability, and seller-facing product codes. Agents can work with standard prints as well as multi-image compositions and calendars. Calendar items use a cover and one image per month; the service generates the date grids. Composition items are assembled by the service from ordered source images.

## How it works

An agent can begin with public catalog and estimate operations. `list_products` returns paginated products and their artwork requirements, while `preview_print_price` and `estimate_print_price` provide non-payable estimates. Authoritative totals come from `quote_prints`, which uses uploaded photo IDs, the destination, quantities, and optional coupons.

Images are uploaded separately through an authenticated binary endpoint obtained from `create_upload`. Each upload should use the selected product’s ID and be retained in slot order. The service accepts JPEG, PNG/APNG, WebP, GIF, HEIC/HEIF, TIFF, AVIF, BMP, and self-contained SVG files. Upload recovery uses a stable idempotency key; image bytes and options can be retried with that same key.

After a quote is approved, `create_print_order` creates the order only when the buyer has accepted the terms and explicitly approved the purchase. Card checkout uses a private link or returned checkout URL. Crypto payment uses a listed token, a short-lived crypto quote, and the x402 payment flow. Zero-total orders have a separate confirmation step.

## Setup and configuration

The full MCP endpoint is available at `https://photoprintagent.com/mcp`; a narrower connector is available at `https://photoprintagent.com/mcp-narrow`. Public account and guest-authentication instructions are returned by `get_checkout_options`.

Guest checkout can mint a private guest credential once. Account users can create 90-day agent keys with a verified Firebase ID token, and can list or revoke those keys from a verified account session. Credentials and returned photo or checkout links should be stored and shared as private data.

The upload SDK is available at `https://photoprintagent.com/sdk/photo-upload.mjs`. Images must be sent as binary data rather than base64 or remote URLs. Use `application/octet-stream` when the image MIME type is unavailable, and convert unsupported encodings before upload.

## Tools and capabilities

- Browse paginated products, specifications, availability, and supported artwork layouts.
- Upload, list, download, preview, and delete owned photos.
- Quote mixed products, multi-image designs, calendars, quantities, destinations, and coupons.
- Create orders, obtain checkout links, pay through card or x402 crypto flows, and confirm complimentary orders.
- List orders, inspect private order states, read event history, and request support actions.
- Subscribe an owned order to an HTTPS webhook, replay failed events, and manage subscriptions.
- Manage account agent keys and access admin-only products with an allowlisted admin session.

## Limitations and notes

Printing and shipping are paid services. A quote requires buyer consent for processing the photos and delivery address, and an order requires both terms acceptance and explicit buyer approval. The service does not accept card details through MCP.

Uploads are governed by the chosen product’s artwork specifications, not a universal 4x6 layout. Minimum DPI values are quality guidance rather than upload rejection thresholds. Orders support up to 200 uploaded images and 500 product units, with no more than 500 total prints. Shipping may use a flat rate that changes between one print and two or more; agents should use the returned total rather than multiplying shipping by quantity.

Order processing and payment status are distinct. A processing state means the service accepted the order for processing, not that it has shipped. Support, address-change, cancellation, and refund tools create requests only; they do not guarantee that an action will be executed. Webhook delivery is at least once, so consumers should verify signatures and deduplicate by order ID and event sequence.

_Full upstream README: https://allmcps.com/mcp/photoprintagent/readme_

