MCP Server Studio
TikTok Ads MCP server: 35 read tools, 30 opt-in preview-first writes.
Registry name: com.getmcpads/tiktok-ads
Add to claude_desktop_config.json:
{
"mcpServers": {
"tiktok-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/[email protected]"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "<TIKTOK_ACCESS_TOKEN>",
"TIKTOK_APP_ID": "<TIKTOK_APP_ID>",
"TIKTOK_ADVERTISER_IDS": "<TIKTOK_ADVERTISER_IDS>",
"TIKTOK_APP_SECRET": "<TIKTOK_APP_SECRET>",
"TIKTOK_ADVERTISER_ID": "<TIKTOK_ADVERTISER_ID>",
"TIKTOK_BC_ID": "<TIKTOK_BC_ID>",
"TIKTOK_BUSINESS_CENTER_ID": "<TIKTOK_BUSINESS_CENTER_ID>",
"TIKTOK_ENABLE_WRITES": "<TIKTOK_ENABLE_WRITES>",
"TIKTOK_ENVIRONMENT": "<TIKTOK_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Run in your terminal:
claude mcp add tiktok-ads -e TIKTOK_ACCESS_TOKEN='<TIKTOK_ACCESS_TOKEN>' -e TIKTOK_APP_ID='<TIKTOK_APP_ID>' -e TIKTOK_ADVERTISER_IDS='<TIKTOK_ADVERTISER_IDS>' -e TIKTOK_APP_SECRET='<TIKTOK_APP_SECRET>' -e TIKTOK_ADVERTISER_ID='<TIKTOK_ADVERTISER_ID>' -e TIKTOK_BC_ID='<TIKTOK_BC_ID>' -e TIKTOK_BUSINESS_CENTER_ID='<TIKTOK_BUSINESS_CENTER_ID>' -e TIKTOK_ENABLE_WRITES='<TIKTOK_ENABLE_WRITES>' -e TIKTOK_ENVIRONMENT='<TIKTOK_ENVIRONMENT>' -e LOG_LEVEL='<LOG_LEVEL>' -- npx -y @getmcpads/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"tiktok-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/[email protected]"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "<TIKTOK_ACCESS_TOKEN>",
"TIKTOK_APP_ID": "<TIKTOK_APP_ID>",
"TIKTOK_ADVERTISER_IDS": "<TIKTOK_ADVERTISER_IDS>",
"TIKTOK_APP_SECRET": "<TIKTOK_APP_SECRET>",
"TIKTOK_ADVERTISER_ID": "<TIKTOK_ADVERTISER_ID>",
"TIKTOK_BC_ID": "<TIKTOK_BC_ID>",
"TIKTOK_BUSINESS_CENTER_ID": "<TIKTOK_BUSINESS_CENTER_ID>",
"TIKTOK_ENABLE_WRITES": "<TIKTOK_ENABLE_WRITES>",
"TIKTOK_ENVIRONMENT": "<TIKTOK_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"tiktok-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@getmcpads/[email protected]"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "<TIKTOK_ACCESS_TOKEN>",
"TIKTOK_APP_ID": "<TIKTOK_APP_ID>",
"TIKTOK_ADVERTISER_IDS": "<TIKTOK_ADVERTISER_IDS>",
"TIKTOK_APP_SECRET": "<TIKTOK_APP_SECRET>",
"TIKTOK_ADVERTISER_ID": "<TIKTOK_ADVERTISER_ID>",
"TIKTOK_BC_ID": "<TIKTOK_BC_ID>",
"TIKTOK_BUSINESS_CENTER_ID": "<TIKTOK_BUSINESS_CENTER_ID>",
"TIKTOK_ENABLE_WRITES": "<TIKTOK_ENABLE_WRITES>",
"TIKTOK_ENVIRONMENT": "<TIKTOK_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"tiktok-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/[email protected]"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "<TIKTOK_ACCESS_TOKEN>",
"TIKTOK_APP_ID": "<TIKTOK_APP_ID>",
"TIKTOK_ADVERTISER_IDS": "<TIKTOK_ADVERTISER_IDS>",
"TIKTOK_APP_SECRET": "<TIKTOK_APP_SECRET>",
"TIKTOK_ADVERTISER_ID": "<TIKTOK_ADVERTISER_ID>",
"TIKTOK_BC_ID": "<TIKTOK_BC_ID>",
"TIKTOK_BUSINESS_CENTER_ID": "<TIKTOK_BUSINESS_CENTER_ID>",
"TIKTOK_ENABLE_WRITES": "<TIKTOK_ENABLE_WRITES>",
"TIKTOK_ENVIRONMENT": "<TIKTOK_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
TIKTOK_ACCESS_TOKEN | Yes | TikTok Business API access token. |
TIKTOK_APP_ID | Yes | App ID the token belongs to. |
TIKTOK_ADVERTISER_IDS | No | Comma-separated advertiser IDs this server may access. Recommended; required from 3.0.0. |
TIKTOK_APP_SECRET | No | App secret, for endpoints needing app authentication. |
TIKTOK_ADVERTISER_ID | No | Default advertiser ID. When TIKTOK_ADVERTISER_IDS is set, must be one of them. |
TIKTOK_BC_ID | No | Default Business Center ID, for Business Center scoped reads. |
TIKTOK_BUSINESS_CENTER_ID | No | Alias of TIKTOK_BC_ID, read when TIKTOK_BC_ID is unset. |
TIKTOK_ENABLE_WRITES | No | true exposes 30 write tools. Defaults to false. Calls preview unless confirm is true. |
TIKTOK_ENVIRONMENT | No | production (default) or sandbox. Sandbox binds every call to one advertiser ID. |
LOG_LEVEL | No | debug, info (default), warn or error. Logs go to stderr. |