TikTok Shop

v0.3.0
io.github.Buer2333/tiktok-shop-mcp Checked 4 days ago Published 1 month ago

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

Values you need

VariableWhat it is
TIKTOK_SHOP_CONFIGoptional Path to shops.json (default ~/.config/tiktok-mcp/shops.json)
TIKTOK_SHOP_BESTSELLERS_SHOPoptional Shop used by the bestselling tools when seller_name is omitted

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add tiktok-shop-mcp -- uvx tiktok-shop-mcp==0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "tiktok-shop-mcp": {
      "args": [
        "tiktok-shop-mcp==0.3.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "tiktok-shop-mcp": {
      "args": [
        "tiktok-shop-mcp==0.3.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "tiktok-shop-mcp": {
      "args": [
        "tiktok-shop-mcp==0.3.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.tiktok-shop-mcp]
command = "uvx"
args = ["tiktok-shop-mcp==0.3.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_shops_tool, get_shop_orders_tool, get_order_detail_tool, get_shop_statements_tool, get_shop_transactions_tool, get_shop_products_tool, get_product_detail_tool, search_returns_tool, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json