Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

TikTok Shop

by Buer2333version 0.3.0i★ 10iRuns on your computerRepository ↗
Registry nameio.github.Buer2333/tiktok-shop-mcp

How to install

What it does

Read-only TikTok Shop Partner API: orders, finance, products and analytics across shops.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Online shops & payments

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity12/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score24/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install TikTok Shop. Follow https://mcp.popnx.com/i/buer2333-tiktok-shop-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server TikTok Shop for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tiktok-shop": { "command": "uvx", "args": [ "tiktok-shop-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TikTok Shop tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "tiktok-shop": {
          "command": "uvx",
          "args": [
            "tiktok-shop-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use TikTok Shop and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using TikTok Shop or shows a TikTok Shop tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TIKTOK_SHOP_CONFIG Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
  • TIKTOK_SHOP_BESTSELLERS_SHOP Shop used by the bestselling tools when seller_name is omitted

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect TikTok Shop yet

TikTok Shop runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect TikTok Shop

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Online shops & payments that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server TikTok Shop for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user tiktok-shop -- uvx tiktok-shop-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TikTok Shop tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user tiktok-shop -- uvx tiktok-shop-mcp
  4. Type /mcp in Claude Code

    You should see TikTok Shop listed as connected

  5. Try it

    Use TikTok Shop and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using TikTok Shop or shows a TikTok Shop tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TIKTOK_SHOP_CONFIG Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
  • TIKTOK_SHOP_BESTSELLERS_SHOP Shop used by the bestselling tools when seller_name is omitted

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server TikTok Shop for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tiktok-shop": { "command": "uvx", "args": [ "tiktok-shop-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TikTok Shop tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use TikTok Shop and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using TikTok Shop or shows a TikTok Shop tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TIKTOK_SHOP_CONFIG Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
  • TIKTOK_SHOP_BESTSELLERS_SHOP Shop used by the bestselling tools when seller_name is omitted

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server TikTok Shop for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "tiktok-shop": { "type": "stdio", "command": "uvx", "args": [ "tiktok-shop-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TikTok Shop tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use TikTok Shop and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using TikTok Shop or shows a TikTok Shop tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • TIKTOK_SHOP_CONFIG Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
  • TIKTOK_SHOP_BESTSELLERS_SHOP Shop used by the bestselling tools when seller_name is omitted

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use TikTok Shop💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user tiktok-shop -- uvx tiktok-shop-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "tiktok-shop": {
      "command": "uvx",
      "args": [
        "tiktok-shop-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tiktok-shop": {
      "command": "uvx",
      "args": [
        "tiktok-shop-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tiktok-shop": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tiktok-shop-mcp"
      ]
    }
  }
}

Values you fill in

  • TIKTOK_SHOP_CONFIG env
    Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
  • TIKTOK_SHOP_BESTSELLERS_SHOP env
    Shop used by the bestselling tools when seller_name is omitted

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
83/wk
Connection
Runs on your computer
Latest versioni
0.3.0
Published to registryi
Oct 19, 2026
Code last changedi
Nov 17, 2026
Maker
Buer2333
Packages
pypi: tiktok-shop-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Buer2333, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for tiktok-shop-mcp@0.3.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/buer2333-tiktok-shop-mcp.svg)](https://mcp.popnx.com/en/servers/buer2333-tiktok-shop-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Online shops & paymentsi

  • More stars than 98% of the other 2947 servers in this category
  • Published to the registry more recently than 48% of the other 2947 servers in this category
  • Basic checks equal to or better than 99% of the other 2947 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is TikTok Shop safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.3.0) reached the registry 31 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Stripe MCP

Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.

by stripeWidely used★ 2.1KUpdated 13 months ago

Runs in the cloud✓ service owner · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

by flightclawGrowing★ 86Updated 2 months ago

Runs in the cloud✓ service owner · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

by trade-it-incEarly★ 62Updated 34 days ago

Runs in the cloud✓ service owner · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

by idealoEarly★ 28Updated 6 months ago

Runs in the cloud✓ service owner · mcp.idealo.com
Compared with similar ones
This one
TikTok Shop
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesNoNoNoNo
Basic checks3/34/44/45/54/44/4
LicenseMITMITMITCC0-1.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

tiktok-shop-mcp

A Model Context Protocol (MCP) server for the TikTok Shop Partner API — query orders, finance, products, analytics, and affiliate performance across multiple shops from Claude, or any other MCP client.

Built for sellers and agencies who operate TikTok Shops and want their AI assistant to answer questions like *"what did the US shop sell yesterday?"*, *"which SKUs are trending this week?"*, or *"pull the settlement statements for June"* — directly against the official API, with no browser scraping.

Features

  • Multi-shop — configure any number of shops in one JSON file; every tool takes an optional seller_name (partial match) to pick the shop
  • 32 tools covering orders, finance, product catalog and listing lookups, shop/video/SKU analytics, affiliate best-sellers, returns/cancellations, and gated product writes
  • Human-friendly dates — pass start_date=2026-07-01 + an IANA timezone instead of unix timestamps; the server handles conversion
  • Token lifecycle — inspect expiry and refresh access tokens (single shop or all shops) without leaving the conversation
  • Resilient by default — all requests go through mcp-retry (exponential backoff + jitter on 429/5xx/network errors)
  • Read-only by default — product write tools exist (image upload, create, partial edit, activate/deactivate), but every one of them refuses until you list the shop's exact name in TIKTOK_SHOP_WRITE_SHOPS, and each defaults to a dry run. See Product writes. Otherwise the only thing the server writes is your own shops.json, when it refreshes tokens, with owner-only (0600) permissions. If you never need writes, authorize the Partner Center app with read scopes only

Tools

GroupTools
Shops & authlist_shops · refresh_token · refresh_all_tokens
Ordersget_shop_orders · get_order_detail · search_returns · search_cancellations
Financeget_shop_statements · get_shop_transactions
Productsget_shop_products · get_product_detail
Listing lookupsget_categories · get_category_attributes · get_category_rules · get_brands · get_warehouses
Product writes (opt-in, see below)upload_product_image · create_product · partial_edit_product · activate_products · deactivate_products
Shop analyticsget_shop_performance · get_shop_performance_hourly · get_shop_products_performance · get_product_performance · get_shop_videos_performance · get_sku_performance · get_customer_service_performance
Video & affiliateget_account_video_gmv · get_videos_bestselling · get_creators_bestselling · get_products_bestselling

Installation

pip install tiktok-shop-mcp

Or from source, into a virtualenv, with the direct dependencies pinned to the versions the tests run against:

git clone https://github.com/Buer2333/tiktok-shop-mcp.git

cd tiktok-shop-mcp python3 -m venv .venv .venv/bin/pip install -r requirements.txt .venv/bin/pip install --no-deps -e .

requirements.txt pins the direct runtime dependencies to exact versions, including mcp-retry, which wraps every API call and so sees your tokens. Transitive dependencies (pydantic, starlette, and so on) are not pinned; for a fully reproducible install, generate a lock file with pip-compile --generate-hashes. Bump a pin only after reading what changed in that release.

Compatibility

Works with both mcp 1.x and 2.x. mcp 2.0 renamed FastMCP to MCPServer (mcp.server.mcpserver) and turned mcp.server.fastmcp into a raising stub; server.py imports via a try-v2-except-v1 shim. Tests pass on 1.28.1 and 2.1.1; requirements.txt pins 2.1.1.

Configuration

Credentials live in a JSON file outside the repo (default ~/.config/tiktok-mcp/shops.json, override with the TIKTOK_SHOP_CONFIG env var). The server never reads a shops.json from the project folder, so a copy there can't be picked up and synced or committed by accident. Keep the file owner-only:

chmod 700 ~/.config/tiktok-mcp && chmod 600 ~/.config/tiktok-mcp/shops.json

The setup scripts leave token backups (shops.json.bak.* and a recovery/ folder) next to it; delete them once your shops are working. A small shops.json.lock file also lives there; it is how the server, the cron refresher, and the setup scripts avoid writing the file at the same time, so leave it be.

[

{ "seller_name": "MY SHOP US", "seller_base_region": "US", "app_key": "...", "app_secret": "...", "access_token": "TTP_...", "refresh_token": "TTP_...", "shop_id": "...", "shop_cipher": "..." } ]

You get app_key / app_secret by creating an app on the TikTok Shop Partner Center, then authorize your shop(s) to obtain tokens. shop_id / shop_cipher are returned by the authorized-shops endpoint; the bundled probe_authorized_shops.py script can fetch them for you.

The three *_bestselling tools need a shop whose app has the Bestsellers scope. The lists are platform-wide, so one such shop is enough: set TIKTOK_SHOP_BESTSELLERS_SHOP to its seller_name (partial match OK) and the tools use it whenever seller_name is omitted. Without it they fall back to the first shop in shops.json.

Adding a shop
TIKTOK_SHOP_APP_SECRET=... .venv/bin/python add_or_update_shop.py "<full_callback_url>" --seller-name "MY SHOP"

TIKTOK_SHOP_APP_SECRET is only needed for the first shop on an app; after that the script reads it from the existing entry. The callback URL carries app_key and code. The code is single-use and starts with TTP_, while an app secret is 40 hex characters, so they are easy to tell apart.

To keep one business's shops apart from another's, point TIKTOK_SHOP_CONFIG at its own file for both this script and the server. Backups and the recovery/ folder follow that path.

Token lifetime
  • Access token: lasts about 7 days. An expired token gets 401 / 105002 Expired credentials; the server then refreshes it and retries once, so MCP use needs no scheduled job.
  • Refresh token: effectively does not expire (observed expiry in 2125).
  • `access_token_expire_in` / `refresh_token_expire_in`: despite the names, these are Unix timestamps, not durations.
  • ***_expire_at in shops.json and list_shops:** real UTC dates. Entries written by older versions can show years like 2083 until their next refresh.
Claude Code
claude mcp add tiktok-shop -- tiktok-shop-mcp
Claude Desktop / other MCP clients
{

"mcpServers": { "tiktok-shop": { "command": "tiktok-shop-mcp", "env": { "TIKTOK_SHOP_CONFIG": "/path/to/shops.json" } } } }

Product writes (opt-in)

Five tools change a shop's listings. They are off unless you turn them on per shop.

ToolEndpoint (Product API 202309)Required params
upload_product_imagePOST /product/202309/images/upload (multipart)seller_name, image_path; use_case = MAIN_IMAGE (default), ATTRIBUTE_IMAGE, DESCRIPTION_IMAGE, CERTIFICATION_IMAGE, SIZE_CHART_IMAGE
create_productPOST /product/202309/productsseller_name, product (the Create Product body: title, category_id, main_images, skus, ...)
partial_edit_productPOST /product/202309/products/{id}/partial_editseller_name, product_id, changes
activate_productsPOST /product/202309/products/activateseller_name, product_ids (max 20)
deactivate_productsPOST /product/202309/products/deactivateseller_name, product_ids (max 20)

The gate. Every write tool checks, before it builds a request:

  1. seller_name is given and matches a shops.json entry exactly. The read tools' partial, case-insensitive match and first-shop fallback do not apply: "MY SHOP" will not select "MY SHOP US".
  2. That exact name is listed in the TIKTOK_SHOP_WRITE_SHOPS environment variable (comma-separated). Unset or empty means every write tool refuses, dry runs included.
{

"mcpServers": { "tiktok-shop": { "command": "tiktok-shop-mcp", "env": { "TIKTOK_SHOP_WRITE_SHOPS": "MY SHOP US" } } } }

Dry run first. dry_run defaults to true: the tool returns the method, path and JSON body it would send (no token, signature or app key) and makes no HTTP request. Pass dry_run=false to send. A real send then:

  • goes out once. Write requests skip the automatic retry used for reads, because a create that timed out may still have gone through. On a network error the result says the outcome is unknown; read the product before trying again.
  • reads the product back (GET /product/202309/products/{id}) and returns it as read_back. After partial_edit_product the read-back asks for the version under review, since TikTok Shop keeps the old version live until the edit passes audit. After activate_products / deactivate_products it returns each product's status, and errors lists per-product failures that come back with code 0.

What the tools will not do.

  • No full Edit Product (PUT .../products/{id}): it overwrites every field the body leaves out.
  • partial_edit_product refuses skus. The API treats each top-level field as a unit, so a skus list you send stands in for the whole property; the docs do not say what happens to SKUs left out of it (they may be removed), and SKUs carry inventory. It also refuses listing_platforms and anything not on its list (title, description, brand_id, main_images, product_attributes, package_weight, package_dimensions, video, certifications, size_chart, search_terms, key_product_features, external_product_id, save_mode, locale).
  • No stock or price updates, product deletion, or anything touching orders, finance or promotions.

Things to know before sending.

  • Partial Edit leaves omitted top-level fields alone, but an object or list you do send replaces that whole property: leave out one product_attributes entry or one package_dimensions value and it is blanked. Send the full property.
  • Edits other than price and inventory go back to audit. So do activations (status PENDING). New products are audited after creation.
  • create_product sets each SKU's opening inventory (warehouse_id from get_warehouses, quantity). If another system syncs your stock, make the opening numbers match it; after creation, leave stock to that system.
  • US, EU and SEA shops must use category_version v2; the tools default to it.
  • The Partner Center app needs the Product Basic (seller.product.basic) and Product Modify (seller.product.write) scopes; get_warehouses needs Logistics Basic (seller.logistics).

Example prompts

  • *"List my shops and when their tokens expire"*
  • *"Orders for MY SHOP US on 2026-07-18, Eastern time"*
  • *"Which creators drove the most GMV for us in the last 7 days?"*
  • *"Compare yesterday's hourly GMV curve with the day before"*
  • *"Refresh tokens for all shops"*

Architecture

tiktok_shop_mcp/

├── server.py # FastMCP app — tool definitions, date handling, error envelope ├── client.py # Signed HTTP client (HMAC-SHA256 request signing, via mcp-retry) ├── config.py # Multi-shop credential loading & resolution ├── write_guard.py # Exact-name + TIKTOK_SHOP_WRITE_SHOPS gate for write tools └── tools/ # One module per API domain (orders, finance, products, analytics…)

All tools return structured JSON. Errors come back as {"error": true, "message": …, "suggestion": …} so the model can self-correct (e.g. refresh an expired token and retry).

Disclaimer

This is an independent open-source project, not affiliated with or endorsed by T

Only the beginning is shown; read the rest in the repo