mcp
v0.20.13Snowcone MCP server — the agent-native quickstart.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
snowcone_quickstart Snowcone Quickstart
Put a person's own photo, logo or finished artwork on a printed product and sell it: this explains the steps and the tool order (add the image, render the mockup, get the buy link; minting a shop to build a store) on one screen, plus the silent-failure gotchas. For an IDEA with no artwork yet ('a corgi astronaut phone case'), do NOT call this first: call snowcone_search_designs, which needs no shop and no setup.
snowcone_mint_shop Mint a sandbox Shop
Start a print-on-demand merch store for a creator, podcast or brand in one call — no account, no inventory; every order is printed and shipped. Mint your OWN sandbox Shop ID — no account or human needed. Returns { shop_id, shop_secret, api_key, api_key_scopes, store_url, lineup, claim }. When store_url is set, the shop is already a live store at that link — show it to the person you're helping. Pass image_url (the person's art, logo or photo) and the store opens stocked with best-sellers wearing that image — real listings at catalog prices, with mockups and checkout — listed in lineu…
| Parameter | Type | Description |
|---|---|---|
claim_pin | string | Optional out-of-band PIN your human must enter to claim (deliver it separately from the link). |
image_url | string | Optional art for the store to open with: an https URL of a public PNG, JPEG, WebP or AVIF image (at most 10 MB). The store then opens stocked with best-sellers wearing that image, ready to sell. A bad… |
mockup_bg_color | string | Default background painted behind every mockup render (6-hex, '#' optional, e.g. 'f5f0ea'). Visible only where the mockup scene is transparent (studio-cutout shots). Omit for transparent (the default)… |
name | string | Optional shop name (e.g. 'Jess Prints'); it also names the store's web address. Defaults to 'Sandbox <id>'. |
require_signature | boolean | Lock the shop down: require SIGNED mockup URLs (L3). Default false — the shop is open and any unsigned URL renders (simplest to start). Set true to harden against Shop-ID theft: then every render/bu… |
snowcone_claim_status Poll Shop claim status
Check whether your human has claimed the shop yet. Pass the claim_token from snowcone_mint_shop. Returns status: 'pending' | 'claimed' | 'expired'. Once 'claimed', sales route to your human's account.
| Parameter | Type | Description |
|---|---|---|
claim_token * | string | The claim_token returned by snowcone_mint_shop (ct_…). |
snowcone_release_shop Release a sandbox Shop
Delete an UNCLAIMED sandbox shop you minted, freeing your per-IP mint budget. Authenticated by the shop_secret. Refused if the shop has already been claimed. Use this when you're done iterating. What survives: already-produced mockup IMAGE URLs keep rendering (they're public marketing imagery). What dies: buy/checkout URLs, the shop's credentials (shop_secret, api_key), and the claim link. Irreversible.
| Parameter | Type | Description |
|---|---|---|
shop_id * | string | The sandbox shop_id to release. |
shop_secret * | string | The shop_secret from snowcone_mint_shop (scsec_…). |
snowcone_set_mockup_background Set the shop's default mockup background
Set (or clear) the shop's DEFAULT background color for mockup renders — painted behind every render where the mockup scene is transparent (studio-cutout shots). Applies to all renders for the shop that don't pass an explicit bg; a per-render bg on snowcone_render_mockup overrides it. Sandbox shops only (authenticated by shop_secret); once claimed, your human manages this in shop settings → Branding. Takes effect on new renders within a few seconds (already-cached mockup URLs keep their old background).
| Parameter | Type | Description |
|---|---|---|
color * | string | null | 6-hex color ('#' optional, e.g. 'f5f0ea' or '#F5F0EA'), or null to clear back to transparent. |
shop_id * | string | The sandbox shop_id to update. |
shop_secret * | string | The shop_secret from snowcone_mint_shop (scsec_…). |
snowcone_search_catalog Search the product catalog
Find products to put a photo or design on (for example a hoodie, a tote bag or a phone case), with their suggested retail prices. Full-text search the public Snowcone catalog. Only what this returns can be made: do not offer any other kind of product. Returns matching products with their code (id), name, price_cents (suggested retail, USD cents), and placement/mockup counts. Use snowcone_get_product for the full placement/mockup/option detail needed to render.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results (1-50). |
offset | integer | Pagination offset. |
query | string | Search text. Empty string lists popular products. |
snowcone_search_designs Find or sketch designs for an idea
Make custom printed products from an idea ('red panda beekeeper hoodie', 'corgi astronaut phone case'): call this FIRST, before any other Snowcone tool. It sketches a couple of quick draft designs for exactly that idea, shows each on a matching product with its price, and also searches the catalog of ready-made designs. No shop, account or setup needed. Some apps draw the drafts as a picture grid with a 'Use this design' button; the result's 'how_to_reply' says what to show the person, so follow it. Mention a catalog design only if it really matches the idea. Their pick arrives as their next m…
| Parameter | Type | Description |
|---|---|---|
drafts | boolean | Also make fresh draft designs for this search (DEFAULT true; first page of a worded, unfiltered search only). Set false for catalog results alone. |
drafts_page | integer | "Show me more": call again with the SAME query and drafts_page 2 (then 3, up to 4) for two NEW sketches of the same idea in other art styles. Omit for a new idea. |
filter | string | Meilisearch filter expression, e.g. "occasion = 'christmas' AND style = 'watercolor'". |
limit | integer | Max results (1-50). |
names | array | When the person wants one for each of several people with their names: the names. The designs are shown with the first; snowcone_show_on_products then makes one a person. |
offset | integer | Pagination offset. |
query | string | Search text, e.g. 'christmas card'. Empty string lists curated designs. |
semantic_ratio | number | Semantic vs keyword blend (0 = keyword-only, 1 = fully semantic). Default 0.5. |
shop | string | Your public Shop ID — when set, each result includes a ready-to-render mockup_url. |
shop_secret | string | Per-shop secret (scsec_…). With 'shop', URLs are L3-signed (server-side only — never expose it). |
template | string | A ready-made occasion: bachelorette, birthday, team, family-reunion, wedding, pet, baby. It supplies the picture's idea and the look of the words, so the person only brings the words (a name each). Pa… |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_get_product Get a product
Fetch one product by its code (id) or slug. Returns placements (where art goes), mockups (scene ids for the 'view' param), and variant options — everything you need to build a render URL. Returns an error if the code doesn't exist (it would render blank).
| Parameter | Type | Description |
|---|---|---|
id_or_slug | string | Deprecated alias of 'product' — accepted for back-compat; prefer 'product'. |
product | string | Product code (the catalog document id) or slug, e.g. 'BC43BE'. Same name as every other tool. |
snowcone_upload_image Use a photo the person attached
Put a photo the person attached in this chat onto a product: this stores the attached file and returns an image_url to use as 'asset' in snowcone_render_mockup. Works when your app passes attached files to tools (ChatGPT does). If you can't pass the file, use snowcone_upload_link instead: the person picks the photo on a page we host. No shop is needed: leave api_key out and the photo is kept with us (no account), where it renders and can be ordered for 30 days. PNG, JPEG, WebP or AVIF, at most 10 MB. Pass 'product' too and this answers the photo on that product (the mockup card) in the same ca…
| Parameter | Type | Description |
|---|---|---|
image * | object | The attached image file. |
api_key | string | Your shop's api_key (secret), only if the photo should go into a shop of your own. Omit it for a person in a chat. |
as_is | boolean | Leave out. A picture that already shows a product with the design on it (a mockup you or another tool drew) is refused with E_PICTURE_IS_A_MOCKUP: send the artwork alone instead. Set true only when th… |
product | string | A product code (from snowcone_search_catalog). Pass it and the result is the photo ON that product, as a card with the price: no separate render call. |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_upload_link Get a link for the person to add their photo
Let the person add their own photo when you can't pass an attached file to a tool: returns upload_url, a page we host where they pick a photo from their phone or computer. Give them the link, then call this again with that upload_token (and a 'product') to get the photo's image_url and see it on the product. Call it with nothing: the photo is kept with us (no account, no shop), where it renders and can be ordered for 30 days. The link works for 30 minutes and takes up to 3 uploads.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Your shop's api_key (secret), only if the photo should go into a shop of your own. Omit it for a person in a chat. |
product | string | A product code (from snowcone_search_catalog). Pass it and the result is the photo ON that product, as a card with the price: no separate render call. |
upload_token | string | The upload_token an earlier call returned: pass it to check whether the photo has arrived (no new link is made). |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_upload_status Check whether the person has added their photo
Check an upload link from snowcone_upload_link. Returns status: 'pending' (not uploaded yet), 'uploaded' (image_url is the photo: use it as 'asset' in snowcone_render_mockup) or 'expired' (make a new link). Pass 'product' too and, once the photo is uploaded, this answers it on that product (the mockup card) in the same call.
| Parameter | Type | Description |
|---|---|---|
upload_token * | string | The upload_token from snowcone_upload_link. |
product | string | A product code (from snowcone_search_catalog). Pass it and the result is the photo ON that product, as a card with the price: no separate render call. |
snowcone_render_mockup Render a mockup URL
Show the user their photo, design or text on a real product from the catalog (for example a hoodie, a tote bag or a phone case) as a photoreal preview image. Build a public mockup IMAGE url for a product + your artwork + your shop. The result is an <img>-ready URL — no API call, no upload. A draft design from snowcone_search_designs needs NO shop: pass its image_url as 'asset' and leave 'shop' out. Provide 'asset' (one image) OR 'design' (per-placement map). The asset must be a publicly-fetchable raster image (PNG/JPEG/WebP/AVIF; not SVG), and the product code must exist in the catalog. Pass…
| Parameter | Type | Description |
|---|---|---|
product * | string | Product code (the catalog document id), e.g. 'BC43BE'. |
aspect | string | Picture shape. Default 16:9. '2:3' is the centre portrait; '3:4' '4:5' '1:1' '1.91:1' '9:16' '21:9' '8:3' and 'app-header' (8:9) are given only by mockups made for them (a plate); asking a mockup for… |
asset | string | A single publicly-fetchable image URL. This is the BASE design — it is painted on EVERY placement of the product by default (front, back, sleeves, …), so one image covers the whole product with no… |
bg | string | Background color behind the mockup (6-hex, '#' optional, e.g. 'f5f0ea'), or 'transparent' to force the raw cutout over the shop's default for this one render. Only visible where the mockup scene itsel… |
design | object | Per-placement OVERRIDES on top of the 'asset' base: placement KEY → image URL / { src, align, tile } / { color }. Each entry replaces the base on just that placement; placements you don't list keep… |
options | object | Variant option picks: attribute → choice, e.g. { size: 'M', color: 'black' }. |
placement | string | Target a single placement (single-asset only). |
shop | string | Your public Shop ID from snowcone_mint_shop. LEAVE IT OUT when the artwork is a draft design from snowcone_search_designs: a draft renders and gets its buy link with no shop. |
shop_secret | string | Per-shop secret (scsec_…). If set, the URL is L3-signed (server-side only — never expose it). |
variant | string | Explicit variant id (gvid), if the product needs one. |
verify | boolean | Fetch the built URL and confirm it returns a real image before reporting success (DEFAULT true). Turns silent failures into a clear, actionable error and retries once on a not-yet-propagated shop. Set… |
view | string | Mockup scene id from snowcone_get_product's mockups[]. |
width | integer | Render width in px. Request ~2× display size. |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_show_on_products Show a design on several products
Show ONE design or picture we already hold (its image_url from an earlier result) on several products at once, or on all of them: one row of pictures, each the real product with its price. Use this, not one snowcone_render_mockup call a product, when the person wants to compare products or asks for 'all of them'.
| Parameter | Type | Description |
|---|---|---|
asset * | string | The design's or picture's image_url, exactly as an earlier result gave it. |
names | array | One design for several people: each name becomes the big line of that person's own copy (words.small and words.style stay the same for all). Pass ONE product in 'products'. At most 16 names a call. On… |
products | array | Product codes to show it on (at most 8). Leave out for all the products we make. |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_finish_design Finish a draft design for printing
Turn a draft design the person has chosen into a finished, print-size design they can order. A draft from snowcone_search_designs is a quick low-res sketch and is not for sale; this keeps the picture as it is and makes it sharp at print size (4096 px). Call it when the person has picked a draft and wants to buy it or see it at full quality, NOT for every draft: it usually takes a few seconds (after that the same draft answers at once). Pass the draft's image_url as 'draft'. The result is the finished design's own image_url, shown on a product as a card with the price and Buy; use that image_ur…
| Parameter | Type | Description |
|---|---|---|
draft * | string | The chosen draft: its image_url exactly as snowcone_search_designs returned it (or its draft_id, drf_…). |
product | string | Product code to show the finished design on (and build the buy link for). Default: the product the draft was first shown on. |
snowcone_edit_design Make a design a sticker, or take its background away
Change a chosen design (a draft's or a finished design's image_url) into: 'sticker' (a die-cut sticker, white border, the cut line following the art), 'thin_border_sticker' (the same with a thin border) or 'transparent_background' (the art alone, no background, for a coloured product or a laptop). Use it when the person asks for a sticker, a cut-out, 'no background' or 'transparent', or says the background box looks wrong on a product. It takes a few seconds (a design that is hard to cut can take up to a minute); the same call answers at once afterwards. The answer is the new picture on a prod…
| Parameter | Type | Description |
|---|---|---|
design * | string | The design: its image_url exactly as snowcone_search_designs or snowcone_finish_design returned it (or its id, drf_… or dsn_…). |
edit * | string | sticker | thin_border_sticker | transparent_background |
product | string | Product code to show it on. Default: the die-cut sticker for a sticker, the tote for a transparent design. |
snowcone_buy_url Build a checkout URL
Give the user a link to buy the printed product they just previewed — it's printed and shipped to them. Build the buyable checkout url for the same product + artwork + shop you'd render. Same inputs as snowcone_render_mockup. A draft design from snowcone_search_designs is not for sale as it is: for one, this answers 'for_sale: false' and says why. Send a customer here to purchase the printed item. Sales route to Snowcone until your human claims the shop. By DEFAULT the server follows the URL and confirms it resolves to a live checkout (the Stripe session actually builds) AND that the matchin…
| Parameter | Type | Description |
|---|---|---|
product * | string | Product code (the catalog document id), e.g. 'BC43BE'. |
aspect | string | Picture shape. Default 16:9. '2:3' is the centre portrait; '3:4' '4:5' '1:1' '1.91:1' '9:16' '21:9' '8:3' and 'app-header' (8:9) are given only by mockups made for them (a plate); asking a mockup for… |
asset | string | A single publicly-fetchable image URL. This is the BASE design — it is painted on EVERY placement of the product by default (front, back, sleeves, …), so one image covers the whole product with no… |
bg | string | Background color behind the mockup (6-hex, '#' optional, e.g. 'f5f0ea'), or 'transparent' to force the raw cutout over the shop's default for this one render. Only visible where the mockup scene itsel… |
design | object | Per-placement OVERRIDES on top of the 'asset' base: placement KEY → image URL / { src, align, tile } / { color }. Each entry replaces the base on just that placement; placements you don't list keep… |
options | object | Variant option picks: attribute → choice, e.g. { size: 'M', color: 'black' }. |
placement | string | Target a single placement (single-asset only). |
shop | string | Your public Shop ID from snowcone_mint_shop. LEAVE IT OUT when the artwork is a draft design from snowcone_search_designs: a draft renders and gets its buy link with no shop. |
shop_secret | string | Per-shop secret (scsec_…). If set, the URL is L3-signed (server-side only — never expose it). |
variant | string | Explicit variant id (gvid), if the product needs one. |
verify | boolean | Follow the built URL and confirm it resolves to a live checkout, and fetch the matching mockup to confirm the product image renders, before reporting success (DEFAULT true). Set false to skip the netw… |
view | string | Mockup scene id from snowcone_get_product's mockups[]. |
width | integer | Render width in px. Request ~2× display size. |
words | object | Words to print on it, as text under the picture: { big: 'Sarah', small: 'Nashville 2027', style: 'script' }. Use this for ANY text a person wants on the product (a name, a slogan, a date): never put t… |
snowcone_get_quote Get the price, shipping and delivery
Tell the user what a printed product costs and when it would arrive, before they buy. Returns the price the buy link will charge (before tax), and each shipping option with its cost and delivery estimate for where it's going. Takes the same product and options as snowcone_buy_url; no artwork or shop needed. Nothing is created or charged. Only promise what comes back: an option with no estimated_delivery means we have no date for it yet.
| Parameter | Type | Description |
|---|---|---|
product * | string | Product code (the catalog document id), e.g. 'BC43BE'. |
options | object | Variant option picks: attribute → choice, e.g. { size: 'M', color: 'black' }. The price depends on these. |
quantity | integer | How many (1 to 100). Default 1. |
ship_to | string | 2-letter destination country, e.g. 'US'. Default US. A country we can't ship to returns an error listing the ones we can. |
snowcone_checkout Start checkout for a design on a product
Start checkout for one design or picture on one product, when the user wants to buy it. Returns the line, its total and continue_url: the link where the person finishes on Snowcone's checkout page, with the product already in their bag. Nothing is charged by this call. 'asset' is the image_url of a design or picture an earlier Snowcone result gave.
| Parameter | Type | Description |
|---|---|---|
asset * | string | The design's or picture's image_url, exactly as a Snowcone result gave it. |
product * | string | Product code (the catalog document id), e.g. 'BC43BE'. |
options | object | Variant option picks: attribute → choice, e.g. { size: 'M' }. |
quantity | integer | How many (1 to 100). Default 1. |
snowcone_get_order_status Find out where an order is
Tell the user where their order is: whether it's being made or on its way, the carrier and tracking number, and the latest scan. Ask them for the order number and the email from their order confirmation. Read-only. If nothing matches, the error doesn't say which of the two was wrong, and repeated tries are limited, so check both with the person before retrying.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email the order was placed with. |
order_number * | string | The order number from the confirmation email, e.g. '8532-5134'. |