amazon-listing-kit
Checks product images against Amazon main-image rules (resolution, square ratio, format/10 MB, pure white RGB 255 background, 85% fill, edge safety), auto-fixes main images, and renders Amazon-named listing image sets.
Renders eBay listing images on a 1600×1600 canvas with eBay file-naming conventions and 12 MB cap awareness.
Renders Etsy listing images on a 2000×2500 (4:5) canvas with Etsy file-naming conventions.
Renders Shopify-compliant listing image sets on a 2048×2048 canvas with Shopify file-naming conventions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@amazon-listing-kit Check this main listing image against Amazon's rules and fix the background."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Showcase Gallery
Related MCP server: image-mcp-server
Highlights
Checker — six Amazon main-image rules: resolution, square ratio, format / 10 MB, pure white RGB 255, 255, 255, 85% product fill, and edges.
Fixer — replace a light or off-white backdrop with RGB 255, reframe to a 2000×2000 canvas, and return a fresh report.
Studio (optional extra) — inspect a source photo, cut the product out with a local ONNX model, and compose main, infographic, dimensions, detail, angle, in-box, and comparison images. Lifestyle shots are out of scope.
No cloud generation — no generative-model API key, no database, no billing. Runs as an Agent Skill plus an MCP server.
The Agent Skill at skills/amazon-listing-kit/SKILL.md is written for an operator agent: intake and fact-extraction (so typography slots are not invented), a four-marketplace compliance matrix, a 5-stage diagnose → cutout → repair → render → pre-upload workflow, and a troubleshooting playbook. Slot-by-slot copy budgets and buyer-objection layouts live in skills/amazon-listing-kit/references/amazon-slot-playbook.md and are loaded on demand.
Install
Agent Skill
npx skills add blockCloth/amazon-listing-kitMCP Server (checker + fixer)
uvx --from git+https://github.com/blockCloth/amazon-listing-kit amazon-listing-kitWith the studio extra (cutout + listing-set rendering):
uvx --from 'amazon-listing-kit[studio] @ git+https://github.com/blockCloth/amazon-listing-kit' amazon-listing-kitOr install from a local checkout:
pip install -e .
pip install -e '.[studio]' # cutout + listing setPython 3.10+ is required. Base dependencies are fastmcp, pillow, and pydantic. The [studio] extra adds numpy and onnxruntime.
MCP client config
Add the server to your MCP client (Claude Desktop, Cursor, …):
{
"mcpServers": {
"amazon-listing-kit": {
"command": "uvx",
"args": [
"--from",
"amazon-listing-kit[studio] @ git+https://github.com/blockCloth/amazon-listing-kit",
"amazon-listing-kit"
]
}
}
}Drop the [studio] extra from the --from argument if you only need check_main_image and fix_main_image.
MCP Tools
Tool | Extra | What it does |
| base | Six-check Amazon main-image report ( |
| base | Whiten the backdrop, reframe to a square canvas, re-check. |
|
| Inspect resolution / blur / crop and write an RGBA cutout via ISNet or BiRefNet. |
|
| Render the listing set as |
Calling a studio tool without the extra raises ImportError and tells you to install amazon-listing-kit[studio].
Python Quickstart
from amazon_listing_kit.check import check_main_image
from amazon_listing_kit.fix import fix_main_image
report = check_main_image("mug.jpg")
print(report["status"], report["checks"])
fixed = fix_main_image("mug.jpg", "mug.MAIN.jpg", size=2000)
print(fixed["check"]["status"], fixed["output_path"])Studio (needs amazon-listing-kit[studio]):
from amazon_listing_kit.studio.listing import inspect_and_cutout, render_listing_set
cut = inspect_and_cutout("mug.jpg", "mug-cutout.png", model="isnet")
result = render_listing_set(
cut["output_path"],
"out/",
product_name="Sunrise Mug",
prefix="B0EXAMPLE",
facts={
"sellingPoints": [
{"title": "Hand-glazed ceramic", "detail": "Unique glaze on every mug"},
{"title": "12 oz capacity", "detail": "Comfortable everyday size"},
],
"dimensions": {"width": 4.7, "height": 3.3, "length": 3.5, "unit": "in"},
"inBox": [{"label": "Ceramic mug", "quantity": 1}],
"comparison": {
"rows": [
{"feature": "Hand-glazed finish", "ours": True, "others": False},
]
},
},
)
print(result["files"])render_listing_set can also take a ready-made RGBA cutout, so you can skip ONNX if you already have a transparent PNG.
Supported Marketplaces
Amazon MAIN | Shopify | Etsy | eBay | |
Recommended canvas | 2000×2000 | 2048×2048, consistent framing across the catalogue | 2000 px on the shortest side; this kit uses 2000×2500 | 1600×1600 (longest side) |
Hard floor | 1000 px longest side (zoom) | — | — | 500 px longest side |
Background | Pure white RGB 255, 255, 255 | Any, keep it consistent | Context is welcome; white not required | Plain light preferred, not required |
Product fill | ≥ 85% of the frame (fixer targets 0.88) | Keep fill consistent | Compose for the 4:5 search crop — keep the product inside the vertical centre | Not mandated |
Format / size cap | JPEG, PNG, TIFF, GIF / 10 MB | JPEG, PNG, WebP, HEIC, GIF / 20 MB | JPEG, PNG, GIF / 20 MB | JPEG, PNG, TIFF, BMP, GIF / 12 MB |
File names |
|
|
|
|
Amazon files are named {prefix}.{code}.jpg. Shopify uses {prefix}-{index}.jpg on a 2048×2048 canvas. Etsy uses a 2000×2500 (4:5) canvas. eBay uses 1600×1600 and a 12 MB cap.
Model Cache & Fonts
The first inspect_and_cutout run downloads an Apache-2.0 ISNet (~180 MB) or MIT BiRefNet (~220 MB) model into ~/.cache/amazon-listing-kit/models/. Set AMAZON_LISTING_KIT_MODEL_DIR to override the cache, or AMAZON_LISTING_KIT_AUTO_DOWNLOAD=0 to disable downloads.
Inter Variable (SIL Open Font License) is bundled and used for typography. Noto Sans SC is downloaded from the official notofonts/noto-cjk repository on first CJK use into ~/.cache/amazon-listing-kit/fonts/. See THIRD_PARTY_NOTICES.md.
License
MIT.
Available Tools
4 toolscheck_main_imageCheck Main ImageA
Check a product photo against Amazon main-image rules.
Measures six things: longest side (1,000 px min, 2,000 recommended), square ratio, file format and 10 MB limit, pure white RGB 255, 255, 255 background, 85% product fill, and whether the product is cropped at the edge. The photo is read from disk only; nothing is uploaded. Other platforms still get the Amazon report plus a short note, because those marketplaces are more relaxed.
Inputs: image_path (required), platform. Returns: object
fix_main_imageFix Main ImageA
Replace the backdrop with pure white, reframe the product, and re-check.
Writes a square JPEG (default 2000×2000) with the product filling about 88% of the frame on RGB 255, 255, 255, then returns a fresh compliance report for the written file. Works on light-grey or off-white backdrops; busy scenes may still need a manual cutout.
Inputs: image_path (required), output_path (required), size, target_fill. Returns: object
inspect_and_cutoutInspect And CutoutA
Inspect a source photo and write an RGBA cutout using a local ONNX model.
Requires the studio extra: pip install 'amazon-listing-kit[studio]'.
model is isnet (default, Apache-2.0, ~180 MB, downloaded on first use),
birefnet (MIT, ~220 MB), or fused (both). The inspection flags low
resolution, blur, a product cut off at the edge, or a product that is too
small in the frame. The cutout is written as a transparent PNG.
Inputs: image_path (required), model, output_path. Returns: object
render_listing_setRender Listing SetA
Render a marketplace listing set from one product cutout. No LLM API key.
Requires the studio extra: pip install 'amazon-listing-kit[studio]'.
By default renders Amazon slots MAIN, PT01 (infographic), PT03 (dimensions),
PT04 (detail), PT05 (angle), PT07 (in-box) and PT08 (comparison), named
{prefix}.{code}.jpg. Lifestyle slots are skipped — they need a generative
model. Pass facts with sellingPoints, dimensions, inBox and comparison
rows; slots that are missing copy are skipped rather than invented.
platform may be amazon, shopify, etsy or ebay.
Inputs: output_dir (required), cutout_path (required), product_name (required), facts, +3 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools map to distinct stages: check (read-only validation), fix (write/repair), cutout (extraction), and render (set generation). The only mild overlap is that fix_main_image also returns a compliance report, which could tempt an agent to use it instead of check_main_image for validation, but the write-vs-read distinction is clear.
All names use snake_case and begin with a verb, making them predictable. inspect_and_cutout bundles two actions into one name, a minor inconsistency compared to the single verb_noun pattern of the others, but overall readable.
Four tools is well-scoped for an image-preparation kit; each tool covers a necessary step (check, fix, cutout, render) with no redundant entries. The count sits comfortably in the recommended range.
The surface covers the core image lifecycle: validation, repair, cutout extraction, and multi-slot rendering. Gaps include no tool for lifestyle image generation (acknowledged as out of scope) and no batch or multi-image validation, but these are minor for the stated purpose.
Maintenance
Related MCP Connectors
Check and fix Amazon, eBay and Etsy product images, calculate marketplace fees, look up barcodes.
Get recommended by Amazon's AI. Hosted MCP server for Amazon listing compliance & generation.
Generate Amazon-style A+ Content and AI product images from product photos.
Resize, compress, convert, watermark and SEO-tag e-commerce product images from a public URL.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables creating and editing Amazon listing images and product videos from live catalog data, with Amazon compliance rules, character-consistent generation, and resumable video generation.12MIT
- FlicenseNot gradedqualityDmaintenanceEnables text-to-image generation, image editing, and local background removal through MCP tools exposed over HTTPS, with automatic model fallback and no client-side API key.-
- FlicenseNot gradedqualityBmaintenanceEnables ChatGPT to generate Amazon product listing images by returning fixed art-direction rules for Slot1-6 or a six-panel tile, using attached product images and provided product information.-
- AlicenseNot gradedqualityCmaintenanceEnables agents to run checklist-driven e-commerce image quality inspection with auditable local rules, returning pass/needs-work/fail verdicts, actionable fixes, SKU consistency checks, report files, threshold advice from reviewer overrides, and token cost estimates.MIT