TikTok Shop (Partner API)
TikTok
Orders, products, inventory, settlements via the TikTok Shop Partner API.
Read-only adapter in the package; not live-verified.
PARTIAL · Docs checked 2026-11-23
API
- Authentication
- Seller authorization → GET https://auth.tiktok-shops.com/api/v2/token/get (app_key, app_secret, auth_code, grant_type=authorized_code – không phải authorization_code) · Header x-tts-access-token + tham số sign trên mỗi request
- Permissions (grant only what you need)
seller.affiliate_collaboration.readseller.affiliate_collaboration.write (ví dụ granted_scopes)- Access requirements
- Requires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
Check installed MCP & test the connection
The check runs on your computer, inside the AI app where Dtaski MCP Gateway is installed (the website cannot read your computer). Send one of these to the AI app:
- “Use Dtaski mcp_discover to check installed MCP servers for TikTok Shop (Partner API).”
- “Use policy_check to see which TikTok Shop (Partner API) actions need my confirmation.”
No gateway yet? Install Dtaski MCP Gateway first.
Connection states reported: NOT_INSTALLED · DISCOVERED · CONFIGURED · AUTH_REQUIRED · CONNECTED · HEALTHY · DEGRADED · INCOMPATIBLE · BLOCKED · DISCONNECTED
Real capabilities
| Capability | Access | Risk | Approval | Tools | Verified |
|---|---|---|---|---|---|
| Read orders | Read | low | Runs (read-only) | tiktok_shop_orders | Yes |
| Read products, inventory | Read | low | Runs (read-only) | tiktok_sync_shop | Yes |
| Read settlements | Read | low | Blocked (not verified) | tiktok_shop_finance | No |
Connection guide per AI app
Each step is labelled Automatic · One-click · Manual authorization · Admin approval · Unsupported. Dtaski never receives your tokens.
Claude Code Via Dtaski package
- AutomaticRun the Dtaski MCP Gateway tool mcp_discover: if the server is already set up in the app, reuse it instead of adding it again.
- One-clickInstall the Dtaski package (tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard) – the installer registers the MCP server in Claude Code.
- Admin approvalRequires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
- Manual authorizationConnect the TikTok account in the local Dtaski app (the business's own OAuth / API key).
- AutomaticTest: ask Claude Code to "list the tools of tiktok-shop-api", then run one read-only action (Read orders).
Terminal
claude mcp add --transport stdio --scope user dtaski-tiktok-shop-api -- node "<install folder>/server/index.mjs"
Claude Desktop Via Dtaski package
- AutomaticRun the Dtaski MCP Gateway tool mcp_discover: if the server is already set up in the app, reuse it instead of adding it again.
- One-clickInstall the Dtaski package (tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard) – the installer registers the MCP server in Claude Desktop.
- Admin approvalRequires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
- Manual authorizationConnect the TikTok account in the local Dtaski app (the business's own OAuth / API key).
- AutomaticTest: ask Claude Desktop to "list the tools of tiktok-shop-api", then run one read-only action (Read orders).
%APPDATA%\Claude\claude_desktop_config.json; Microsoft Store install: %LOCALAPPDATA%\Claude-Data\<package>\claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json)
{
"mcpServers": {
"dtaski-tiktok-shop-api": {
"command": "node",
"args": [
"<install folder>/server/index.mjs"
],
"env": {}
}
}
}ChatGPT (web) Unsupported
- UnsupportedChatGPT (web) is not supported by TikTok for this server.
OpenAI Codex Via Dtaski package
- AutomaticRun the Dtaski MCP Gateway tool mcp_discover: if the server is already set up in the app, reuse it instead of adding it again.
- One-clickInstall the Dtaski package (tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard) – the installer registers the MCP server in OpenAI Codex.
- Admin approvalRequires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
- Manual authorizationConnect the TikTok account in the local Dtaski app (the business's own OAuth / API key).
- AutomaticTest: ask OpenAI Codex to "list the tools of tiktok-shop-api", then run one read-only action (Read orders).
Terminal
codex mcp add dtaski-tiktok-shop-api -- node "<install folder>/server/index.mjs"
Google Antigravity Via Dtaski package
- AutomaticRun the Dtaski MCP Gateway tool mcp_discover: if the server is already set up in the app, reuse it instead of adding it again.
- One-clickInstall the Dtaski package (tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard) – the installer registers the MCP server in Google Antigravity.
- Admin approvalRequires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
- Manual authorizationConnect the TikTok account in the local Dtaski app (the business's own OAuth / API key).
- AutomaticTest: ask Google Antigravity to "list the tools of tiktok-shop-api", then run one read-only action (Read orders).
%USERPROFILE%\.gemini\config\mcp_config.json (Agent panel › MCP servers › Manage › View raw config)
{
"mcpServers": {
"dtaski-tiktok-shop-api": {
"command": "node",
"args": [
"<install folder>/server/index.mjs"
],
"env": {}
}
}
}Hermes Agent Via Dtaski package
- AutomaticRun the Dtaski MCP Gateway tool mcp_discover: if the server is already set up in the app, reuse it instead of adding it again.
- One-clickInstall the Dtaski package (tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard) – the installer registers the MCP server in Hermes Agent.
- Admin approvalRequires a TikTok Shop app (App Store install or seller authorization link). China cross-border shops need shop_cipher.
- Manual authorizationConnect the TikTok account in the local Dtaski app (the business's own OAuth / API key).
- AutomaticTest: ask Hermes Agent to "list the tools of tiktok-shop-api", then run one read-only action (Read orders).
~/.hermes/config.yaml (Windows native: %LOCALAPPDATA%\hermes\config.yaml)
mcp_servers:
dtaski-tiktok-shop-api:
command: node
args: ["<install folder>/server/index.mjs"]
env:Related skills, templates & workflows
Dtaski products: tiktok-shop-ecommerce-dashboard, tiktok-ads-shop-dashboard
TikTok Shop e-commerce
Orders, products and settlements through the TikTok Shop Partner API (adapter in package, not live-verified).
Skills: TikTok Ecommerce Skill
Templates / dashboards: TikTok Shop Dashboard
Workflow
- Seller authorises the shop for the partner app
- Cursor-based order/product sync, idempotent
- Revenue, stock and settlement dashboard
Failure modes
- Partner app not approved by TikTok Shop
Unified e-commerce analytics
Combines Shopee and TikTok Shop into one view of revenue, orders and products.
Skills: Ecommerce Unified Analytics
Templates / dashboards: Ecommerce Overview Dashboard
Workflow
- Sync each marketplace, normalise currency/timezone, combine by product
Failure modes
- Different product codes per marketplace → SKU mapping needed
Not verified
- Chưa thử với shop thật
- Phạm vi API theo khu vực Việt Nam
- Không thấy MCP chính thức trên tài liệu đã đọc (chỉ có MCP bên thứ ba) – chưa tìm kiếm toàn bộ
- Chi tiết xác thực bên dưới lấy từ lần nghiên cứu 23/11, cần đọc lại trước khi làm adapter live
- Thuật toán ký, giới hạn tần suất
Sources checked
Docs checked: 2026-11-23 · PARTIAL
Names and trademarks belong to their owners. Dtaski is not an official partner unless stated.