Local MCP server for read-only TikTok Ads API access with OAuth authentication and campaign analytics.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Tiktok Ads MCP Server.
tiktok_ads_loginStart TikTok Ads OAuth authentication.
tiktok_ads_complete_authComplete OAuth using the authorization code.
tiktok_ads_auth_statusCheck current authentication status.
tiktok_ads_switch_ad_accountSwitch to a different advertiser account.
tiktok_ads_get_campaignsRetrieve campaigns for the advertiser account.
tiktok_ads_get_campaign_detailsGet details for a specific campaign.
A local Model Context Protocol (MCP) server for TikTok Ads API integration. It lets MCP clients such as Claude Desktop connect to TikTok Ads, authenticate with a TikTok Business app, and use read-only tools for campaign lookup, ad group and ad inspection, performance reporting, audience breakdowns, advertiser info, pixels, and targeting locations.
This repository is for users who want to run a local TikTok Ads MCP server.
If you do not want to install Python, manage dependencies, or configure a TikTok developer app, AdsMCP provides a hosted remote MCP server:
AdsMCP Remote MCP Server Setup Guide
The rest of this README covers the local setup.
You need:
uv for dependency managementmacOS and Linux:
Windows PowerShell:
After installation, confirm that uv is available:
Find the absolute path to uv before configuring a desktop MCP client:
macOS and Linux:
Use the path returned by whereis uv or which uv as the MCP command value if your client cannot find uv by name.
Windows PowerShell:
Common paths are:
/Users/<your-name>/.local/bin/uvC:\\Users\\<your-name>\\.local\\bin\\uv.exeClone the repository and install dependencies:
Find the absolute path to the project directory. You will use this path in the MCP config as the uv --directory value:
macOS and Linux:
Windows PowerShell:
Verify that the project environment can import MCP:
You should see:
Do not configure your MCP client to run this server with system python or python3 unless you have manually installed all dependencies into that exact Python environment.
Use this:
Not this:
Why: MCP desktop apps often launch a different Python than the one you use in your terminal. If that Python does not have the mcp package installed, the server exits with:
uv run makes the MCP client use this project's dependency environment.
Claude Desktop reads its MCP server config from:
macOS:
Windows:
Linux paths vary by distribution and client package, but they are usually under:
Use uv --directory so the server starts from the project directory even if your MCP client does not apply cwd correctly.
To fill in "/absolute/path/to/tiktok-ads-mcp-server", open a terminal in the cloned repository and run:
Use the printed value as the --directory argument. If Claude cannot find uv, replace "uv" with the absolute path from whereis uv or which uv, such as "/Users/yourname/.local/bin/uv".
Use escaped backslashes in JSON paths. To find the project path, open PowerShell in the cloned repository and run:
Use the printed value as the --directory argument, with each \ escaped as \\ in JSON:
If Claude cannot find uv on Windows, use the full path:
After editing the config, fully restart Claude Desktop.
env.Once the MCP server is connected:
tiktok_ads_login from your MCP client.code parameter from the redirect URL.tiktok_ads_complete_auth with that code.tiktok_ads_auth_status to confirm the account is authenticated.After OAuth completes, TikTok access and refresh tokens are stored locally under:
This file is what lets the local MCP server call TikTok Marketing API after you authenticate. Treat it like a password:
The local server stores tokens only for the TikTok account you authorize, and only so it can make authenticated TikTok API calls for that account.
The local server currently exposes the following tools through its MCP registry. This list is the source of truth for the open-source package.
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.Current MCP tools are only listed when they are wired to real OAuth, local token state, or TikTok Marketing API calls. This repository does not expose placeholder or mock tools.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/adsmcp-tiktok-ads-mcp-server)<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>