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.

  • Add license keys

    Upload license keys into a pool-mode product's inventory. Keys the product already has are skipped, not rejected; the result counts both. Each sale then hands out one available key, and while licensing is enabled the available key count is the product stock. Keys may be uploaded before enabling licensing.

  • Add product media link

    Add a YouTube, Vimeo, SoundCloud or Spotify link as a preview on the product page. For an uploaded image use begin_product_image_upload.

  • Begin product image upload

    Start adding a preview/thumbnail image to a product. Returns a short-lived upload_url: PUT the image bytes to it with the given headers, then call finalize_product_image_upload with the pixel size.

  • Begin product upload

    Start attaching a downloadable file to a product. Returns a short-lived upload_url: PUT the raw file bytes to it with the exact headers given, then call finalize_product_upload with the upload_id. A product needs at least one file before it can be published. A file already uploaded to another product is reused with set_product_contents instead. Not for bundles.

  • Create discount

    Create a discount. Types: coupon (code-based), sale (public price cut, optionally with countdown), social (unlocked by sharing), upsell (offer shown at checkout). For coupon/sale/social use products/excluded_products/all_products to choose what it applies to. For upsell, products = what is offered and applies_to/applies_to_all = what triggers it. amount is a percentage (0-100) or a fixed amount in minor units, per amount_type. A fixed amount is in the store currency unless currency is given. A coupon is either code_type "single" (one reusable code, set code) or "bulk" (a batch of unique single-use codes generated from bulk_config: total, prefix, code_format, code_length, optional suffix). Bulk codes are generated on creation and listed with list_discount_codes; the response reports codes_available.

  • Create email campaign

    Create an email campaign DRAFT. It is never sent by this tool - the seller reviews, picks recipients and sends it from the dashboard. Returns a dashboard link for review.

  • Create product

    Create a product in the seller's own catalogue as an unpublished draft. Types: digital (default), physical (shipped goods), freebie (free download for an email), subscription (recurring billing, requires interval), bundle (existing digital and freebie products sold together, requires members). Digital, freebie and subscription products need a file, text, link or license keys before publishing: add a file with begin_product_upload, then publish with update_product. Price is in minor units (cents).

  • Create shipping profile

    Create a reusable shipping profile: named regions (each a set of region codes like 'WORLD', 'EU', 'US') with flat rates or weight-based tiers. Cover every physical product with all_products, or specific ones with product_ids - a product belongs to one profile, so covering it here releases it from any other. Prices are in the currency minor units (cents).

  • Create store page

    Add a new page to the storefront (an About, FAQ or landing page). Build its blocks with set_store_module first and pass their ids in display order. Navigation and footer are added automatically. The page is private by default; pass public=true to publish it.

  • Create store version

    Copy the live storefront (pages, blocks, theme) into a draft you can edit safely: pass its version_id to the other store editor tools. Returns a signed, expiring preview_url only the seller opens to see the draft on the real store. Publish with publish_store_version. Drafts expire after 30 days and a store holds at most 5 of them: when that limit is hit, call list_store_versions and ask the seller which to remove with delete_store_version; never delete a draft without asking.

  • Delete license key

    Remove an unsold key from a pool-mode product, lowering its stock by one. Find it with list_license_keys status=available. Sold keys cannot be deleted, only revoked.

  • Delete store version

    Discard a draft and everything staged in it. The live store is not affected. Backups cannot be deleted: the two newest are kept automatically.

  • Expire discount code

    Retire one bulk coupon code early so it can no longer be redeemed. Cannot be undone, and a code that was already redeemed by an order is left as it is.

  • Finalize product image upload

    Confirm an image upload once the bytes are in place: attaches it to the product as media. The product's first image is its thumbnail.

  • Finalize product upload

    Confirm an upload once the bytes are in place: verifies the file arrived and attaches it to the product. Safe to call again if you are unsure whether it succeeded.

  • Get order

    Get one order by its transaction id, including the purchased line items. Amounts are in the order currency minor units (cents).

  • Get product

    Get one product record from the seller's own catalogue for administration: publish state, prices, SEO fields, stock and the seller's dashboard_url. Not for shopping or purchasing: no storefront or checkout link is returned.

  • Get product contents

    Get the product delivery tree: the folders, files, text notes and links the buyer receives. Read this before editing it with set_product_contents.

  • Get product licensing

    Read whether a product issues license keys with each sale: enabled state, key mode ('generated' or 'pool') and key counts by status. Read this before set_product_licensing.

  • Get product shipping

    Read a physical product's shipping: whether it uses inline per-region rates or an assigned shipping profile, plus local pickup and excluded regions. Read this before set_product_shipping.

Page 1 / 3Next