Connector guide13-minute read32 MCP tools7 languages

Connect Kasta to Microsoft Copilot via MCP

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.

HCBy HelpCode teamUpdated 13 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Kasta

Kasta

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.

tools

32

Region

INTL

Category

E-commerce

Authentication

API Key

Required env vars

KASTA_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

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 Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Kasta in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

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.

Kasta · live via MCP
Share
Opus 4.7

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 + Microsoft Copilot

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.

  1. Sign in to Kasta Hub, the supplier cabinet (кабінет постачальника), at https://hub.kasta.ua with a user that manages products and orders.
  2. 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.
  3. Paste the token into KASTA_TOKEN. The connector sends it as Authorization: <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 (Імпорт новинок)

  1. kasta_list_categories: pick the kind_id and affiliation_id of the category.
  2. 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).
  3. kasta_upload_image for every photo (a public URL); it returns the Hub path to use in images.
  4. kasta_submit_products with 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 own unique_sku_id makes later price and stock updates simpler; kasta_update_unique_ids adds 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_orders is a stream of changes: up to 100 orders per call with cursor and remains. 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_status with 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_shipping true): Kasta pays the delivery when you pass your own TTN before the parcel is sent, or with kasta_create_ukrposhta_label for 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 Microsoft Copilot

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 shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Kasta tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
kasta_list_categoriesRead the Kasta category tree: affiliations (affiliation_id, name, e.g. women, men, home) and below each the kinds (kind_id, name…
kasta_get_category_detailsList the characteristics a product of one category needs: per characteristic key_name (use it in kasta_submit_products), human_name, type…
kasta_upload_imageUpload 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_productsUpload new products or update the content of existing ones for one category (kind_id + affiliation_id). Each SKU is identified by code +…
kasta_list_productsList 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_idShow 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_barcodeShow 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_idUpdate 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_barcodeUpdate 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_idSet the stock available for sale of SKUs by your unique SKU id. Until you confirm customer orders (ConfirmedBySupplier), the ordered…
kasta_update_stock_by_barcodeSet the stock available for sale of SKUs by barcode. Until you confirm customer orders (ConfirmedBySupplier), the ordered quantity is…
kasta_update_nomenclatureSet the seller nomenclature (номенклатура, the product wording of your tax invoices) of SKUs, matched by barcode, unique SKU id or code +…
kasta_update_unique_idsSet 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_ordersRead customer orders (клієнтські замовлення) as a stream of changes, up to 100 per call: id, statuses (with type, time and data)…
kasta_send_order_statusSend a simple order status to Kasta: ConfirmedBySupplier (order taken into your system, the first answer to Created), AtLocation or…
kasta_pack_orderMark an order as packed (Packed, Упаковано) with the positions and quantities really packed and the order amount. Packed is required before…
kasta_send_tracking_numberPass the waybill (TTN, ТТН) of a packed order to Kasta. AnnouncedForDelivery (default) registers the TTN with the carrier named…
kasta_correct_orderCorrect an order before packing (Corrected): reduce the quantities of positions you cannot supply in full or the customer partly declined…
kasta_cancel_orderCancel a whole order (Cancelled) with a reason, also as the answer to CancellationRequested. It cannot be undone, a prepaid amount is…
kasta_accept_returnConfirm that a customer return arrived (ReturnArrived, Прийнято повернення) with the positions and quantities received (0 for an empty…
kasta_download_return_formsDownload 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_labelDownload the Nova Poshta label (маркування) of one or more waybills as a PDF. Read-only; it does not create a waybill
kasta_download_ukrposhta_labelDownload 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_labelGet 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_ordersList supplier orders (замовлення постачальнику: Kasta's purchase orders to you on the supply model): number, uuid, type (status)…
kasta_get_supplier_orderRead 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_orderList what is collected for your next supplier order (майбутнє замовлення постачальнику): per SKU brand, kind, supplier_code, size, color…
kasta_approve_supplier_orderApprove a supplier order, confirming per line the quantity you will deliver (approved_quantity) and optionally the cost price. Approving…
kasta_add_supplier_order_deliveryAdd 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_letterDownload the cover letter (супровідний лист) generated for a supplier order, as a file. Read-only
kasta_create_supplier_orderCreate supplier orders from what is collected for the next supplier order (see kasta_get_future_supplier_order). Returns the new orders'…
kasta_list_contractsList 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.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Kasta to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Kasta in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Connect Kasta to ChatGPT via MCP: Stock and Orders

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.

Connectors

Connect Kasta to Claude via MCP: Products and Orders

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.

Connectors

Connect Kasta to Cursor via MCP: Products and Stock

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.

Connectors

Connect Kasta to Gemini CLI via MCP: Stock and Orders

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.

Connectors

Connect Kasta to Meta Muse via MCP: Products and Orders

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.

Connectors

Kasta MCP Server: Products, Stock and Orders

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.