Commerce & Payments

Sellfy MCP

Manage a Sellfy store's products, orders, discounts, email campaigns and storefront through Sellfy's hosted remote MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • List store versions

    List store versions, newest first, with their seller-only preview_url. kind="draft" is an editable draft; kind="backup" is a read-only copy of the live store taken automatically just before a publish or restore replaced it (the two newest are kept) - restore_store_version brings one back. Edits made in the Sellfy dashboard are not versioned.

  • Publish store version

    Replace the live storefront with a draft: its pages, blocks and theme go live, live pages and blocks the draft does not contain are removed, and blocks no page places are dropped too, so put every block on a page with update_store_page first. Refused if the live store changed after the draft was created (create a new draft then). The live store is backed up first; the draft is removed once published.

  • Reactivate license key

    Undo a revoke: the buyer can activate the key again. Expired keys stay expired; reactivating a key that is not revoked just returns its state.

  • Restore store version

    Replace the live storefront with a backup from list_store_versions, e.g. to undo a publish. Only on the seller's request. Requires the live expected_revision from a store-editor read; the live store is backed up first.

  • Revoke license key

    Revoke a sold license key so it can no longer be activated, e.g. after a refund. Idempotent: revoking an already-revoked key just returns its state. Undo with reactivate_license_key.

  • Send test email

    Send a test version of a campaign email to the seller's own email address so they can preview it.

  • Set product contents

    Replace the product delivery tree: add, rename, reorder, nest or remove folders, text notes and links, and move files between folders. Send the whole tree - anything omitted is removed. Files must already exist; add new ones with begin_product_upload. To reuse a file the seller already uploaded, copy that file item from another product's get_product_contents: keep its "file" id, give the item a new UUID as "id". Bundles have no contents of their own.

  • Set product licensing

    Enable or disable license keys for a product and pick how keys are made: 'generated' creates a unique key per sale, 'pool' hands out keys uploaded with add_license_keys. The buyer receives the key with the order; in pool mode the available key count is the product stock. Switching from pool to generated deletes the unsold uploaded keys.

  • Set product media

    Replace a product's images and embeds in one call: reorder them, remove any you leave out, or add new ones from an upload or add_product_media_link. The first image becomes the thumbnail. Read list_product_media first, then send the whole list back in the order you want.

  • Set product shipping

    Set a physical product's shipping in one call: flat per-region rates (mode 'inline'), an existing shipping profile (mode 'profile'), or none. Also toggles local pickup and excluded regions. A product uses inline rates OR a profile, never both. Not available for Printful products.

  • Set product variants

    Replace a product's variants in one call: rename or reprice them, change stock, add new ones, drop any you leave out, set the default, and pick which content files each delivers. Read list_product_variants first, then send the whole list back - without the stock fields unless you are changing stock. Digital and physical products only; Printful variants come from the Printful editor.

  • Set store module

    Create or update one storefront block (module). Omit module_id to create (then add its id to a page with update_store_page); pass it to edit. Send only the props to change: they are merged over the current props. Prop values outside the constraints from list_store_module_types are rejected; text content is cleaned of scripts, and links must be relative or http(s), mailto or tel. The announcement_bar block is store-wide: never add it to a page, set enabled=true and text to show it above the navigation on every page, and list page ids in hiddenPages to hide it from some.

  • Update discount

    Update a discount: rename, change amount, enable/disable, adjust validity or usage limit. Omitted or null fields keep their value; send "" to clear the message. The discount type cannot be changed, and a bulk coupon keeps its generated codes: code has no effect on it, use expire_discount_code to retire individual codes.

  • Update email campaign

    Update a DRAFT campaign: subject, body, recipients or scheduled time. Omitted or null fields keep their value. Once the seller has scheduled or sent a campaign it can no longer be edited here; the seller manages it from the dashboard.

  • Update product

    Update a product in the seller's own catalogue: name, description, price (minor units), SEO fields, product-wide stock, bundle members or publish state. Publishing a digital, freebie or subscription product requires a file, text or link in its contents, or license keys. Unpublishing hides the product from the store catalogue but leaves its URL reachable and buyable.

  • Update shipping profile

    Update a shipping profile. Send only the fields to change; regions and product_ids are replaced whole when sent, so read get_shipping_profile first and send the full list back with your edits.

  • Update store page

    Update a storefront page: title, slug, SEO fields, publish state, its position in the navigation, or the ordered block list. module_ids replaces the whole list, so read get_store_page first; other fields keep their value when omitted.

  • Update store settings

    Update the storefront theme: send only the settings keys to change and they are merged over the current values. Includes headCode and footerCode custom-code fields on plans that allow custom code. Values outside the constraints from get_store_settings are rejected.

PreviousPage 3 / 3