# AdsMCP/tiktok-ads-mcp-server [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/AdsMCP/tiktok-ads-mcp-server  
**GitHub Stars:** 53  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/adsmcp-tiktok-ads-mcp-server

## Description
A Model Context Protocol server for TikTok Ads API integration, enabling AI assistants to manage campaigns, analyze performance metrics, handle audiences and creatives with OAuth authentication flow.

## Tools
Capabilities this server exposes over MCP:

- **tiktok_ads_login** — Start TikTok Ads OAuth authentication.
- **tiktok_ads_complete_auth** — Complete OAuth using the authorization code.
- **tiktok_ads_auth_status** — Check current authentication status.
- **tiktok_ads_switch_ad_account** — Switch to a different advertiser account.
- **tiktok_ads_get_campaigns** — Retrieve campaigns for the advertiser account.
- **tiktok_ads_get_campaign_details** — Get details for a specific campaign.
- **tiktok_ads_get_adgroups** — Retrieve ad groups for a campaign.
- **tiktok_ads_get_adgroup_details** — Get details for a specific ad group.
- **tiktok_ads_get_ads** — Retrieve ads by campaign, ad group, ad ID, or status.
- **tiktok_ads_get_ad_details** — Get details for a specific ad.
- **tiktok_ads_get_campaign_performance** — Get campaign-level metrics.
- **tiktok_ads_get_adgroup_performance** — Get ad group-level metrics.
- **tiktok_ads_get_ad_performance** — Get ad-level metrics.
- **tiktok_ads_get_audience_breakdown** — Break down campaign, ad group, or ad performance by audience dimension.
- **tiktok_ads_wasted_spend_audit** — Run a read-only audit for spend and clicks without conversion signal.
- **tiktok_ads_get_custom_audiences** — List custom audiences.
- **tiktok_ads_get_advertiser_info** — Get account-level advertiser details such as currency, timezone, status, industry, country, and creation time.
- **tiktok_ads_get_location_info** — Resolve TikTok targeting location IDs.
- **tiktok_ads_get_pixel_list** — List pixels attached to the advertiser account.
- **tiktok_ads_get_pixel_event_stats** — Get pixel event activity for a date range.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/AdsMCP/tiktok-ads-mcp-server), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -LsSf https://astral.sh/uv/install.sh | sh
```

2. Install:

```sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

3. Check the setup:

```sh
uv --version
```

4. Check the setup:

```sh
whereis uv
```

5. Check the setup:

```sh
which uv
```

6. Check the setup:

```sh
where.exe uv
```

## Documentation

## What AdsMCP/tiktok-ads-mcp-server does

AdsMCP/tiktok-ads-mcp-server MCP server gives an MCP-compatible client access to read-only TikTok Ads account data. It connects to the TikTok Marketing API using a TikTok For Business developer app and supports an OAuth flow initiated from the client. The available operations cover advertiser accounts, campaigns, ad groups, ads, performance reporting, audiences, pixels, and targeting locations.

The server is aimed at inspection and analysis. It does not expose tools for creating campaigns or ad groups, uploading creatives, or performing other write operations through the public MCP registry. That makes it suitable for assistants that need to answer questions about campaign structure, delivery, spend, clicks, or conversion-related signals without changing account state.

## How it works

The local process runs as an MCP stdio server. An MCP client starts it with `uv`, and the server calls TikTok APIs after the user completes authentication. The initial login tool returns an authorization URL. After approval in TikTok, the user supplies the `code` parameter from the redirect URL to the completion tool, then checks the result with the authentication-status tool.

OAuth access and refresh tokens are stored locally at `~/.tiktok_ads_mcp/tokens.json`. The repository states that this file is used to make authenticated API calls for the authorized TikTok account, so it should be protected like a password and not committed or shared. A separate tool can switch the active advertiser account when the authorized TikTok access covers more than one account.

## Setup and configuration

Run the local server with Python 3.10 or newer and `uv`. Clone the repository, enter its directory, and run `uv sync` to install dependencies. The recommended launch command is `uv run python run_server.py`; using a system Python executable can fail if that environment does not contain the MCP package.

Configure the MCP client to run `uv --directory <project-path> run python run_server.py`. The server requires `TIKTOK_APP_ID` and `TIKTOK_APP_SECRET` in the client environment. TikTok app configuration must include a redirect URI matching the server configuration; the documented default is `https://adsmcp.com`. The TikTok developer app also needs Marketing API access, and the user needs a TikTok For Business account.

After changing its configuration, fully restart the desktop application. The same stdio command can be adapted for another MCP client that supports local servers.

## Tools and capabilities

AdsMCP/tiktok-ads-mcp-server MCP server exposes tools in several groups:

- Authentication tools start and complete OAuth, report authentication status, and switch advertiser accounts.
- Campaign inspection tools list campaigns, retrieve campaign details, list ad groups, and inspect ads by campaign, ad group, ID, or status.
- Reporting tools return campaign-, ad-group-, and ad-level performance metrics, plus audience-dimension breakdowns.
- The wasted-spend audit performs a read-only review of spend and clicks without conversion signal.
- Account and data tools list custom audiences, return advertiser information, resolve targeting location IDs, list attached pixels, and retrieve pixel event statistics for a date range.

These capabilities place the AdsMCP/tiktok-ads-mcp-server MCP server in the 🎯 Marketing category and make it useful for campaign reviews, account research, and performance analysis.

## Limitations and notes

The local package is not a campaign-management writer: the documented tool registry contains read-only operations. It also requires a TikTok developer app, valid Marketing API access, local Python and `uv` setup, and an MCP client capable of starting a stdio server. Authentication is account-specific, and token storage remains on the local machine. The repository also identifies a hosted remote option for users who do not want to install Python, manage dependencies, or configure a developer app, but that option is separate from this local repository.

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

