Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the TikTok Shop Seller in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Let your AI work with your TikTok shop: orders with buyer notes and addresses, products, stock, warehouses, shipping labels and tracking, returns and settlements, with shipping, product, stock and price changes available on request.
Try asking
Example prompts for TikTok Shop Seller
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 → TikTok Shop Seller, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
TikTok Shop Seller + Gemini
Let your AI work with your TikTok shop: orders with buyer notes and addresses, products, stock, warehouses, shipping labels and tracking, returns and settlements, with shipping, product, stock and price changes available on request.
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:
TIKTOK_SHOP_APP_KEY, TIKTOK_SHOP_APP_SECRET, TIKTOK_SHOP_SERVICE_ID
Step 1 — Get credentials
Setting up takes about 15 minutes once the app exists. You need an app of your own in the TikTok Shop Partner Center (App key, App secret and Service ID) and the shop owner's Seller Center account.
Seller developer access comes first: TikTok only lets a seller register as a seller developer, and create an app for their own shop, when the shop has an assigned account manager. Without one, Partner Center answers "This account is not eligible for seller developer registration". In that case ask TikTok Shop for an account manager eligibility review in the Seller Center Help Center, or use the app of a developer who has seller developer access.
- Sign in at partner.tiktokshop.com (US shops: partner.us.tiktokshop.com) with the shop owner account, open App & Service and create a custom app for your shop. Under Manage API, enable the scopes the tools need: Shop authorized information, Order information, Product basic and Product write, Fulfillment basic, Logistics basic, Return and refund basic, and Finance information.
- Set the app's Redirect URL to your AnythingMCP address followed by
/api/tiktok-shop/callback:https://cloud.anythingmcp.com/api/tiktok-shop/callbackon AnythingMCP Cloud,<SERVER_URL>/api/tiktok-shop/callback(your ownSERVER_URL) when self-hosted. - Copy the app's App key into
TIKTOK_SHOP_APP_KEY, its App secret intoTIKTOK_SHOP_APP_SECRETand its Service ID (App & Service → your app → Basic Information) intoTIKTOK_SHOP_SERVICE_ID. For a US shop setTIKTOK_SHOP_MARKETtoUS; leave it empty for the UK, the EU and every other market. - Install the connector, open it and click Authorize with Provider. TikTok Shop asks you to pick the region, sign in to Seller Center and approve the app; you come back to AnythingMCP and the connector is ready. Run
tiktok_shop_get_authorized_shopsto check the connection.
Cloud and self-hosted work the same way: the connector always uses your own app. Only the redirect URL differs.
Several shops: if one authorization covers several shops (cross-border sellers), set TIKTOK_SHOP_SHOP_ID to the shop id, shop code or exact shop name before you authorize. Without it the connector uses the first shop.
Tokens renew themselves: the access token lasts 7 days and is renewed automatically; the refresh token lasts as long as the seller's authorization and is stored encrypted. When the authorization expires or is cancelled in Seller Center, the connector shows that it needs a new authorization, its owner gets one email, and a click on Authorize with Provider fixes it.
Your App secret stays with AnythingMCP: every call is signed with it (HMAC-SHA256) and the secret itself is never sent. TikTok refuses a timestamp that is more than 5 minutes old, so a self-hosted server with a wrong clock gets a timestamp error.
What it reads: orders with line items, buyer message and seller note, recipient name and address, payment totals, carrier, tracking number and packages; the price breakdown of an order; products with category, brand, images, attributes and every SKU with its price and stock per warehouse; the categories the shop may list in, their attributes and listing rules, and brands; warehouses, delivery options and carriers; packages, pickup and drop-off options, shipping labels and packing slips to print, and tracking events; return, refund and cancellation requests; settlement statements and what each order settled after fees and commission.
Switched off at install: tiktok_shop_ship_package, tiktok_shop_mark_package_shipped, tiktok_shop_update_order_shipping_info, tiktok_shop_create_product, tiktok_shop_edit_product, tiktok_shop_partial_edit_product, tiktok_shop_update_inventory, tiktok_shop_update_price, tiktok_shop_activate_products and tiktok_shop_deactivate_products. They arrange shipments, send tracking numbers to buyers, create and edit products, overwrite stock, set prices and put products on or off sale: they change your live shop or what buyers see. Switch on only the ones you need on the connector page; the AI asks you to confirm every change first. tiktok_shop_upload_product_image is switched on: it only stores an image for a later product and changes no listing.
Nothing moves money: no tool refunds, cancels orders or answers buyers. That stays in Seller Center.
Ids, times and paging: ids are long numbers, which the AI passes as strings; times are Unix seconds; lists page with page_token.
Common errors: 106001 means the signature is wrong: the App key and the App secret do not belong to the same app. 105005 means the app or the authorization lacks the scope for that API: enable it under Manage API and authorize again. 36009033 means the app has an IP allow list that does not include AnythingMCP's address. 36009002 or a 429 is the rate limit: wait a minute and try again.
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 Gemini
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.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell):anythingmcpshould show as connected. - Start prompting: Gemini CLI can now call the
TikTok Shop Sellertools.
Available tools
| Tool | What it does |
|---|---|
tiktok_shop_get_authorized_shops | List the shops this connector's authorization covers: id, name, region (GB, US, DE...), seller type and shop code |
tiktok_shop_search_orders | Search the shop's orders, newest first, up to 100 per page, filtered by status, creation or update time, shipping type or buyer |
tiktok_shop_get_orders | Read up to 50 orders by id: status, line items (product, SKU id, seller SKU, variant name, price), buyer message and seller note, recipient… |
tiktok_shop_get_order_price_detail | Price breakdown of one order: subtotal, shipping fee, seller and platform discounts, taxes, and what the buyer paid, per order and per line… |
tiktok_shop_search_products | Search the shop's products, up to 100 per page, by status, seller SKU, SKU id, or creation or update time |
tiktok_shop_get_product | Read one product in full: title, description, category, brand, images (with their uri, reusable when creating or editing), attributes… |
tiktok_shop_get_inventory | Stock of up to 100 products or 600 SKUs: available quantity per SKU and per warehouse |
tiktok_shop_recommend_category | Suggest the leaf category for a new product from its title (and optionally description and images) |
tiktok_shop_get_categories | The categories this shop may list in, with id, parent id, name, whether it is a leaf and its permission status |
tiktok_shop_get_category_attributes | The attributes of a leaf category: product attributes (material, country of origin...) and sales attributes (colour, size), with their… |
tiktok_shop_get_category_rules | The listing rules of a leaf category: required certifications, size chart, package dimensions, product identifier codes and cash on delivery |
tiktok_shop_get_brands | Brands available to the shop, optionally for one category and by name prefix, with whether the shop is authorized to sell them |
tiktok_shop_list_warehouses | The shop's warehouses (sales and return), with id, name, address, type and whether one is the default |
tiktok_shop_get_delivery_options | The delivery options of a warehouse (standard, express...), with their ids and limits |
tiktok_shop_get_shipping_providers | The carriers of a delivery option, with the shipping_provider_id that tracking updates need (Royal Mail, Evri, DPD and so on in the UK) |
tiktok_shop_search_packages | Search packages, up to 50 per page, by status and creation or update time: package id, order ids, status, carrier and tracking number |
tiktok_shop_get_package | Read one package: orders and line items in it, status, delivery option (SEND_BY_SELLER means you ship and add tracking yourself), carrier… |
tiktok_shop_get_package_handover_time_slots | Pickup and drop-off options for a package that ships with a TikTok shipping label: available pickup slots and whether drop-off is possible |
tiktok_shop_get_shipping_document | Get a download link for a package's shipping label, packing slip or both (PDF, A6 or A5; or the label as PNG), to print |
tiktok_shop_get_order_tracking | The carrier's tracking events of an order's shipment, newest first, with time and description |
tiktok_shop_search_returns | Search return and refund requests by order, status, type or time, 10 to 50 per page: return id, order, type (REFUND, RETURN_AND_REFUND… |
tiktok_shop_search_cancellations | Search order cancellation requests by order, status or time: cancel id, order, who asked, reason, status and items |
tiktok_shop_get_statements | The shop's settlement statements (daily payouts), with revenue, fees, adjustments, settlement amount and payment status, in a time window |
tiktok_shop_get_order_transactions | The settlement of one order: revenue, each fee and commission, shipping costs, taxes and the amount settled to the seller |
tiktok_shop_upload_product_image | Upload an image to TikTok Shop from a public link, for use in a product (gallery, variant, description, size chart or certification) |
tiktok_shop_ship_package | Arrange shipment of a package |
tiktok_shop_mark_package_shipped | Mark an order (or some of its line items) as shipped with your own carrier and send the tracking number to the buyer: for orders you ship… |
tiktok_shop_update_order_shipping_info | Correct the tracking number or carrier of an order already marked as shipped (shipping type SELLER) |
tiktok_shop_create_product | Create a product, listed after TikTok's review or kept as a draft (save_mode AS_DRAFT) |
tiktok_shop_edit_product | Replace a product with a full new version: every field left out is removed, SKUs left out are deleted |
tiktok_shop_partial_edit_product | Change only the fields given (title, description, images, attributes, package, brand, SKUs): everything else stays |
tiktok_shop_update_inventory | Set the stock of one or more SKUs of a product, per warehouse |
tiktok_shop_update_price | Set the price of one or more SKUs of an active product |
tiktok_shop_activate_products | Put deactivated products back on sale (they may go through review again) |
tiktok_shop_deactivate_products | Take products off sale: buyers can no longer see or order them until they are activated again |
Example prompts
- "Which orders are waiting to be shipped, and did any buyer leave a message?"
- "Get me the shipping labels and packing slips for the packages created today."
- "Which products have fewer than 10 units in stock in any warehouse?"
- "Show me the open return and refund requests with the reason and the amount for each."
- "How much did my settlements pay out last week after fees and commission?"
FAQ
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
- Connector landing page
- Connect to Claude
- Connect to ChatGPT
- Connect to Cursor
- Connect to Meta Muse
- Connect to Microsoft Copilot
Was this guide helpful?