# TikTok Ads MCP [Health: Active]

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

## Description
TikTok Ads: video performance metrics, creative fatigue scoring, industry benchmarks and Smart+ campaign support.

## Tools
Capabilities this server exposes over MCP:

- **get_authorized_ad_accounts_tool** — List all advertiser accounts accessible under the current TikTok identity
- **get_advertiser_info_tool** — Account metadata: currency, timezone, industry, status
- **get_advertiser_balance_tool** — Current balance for the authorised advertiser
- **get_business_centers_tool** — List Business Centers accessible to this user
- **get_bc_assets_tool** — List assets owned by a Business Center
- **get_bc_members_tool** — List members of a Business Center
- **get_campaigns_tool** — List standard campaigns with optional filters
- **get_smart_plus_campaigns_tool** — List AI-optimised Smart+ campaigns
- **get_ad_groups_tool** — List ad groups under a campaign or advertiser
- **get_ads_tool** — List individual ads with detailed creative and status data
- **get_reports_tool** — Performance reports with custom dimensions, metrics, date ranges
- **get_video_performance_tool** — TikTok video metrics: 2s/6s views, completion rate, average watch time
- **get_video_assets_tool** — List video assets in an advertiser library
- **get_ad_benchmark_tool** — Compare ad CTR, CVR, CPM, CPC against industry benchmarks
- **get_creative_fatigue_tool** — Creative fatigue scores and refresh recommendations
- **get_audience_reach_tool** — Estimated audience reach for given targeting
- **get_targeting_options_tool** — All interest categories available for audience targeting
- **get_pixels_tool** — List TikTok Pixel installations and tracked conversion events
- **get_pixel_event_stats_tool** — Stats per pixel event
- **get_offline_event_sets_tool** — List offline event sets
- **create_async_report_tool** — Create an async report task for large datasets *(partner programme)*
- **check_async_report_tool** — Check status of an async report task
- **download_async_report_tool** — Download data from a completed async report

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

```json
"mcpServers": {
  "tiktok-ads-mcp": {
    "command": "uvx",
    "args": ["tiktok-ads-mcp"],
    "env": {
      "TIKTOK_APP_ID": "",
      "TIKTOK_SECRET": "",
      "TIKTOK_ACCESS_TOKEN": "",
      "BASE_URL": "",
      "GCP_PROJECT_ID": ""
    }
  }
}
```

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

## Documentation

## What TikTok Ads MCP does

TikTok Ads MCP exposes read-oriented tools for TikTok Business advertising data through the Model Context Protocol. It can enumerate advertiser accounts, retrieve account details and balances, inspect Business Centers, and browse campaigns, Smart+ campaigns, ad groups, ads, and video assets.

Its reporting tools cover custom dimensions, metrics, and date ranges. Video analysis includes two-second and six-second views, completion rate, and average watch time. Additional tools provide industry comparisons for CTR, CVR, CPM, and CPC; creative fatigue scores with refresh recommendations; estimated audience reach; available interest categories; Pixel installations; pixel event statistics; and offline event sets.

## How it works

The server supports two operating modes. Local STDIO is intended for one user: a one-time OAuth helper obtains a TikTok access token, and an MCP client launches the server as a subprocess. The token is supplied through the environment and is used to query the authorised advertiser account.

Remote HTTP mode is designed for Claude Teams, claude.ai, and multi-user deployments. The service implements the MCP authorization flow, including OAuth metadata discovery, dynamic client registration, and an authorization endpoint. TikTok handles user identification and consent; the service then issues its own bearer token and maps requests to the corresponding stored TikTok credentials.

For remote deployment, OAuth bearer tokens and user TikTok credentials are stored in Google Cloud Firestore, with the service typically hosted on Google Cloud Run. Access is based on the TikTok permissions associated with each user's profile. An optional email allow-list can further restrict who may connect.

## Setup and configuration

Python 3.10 or newer, a TikTok Business developer app, and at least one authorised advertiser are required. Remote HTTP mode also needs a Google Cloud project with Firestore enabled and suitable permissions for the Cloud Run service account.

Install the Python dependencies after cloning the project, then configure the TikTok app ID and secret. Local mode additionally requires an access token, which can be obtained through the included browser-based authorization script. Remote mode requires a public base URL and Google Cloud project ID, followed by deployment to Cloud Run and registration of the live OAuth callback URL in the TikTok developer portal.

Important configuration includes:

- `TIKTOK_APP_ID` and `TIKTOK_SECRET` for TikTok OAuth credentials.
- `TIKTOK_ACCESS_TOKEN` for local STDIO mode.
- `BASE_URL` and `GCP_PROJECT_ID` for remote HTTP mode.
- `ALLOWED_EMAILS` for an optional comma-separated connection allow-list.
- `TIKTOK_SANDBOX` to select TikTok's sandbox API, when set to `true`.

## Tools and capabilities

The account and Business Center tools identify accessible advertisers, account metadata, balances, Business Centers, assets, and members. Campaign inspection covers standard and Smart+ campaigns, ad groups, individual ads, creative details, and statuses.

Reporting tools support custom performance queries across selected dimensions, metrics, and date ranges. For large datasets, the asynchronous workflow creates a report task, checks its status, and downloads the completed result. These asynchronous report tools are identified as partner-programme tools.

Audience and measurement tools expose targeting interests, reach estimates, TikTok Pixels, tracked event statistics, and offline conversion event sets. Video and creative tools help review watch behavior, asset libraries, industry benchmarks, and fatigue indicators.

## Limitations and notes

Local STDIO mode is intended for a single user and does not require Firestore, Cloud Run, or a public URL. The HTTP server uses stored credentials for remote multi-user access, so Firestore and appropriate Google Cloud permissions are part of that deployment path.

TikTok account email addresses may be personal addresses rather than work domains. Email-domain restrictions are therefore not a reliable access-control method; use the explicit `ALLOWED_EMAILS` setting when a fixed allow-list is needed. New TikTok redirect URLs may take up to 10 minutes to propagate.

_Full upstream README: https://allmcps.com/mcp/dhawalshah-tiktok-ads-mcp/readme_

