# TikTok GMV Max

**Category:** 🎯 Marketing  
**Repository:** https://github.com/Buer2333/tiktok-ads-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tiktok-gmv-max

## Description
Read-only TikTok Business API: GMV Max campaigns and reports, ads, BC balances.

## Tools
Capabilities this server exposes over MCP:

- **get_business_centers_tool** — Get business centers accessible by the current access token
- **get_identities_tool** — Get TikTok identities (creator accounts) authorized to an advertiser. identity_type: CUSTOMIZED_USER, AUTH_CODE, TT_USER, BC_AUTH_TT. For BC_AUTH_TT, identity_authorized_bc_id is required.
- **get_authorized_ad_accounts_tool** — Get all authorized ad accounts accessible by the current access token
- **get_campaigns_tool** — Get campaigns for a specific advertiser with optional filtering
- **get_ad_groups_tool** — Get ad groups for a specific advertiser with optional filtering
- **get_ads_tool** — Get ads for a specific advertiser with optional filtering
- **get_reports_tool** — Get performance reports and analytics with comprehensive filtering and grouping options
- **get_gmvmax_campaigns_tool** — Get GMV Max campaigns via /gmv_max/campaign/get/. Returns campaign list with status and ROI protection info. Default filter: PRODUCT_GMV_MAX.
- **get_gmvmax_reports_tool** — Get GMV Max performance reports via /gmv_max/report/get/.
    store_ids is REQUIRED (get from campaign info endpoint).
    Metrics: cost, orders, cost_per_order, gross_revenue, roi, net_cost, creative_delivery_status, product_impressions, product_clicks, product_click_rate, ad_click_rate, ad_conversion_rate, ad_video_view_rate_2s/6s/p25/p50/p75/p100.
    Dimensions: advertiser_id, stat_time_day, item_id (item_id requires filtering with campaign_ids AND item_group_ids).
    Filtering: {"campaign_ids": ["..."], "item_group_ids": ["..."]}.
- **get_gmvmax_campaign_info_tool** — Get detailed info for a specific GMV Max campaign via /campaign/gmv_max/info/. Returns budget, bid, product, and scheduling details.
- **get_video_info_tool** — Get video asset details (URL, thumbnail, duration) by video IDs. Use with get_ads_tool to map ad → video_id → video URL/poster.
- **get_creative_report_tool** — Get creative-level performance report (video insights, engagement, play metrics). report_type: VIDEO_INSIGHT (default).
- **get_gmvmax_videos_tool** — Get videos available for GMVMAX campaigns for a given store. Returns video list with IDs for cross-referencing with creative reports.
- **get_bc_balance_tool** — Get Business Center balance (available funds).
- **get_bc_account_cost_tool** — Get cost summary for all ad accounts under a BC within a date range. Useful for weekly/monthly spend review.
- **get_bc_transactions_tool** — Get BC transaction records (top-ups, deductions). transaction_level: BC or ADVERTISER. Times format: YYYY-MM-DD HH:MM:SS.
- **get_bc_budget_changelog_tool** — Get budget change history for a specific advertiser under BC. Track who changed budget and when.
- **get_gmvmax_store_list_tool** — Get stores linked to a GMVMAX advertiser account. Useful to verify store-advertiser bindings.
- **get_advertiser_balance_tool** — Get balance and basic info for individual advertiser accounts. Max 100 IDs per request.
- **get_gmvmax_report_aligned_tool** — Get GMVMAX report aligned to shop timezone. Fetches hourly data and re-aggregates to match a shop-tz day, regardless of the ad account's native timezone. Returns aggregated metrics (cost, gross_revenue, orders), ROI, and hours included.
- **get_ads_report_aligned_tool** — Get Ads (manual bid) report aligned to shop timezone. Fetches hourly data and re-aggregates to match a shop-tz day. Returns cost, gmv, orders, and roas.
- **get_gmvmax_range_report_tool** — Get GMVMAX aggregate report for a date range (no timezone alignment). Returns cost, gmv, orders, roi.
- **get_ads_range_report_tool** — Get Ads (manual bid) aggregate report for a date range (no timezone alignment). Returns cost, gmv, orders, roas.
- **get_trending_list_tool** — Get trending hashtags on TikTok via /discovery/trending_list/. discovery_type: HASHTAG. date_range: 7DAY | 30DAY. country_code: e.g. US. Set include_history=True to get per-day rank/views breakdown.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "tiktok-gmv-max": {
    "command": "uvx",
    "args": ["tiktok-gmvmax-mcp"],
    "env": {
      "TIKTOK_APP_ID": "",
      "TIKTOK_SECRET": "",
      "TIKTOK_ACCESS_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `TIKTOK_APP_ID`, `TIKTOK_SECRET`, `TIKTOK_ACCESS_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What TikTok GMV Max MCP server does

TikTok GMV Max MCP server exposes read-only access to TikTok Business API data through Model Context Protocol. It is centered on GMV Max campaigns, but also covers standard campaigns and ads, advertiser accounts, TikTok identities, creative assets, reporting, Business Centers, and trending hashtags.

GMV Max campaign tools return campaign lists, status, ROI-protection information, budgets, bids, products, schedules, available videos, and stores associated with an advertiser. Reporting tools provide GMV Max performance data, manual-bid ad results, integrated reports, and video creative metrics. Finance tools cover advertiser balances, Business Center funds, account spend, transactions, and advertiser budget changes.

All operations are read-only. The server is suited to assistants that need to inspect performance, reconcile reports, or answer account and budget questions rather than create or modify TikTok resources.

## How it works

The server communicates with the TikTok Business API using credentials from environment variables and exposes the returned data as MCP tools. A default advertiser can be configured, while account and Business Center discovery tools help work across authorized resources.

Daily aligned reports fetch hourly data and reassemble it using the shop’s timezone. This helps compare advertising spend with shop-order dates instead of relying only on the ad account timezone. The aligned GMV Max view reports cost, gross revenue, orders, and ROI; the aligned manual-bid view reports cost, GMV, orders, and ROAS.

Non-USD cost and revenue values are converted to USD using that day’s ECB midpoint rate through Frankfurter. If the rate service is unavailable, the server can use a temporary approximate fallback for supported currencies. TikTok timeout code 51010, rate-limit responses, and 5xx responses are retried by the client.

## Setup and configuration

Python 3.10 or newer is required. Run the package directly with `uvx tiktok-gmvmax-mcp`, or install it with `pip install tiktok-gmvmax-mcp`. The package provides the `tiktok-gmvmax-mcp` command.

Create an application in the TikTok for Business developer portal, grant read permissions for the API areas you need, and generate a long-lived access token. Set `TIKTOK_APP_ID`, `TIKTOK_SECRET`, and `TIKTOK_ACCESS_TOKEN` before starting the server.

Optional settings include a second access token for another Business Center, a default advertiser ID, sandbox mode, request timeout, a Business API proxy, and a cache directory for foreign-exchange rates. Claude Desktop and Claude Code can launch the server through an MCP configuration using `uvx` and the package command.

The implementation supports MCP 1.x and 2.x by selecting the available server class at runtime. Keep the Python package in an environment separate from another distribution that uses the same `tiktok_ads_mcp` import package name.

## Tools and capabilities

- Inspect GMV Max campaigns, individual campaign configuration, reports, stores, and eligible videos.
- Discover Business Centers, authorized advertiser accounts, identities, campaigns, ad groups, ads, and video asset metadata.
- Query custom-dimension integrated reports and aggregate GMV Max or manual-bid results over date ranges.
- Rebuild one shop-timezone day from hourly rows for GMV Max and manual-bid reporting.
- Review creative engagement and playback metrics for videos.
- Check advertiser balances, Business Center funds, account costs, transactions, and budget-change history.
- Retrieve country-specific trending hashtags over seven- or thirty-day periods, with optional daily history.

## Limitations and notes

The server only reads data; it does not create campaigns, change budgets, edit ads, or perform other write operations. TikTok API permissions must cover the endpoints used by the selected tools. Advertiser balance requests accept no more than 100 advertiser IDs per call.

Timezone alignment depends on shop and hourly report data. Currency conversion depends on an available daily rate; unsupported currencies may be returned without conversion. The sandbox option changes the API environment and should be configured deliberately when testing.

_Full upstream README: https://allmcps.com/mcp/tiktok-gmv-max/readme_

