Tiktok Ads MCP Server logo

Tiktok Ads MCP Server

by AdsMCP

Connects AI assistants to TikTok Ads for OAuth, campaign inspection, performance reporting, audiences, pixels, and targeting data.

Install Tiktok Ads MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

AdsMCP/tiktok-ads-mcp-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  2. 2. Install
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    
  3. 3. Check the setup
    uv --version
    
  4. 4. Check the setup
    whereis uv
    
  5. 5. Check the setup
    which uv
    
  6. 6. Check the setup
    where.exe uv
    

Overview

AdsMCP/tiktok-ads-mcp-server MCP server connects MCP clients to the TikTok Marketing API through a local Python stdio process. It supports OAuth authentication, advertiser-account switching, campaign and ad inspection, performance metrics, audience analysis, pixel data, and location lookup. All exposed tools are read-only after authentication, so use it for reporting and account research rather than creating or editing ads. Reach for it when an AI assistant needs structured access to an existing TikTok Ads account.

Use cases

  • Inspect campaign and ad performance
  • Compare audience-level delivery metrics
  • Audit spend without conversion signal
  • Review advertiser, pixel, and audience data
  • Resolve TikTok targeting location IDs

Key features

  • TikTok Ads OAuth authentication
  • Campaign, ad group, and ad inspection
  • Performance and audience reporting
  • Read-only wasted-spend audit
  • Custom audience, pixel, and advertiser lookup
  • Targeting location resolution

Tools20

What Tiktok Ads MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~354 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 111d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars53Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Tools exposed20Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Tiktok Ads MCP Server works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tiktok Ads MCP Server

AdsMCP/tiktok-ads-mcp-server is an MCP server that connects AI assistants to the TikTok Marketing API. Its main tools handle OAuth authentication, advertiser-account switching, campaign and ad inspection, performance metrics, audience breakdowns, pixel data, custom audiences, and targeting locations. The exposed operations are read-only.

Install it by cloning the repository, entering its directory, and running `uv sync`. Start it with `uv run python run_server.py`, then configure your MCP client to launch that command with the project directory. Python 3.10 or newer, `uv`, TikTok API access, and a developer app are required.

Authenticate it by running `tiktok_ads_login`, opening the returned TikTok authorization URL, and supplying the redirect URL's `code` to `tiktok_ads_complete_auth`. Use `tiktok_ads_auth_status` to verify access. OAuth tokens are stored locally in `~/.tiktok_ads_mcp/tokens.json`.

Yes, it works with Claude Desktop through a local stdio configuration. Set `TIKTOK_APP_ID` and `TIKTOK_APP_SECRET`, launch the project with `uv --directory ... run python run_server.py`, and fully restart Claude Desktop after editing its configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTiktok Ads MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/adsmcp-tiktok-ads-mcp-server?style=directory)](https://allmcps.com/mcp/adsmcp-tiktok-ads-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/adsmcp-tiktok-ads-mcp-server"><img src="https://allmcps.com/api/badge/adsmcp-tiktok-ads-mcp-server?style=directory" alt="Tiktok Ads MCP Server on AllMCPs" /></a>