Summary
Kasta Hub API for suppliers on the Ukrainian marketplace kasta.ua: category tree and product upload, prices, stock and visibility, customer orders with statuses and TTN, Nova Poshta and Ukrposhta labels, return forms, supplier orders and contracts. API token from Kasta Hub.
Guided setup
Connect Kasta to ChatGPT in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Kasta in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.
Try asking
Example prompts for Kasta
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Kasta, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Kasta + ChatGPT
Kasta Hub API for suppliers on the Ukrainian marketplace kasta.ua: category tree and product upload, prices, stock and visibility, customer orders with statuses and TTN, Nova Poshta and Ukrposhta labels, return forms, supplier orders and contracts. API token from Kasta Hub.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
KASTA_TOKEN
Step 1 — Get credentials
Setting up takes about 3 minutes.
- Sign in to Kasta Hub, the supplier cabinet (кабінет постачальника), at https://hub.kasta.ua with a user that manages products and orders.
- Open the API section of the Hub settings (Налаштування, tab API: https://hub.kasta.ua/settings/common?tab=api) and copy the API token. If no token is offered there, ask your Kasta manager to enable API access for your account.
- Paste the token into
KASTA_TOKEN. The connector sends it asAuthorization: <token>, without the word Bearer.
The token works only for the methods of Kasta's public API documentation (https://hub.kasta.ua/api-docs/index.html); any other Hub method answers 403 with the code not-allow-this-handler.
Where to start: kasta_list_products shows your SKUs with status, prices and stock. kasta_list_orders reads customer orders. kasta_list_categories opens the category tree for new products.
Adding products (Імпорт новинок)
kasta_list_categories: pick the kind_id and affiliation_id of the category.kasta_get_category_details: the characteristics of that category with key_name, allowed value ids and which are required (including kasta_size, the Kasta size grid).kasta_upload_imagefor every photo (a public URL); it returns the Hub path to use in images.kasta_submit_productswith the SKUs. After photo post-processing new SKUs go to the Kasta buyer (байєр) for approval: status Draft or ContentPending, then OnSale, or Rejected with a reason to fix. A SKU is identified by code + brand + color + size, and these cannot be changed later. The brand must already exist at Kasta (new brands through [email protected] or your manager). Name, description and composition are shared by all sizes and colours of one code + brand. Setting your ownunique_sku_idmakes later price and stock updates simpler;kasta_update_unique_idsadds it to existing SKUs.
Work model and prices: which price fields are required depends on your work model at Kasta, Marketplace or supply (поставка). On Marketplace you send the selling price new_price; on supply you send the cost price supplier_price and the crossed-out old_price; with the "three prices" setting all of them. Kasta's own API documentation changes with the model, so when Kasta answers 400 naming a price field, add that field. The selling price must already include Kasta's royalty. Prices are in UAH.
Prices, stock and visibility: kasta_update_prices_by_id / kasta_update_prices_by_barcode, kasta_update_stock_by_id / kasta_update_stock_by_barcode, kasta_set_product_visibility_by_id / kasta_set_product_visibility_by_barcode (hide or show on the site, the product stays in the Hub), kasta_update_nomenclature (the product wording of your tax invoices). Send batches of up to 1000 SKUs and only values that changed. Until you confirm an order (ConfirmedBySupplier), its quantity is subtracted from the stock you send. Answers list updated and not-found SKUs.
Customer orders
kasta_list_ordersis a stream of changes: up to 100 orders per call withcursorandremains. Keep the cursor and pass it back; while remains is above 0 read again at once, otherwise wait for the next poll (every 2 minutes is enough). An empty list with the same cursor means nothing new. Read all changes and react to statuses yourself; filtering by status is for one-off reads. Orders created before 2023-01-01 are not available. Limits: 30 calls per minute, 120 per 15 minutes, 3 identical calls per minute (429 above that).- An order can hold several statuses at once (e.g. Created and CancellationRequested). The normal flow is Created, then
kasta_send_order_statuswith ConfirmedBySupplier,kasta_pack_order(Packed, with line_id quantities and amount),kasta_send_tracking_number(AnnouncedForDelivery with the TTN), SentToDelivery, AtLocation, Delivered. AnnouncedForDelivery, SentToDelivery, AtLocation, Delivered and ReturnArrived need Packed first; a correction is only possible before Packed. - Customer requests: CancellationRequested is answered with Cancelled or CancellationDenied, CorrectionRequested with Corrected or CorrectionDenied.
- With carrier auto-tracking (автоматичне відстеження) switched on, send the TTN with AnnouncedForDelivery only; the Hub then sets SentToDelivery and later statuses from the carrier, and refuses them from you (
auto-tracking-enable). - Every status call needs a new random
uuid; a reused one is refused (repeat-uuid). Status limits: 300 calls per minute, 10 per order per 10 minutes, 5 of one type per order per minute. - Black orders (
kasta_pays_for_shippingtrue): Kasta pays the delivery when you pass your own TTN before the parcel is sent, or withkasta_create_ukrposhta_labelfor Ukrposhta.
Labels and returns: kasta_download_novaposhta_label and kasta_download_ukrposhta_label return PDF labels of existing waybills; kasta_create_ukrposhta_label issues a Ukrposhta waybill under Kasta's contract for Black orders (paid by Kasta, one per order, repeat calls return the same number). kasta_download_return_forms returns a ZIP of return forms. Customer returns appear in client_returns of the order (ReturnCreated, ReturnSent, ReturnDelivered).
Supplier orders (supply model): kasta_list_supplier_orders, kasta_get_supplier_order, kasta_get_future_supplier_order, kasta_approve_supplier_order (confirm the quantities you will deliver), kasta_add_supplier_order_delivery (carrier, date and waybills) and kasta_get_supplier_order_cover_letter. kasta_list_contracts lists your organisations and contract ids.
Switched off at install: kasta_cancel_order (cannot be undone; a prepaid amount is refunded automatically), kasta_correct_order (the customer receives less), kasta_accept_return (ReturnArrived makes the Hub refund the customer) and kasta_create_supplier_order. Switch them on only for a workspace that should do this.
Not included: installment (BNPL) overrides, fiscal receipts (РРО) and account transaction exports. No tool pays out, refunds or charges money directly.
Errors and formats: errors come as HTTP 400 with code and message, e.g. impossible-status (status order broken), item-invalid-quantity, ttn-invalid, carrier-ttn-exists, not-existing-order, invalid-reason. Order ids are Kasta ids such as S5LFR5Z, not your own numbers. Times in filters are UTC. Product texts are in Ukrainian and Russian.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in ChatGPT
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.
- Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
- Enter a name, e.g. Name:
Kasta. - Under Connection, enter the Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Available tools
| Tool | What it does |
|---|---|
kasta_list_categories | Read the Kasta category tree: affiliations (affiliation_id, name, e.g. women, men, home) and below each the kinds (kind_id, name… |
kasta_get_category_details | List the characteristics a product of one category needs: per characteristic key_name (use it in kasta_submit_products), human_name, type… |
kasta_upload_image | Upload one product photo to Kasta Hub from a public URL. Returns path, the Hub link to put in images of kasta_submit_products. Kasta… |
kasta_submit_products | Upload new products or update the content of existing ones for one category (kind_id + affiliation_id). Each SKU is identified by code +… |
kasta_list_products | List your products, a page at a time: per SKU hub_sku, unique_sku_id, code, brand, color, size, barcode, name_uk, kind, status (OnSale… |
kasta_set_product_visibility_by_id | Show or hide SKUs on kasta.ua by your unique SKU id. Hiding keeps the product and its stock in the Hub; show it again with available true.… |
kasta_set_product_visibility_by_barcode | Show or hide SKUs on kasta.ua by barcode. Hiding keeps the product and its stock in the Hub; show it again with available true. Returns… |
kasta_update_prices_by_id | Update prices of SKUs by your unique SKU id. Which price fields are required depends on your Kasta work model: Marketplace sends new_price… |
kasta_update_prices_by_barcode | Update prices of SKUs by barcode. Which price fields are required depends on your Kasta work model: Marketplace sends new_price, supply… |
kasta_update_stock_by_id | Set the stock available for sale of SKUs by your unique SKU id. Until you confirm customer orders (ConfirmedBySupplier), the ordered… |
kasta_update_stock_by_barcode | Set the stock available for sale of SKUs by barcode. Until you confirm customer orders (ConfirmedBySupplier), the ordered quantity is… |
kasta_update_nomenclature | Set the seller nomenclature (номенклатура, the product wording of your tax invoices) of SKUs, matched by barcode, unique SKU id or code +… |
kasta_update_unique_ids | Set or change your unique SKU id (unique_sku_id) of existing SKUs, matched by barcode or by code + brand + color + size. Use it before… |
kasta_list_orders | Read customer orders (клієнтські замовлення) as a stream of changes, up to 100 per call: id, statuses (with type, time and data)… |
kasta_send_order_status | Send a simple order status to Kasta: ConfirmedBySupplier (order taken into your system, the first answer to Created), AtLocation or… |
kasta_pack_order | Mark an order as packed (Packed, Упаковано) with the positions and quantities really packed and the order amount. Packed is required before… |
kasta_send_tracking_number | Pass the waybill (TTN, ТТН) of a packed order to Kasta. AnnouncedForDelivery (default) registers the TTN with the carrier named… |
kasta_correct_order | Correct an order before packing (Corrected): reduce the quantities of positions you cannot supply in full or the customer partly declined… |
kasta_cancel_order | Cancel a whole order (Cancelled) with a reason, also as the answer to CancellationRequested. It cannot be undone, a prepaid amount is… |
kasta_accept_return | Confirm that a customer return arrived (ReturnArrived, Прийнято повернення) with the positions and quantities received (0 for an empty… |
kasta_download_return_forms | Download the return forms (бланки повернення) of orders or customer returns as one ZIP file. Pass order_id or return_id, up to 100 each.… |
kasta_download_novaposhta_label | Download the Nova Poshta label (маркування) of one or more waybills as a PDF. Read-only; it does not create a waybill |
kasta_download_ukrposhta_label | Download the Ukrposhta label of up to 20 waybills, by TTN or by Kasta order id (not both), merged into one PDF. All or nothing: when one… |
kasta_create_ukrposhta_label | Get a Ukrposhta waybill under Kasta's contract for a Black order with Kasta's Ukrposhta tariff: Kasta pays the delivery, no Ukrposhta keys… |
kasta_list_supplier_orders | List supplier orders (замовлення постачальнику: Kasta's purchase orders to you on the supply model): number, uuid, type (status)… |
kasta_get_supplier_order | Read one supplier order by number or uuid: supplier_order (number, uuid, status, created_at, approved_at), items (id = line id, barcode… |
kasta_get_future_supplier_order | List what is collected for your next supplier order (майбутнє замовлення постачальнику): per SKU brand, kind, supplier_code, size, color… |
kasta_approve_supplier_order | Approve a supplier order, confirming per line the quantity you will deliver (approved_quantity) and optionally the cost price. Approving… |
kasta_add_supplier_order_delivery | Add delivery information to a supplier order: carrier, delivery date and, for Nova Poshta or Meest, the waybills with the number of places… |
kasta_get_supplier_order_cover_letter | Download the cover letter (супровідний лист) generated for a supplier order, as a file. Read-only |
kasta_create_supplier_order | Create supplier orders from what is collected for the next supplier order (see kasta_get_future_supplier_order). Returns the new orders'… |
kasta_list_contracts | List your organisations and their contracts with Kasta, as in the Hub section Рахунки: name and contract_uuid per organisation. Read-only |
Example prompts
- "Which Kasta orders are waiting for my confirmation?"
- "Set the stock of SKU 4820001234567 to 12 and the price to 899 UAH."
- "Hide the products with barcode 4820001234567 and 4820001234574 on Kasta."
- "Which characteristics does Kasta require for the category of women's sneakers?"
- "Download the Nova Poshta label for order S5LFR5Z."
FAQ
Where do I get the Kasta token? In your Kasta Hub account (hub.kasta.ua), in the API settings. If you do not see the API tab, ask your Kasta manager to enable it.
Does it work for the Marketplace and the supply model? Yes. Which price fields are required depends on your work model at Kasta; the connector accepts both and the instructions explain the difference.
Can it cancel orders? kasta_cancel_order, kasta_correct_order and kasta_accept_return install switched off, because a cancellation or an accepted return can refund the customer. Switch them on on the connector page only if the AI should use them.
Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.
Next steps
Was this guide helpful?