
ysntony/tiktok-ads-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
ysntony/tiktok-ads-mcp는 MCP 서버 후보가 https://github.com/ysntony/tiktok-ads-mcp.에서 수입되었습니다
개요
ysntony/tiktok-ads-mcp는 MCP 서버 후보가 https://github.com/ysntony/tiktok-ads-mcp.에서 수입되었습니다
개요(AI 번역)
TikTok 광고 계정, 캠페인, 광고 그룹, 광고 및 성능 보고서를 검색하기위한 read-only Model Context Protocol (MCP) 서버.
특징
- **Read-Only TikTok Business API 통합 **: 데이터 검색에 대한 모든 주요 TikTok 광고 엔드포인트 액세스 -6 Read-Only Tools: 비즈니스 센터, 광고 계정, 캠페인, 광고 그룹, 광고 및 보고서
- API 정렬 필터: 캠페인, 광고 그룹, 광고 및 보고서에 대한 필터링 및 질화
- Multi-Advertiser 지원: 단일 요청에 여러 광고주 계정 처리
- Flexible Reporting: 사용자 지정 치수 및 메트릭으로 상세한 성능 보고서 생성
- 현재 데이터: 현재 광고 데이터 및 성능 통계를 검색
- 처리: 포괄적인 오류 처리 및 검증
- Modular Architecture: 깨끗하고 유지 가능한 코드 구조
- ** 안전 운영 **: 모든 도구는 읽기 전용이며 캠페인이나 광고 데이터를 수정하지 않습니다.
사용 가능한 도구
1.get business centers - 액세스 토큰에 접근할 수 있는 비즈니스 센터 검색 2.get authorized ad accounts - 모든 권한 있는 광고주 계정 받기 3. 명세.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
TikTok Ads MCP
A read-only Model Context Protocol (MCP) server for retrieving TikTok advertising accounts, campaigns, ad groups, ads, and performance reports.
Features
- Read-Only TikTok Business API Integration: Access all major TikTok advertising endpoints for data retrieval
- 6 Read-Only Tools: Business centers, ad accounts, campaigns, ad groups, ads, and reports
- API-aligned Filtering: Filtering and pagination for campaigns, ad groups, ads, and reports
- Multi-Advertiser Support: Handle multiple advertiser accounts in a single request
- Flexible Reporting: Generate detailed performance reports with custom dimensions and metrics
- Current Data: Retrieve current advertising data and performance metrics
- Error Handling: Comprehensive error handling and validation
- Modular Architecture: Clean, maintainable code structure
- Safe Operations: All tools are read-only and will not modify your campaigns or ad data
Available Tools
- get_business_centers - Retrieve business centers accessible by your access token
- get_authorized_ad_accounts - Get all authorized advertiser accounts
- get_campaigns - Retrieve campaigns with filtering and pagination
- get_ad_groups - Retrieve ad groups with filtering and pagination
- get_ads - Retrieve ads with filtering and pagination
- get_reports - Generate performance reports and analytics
Prerequisites
- Python 3.10 or higher
- TikTok Business API access
- Valid API credentials (app ID, secret, access token)
Quick Start
Installation
-
Download the TikTok Ads MCP
- Click the green “Code” button at the top of the GitHub page
- Select “Download ZIP”
- Unzip the downloaded file to a location you can easily find (like your Documents folder)
-
Alternatively, if you’re familiar with Git:
git clone https://github.com/ysntony/tiktok-ads-mcp.git -
Install Dependencies
cd tiktok-ads-mcp pip install -e . # or with uv uv pip install -e .
Configuration
- Set up environment variables in your MCP client configuration:
{
"mcpServers": {
"tiktok-ads": {
"command": "python",
"args": ["-m", "tiktok_ads_mcp"],
"env": {
"TIKTOK_APP_ID": "your_app_id",
"TIKTOK_SECRET": "your_secret",
"TIKTOK_ACCESS_TOKEN": "your_access_token"
}
}
}
}
-
Required credentials:
TIKTOK_APP_ID: Your TikTok app IDTIKTOK_SECRET: Your TikTok app secretTIKTOK_ACCESS_TOKEN: Your access token
How to get these credentials:
- Go to the TikTok for Business Developers portal and log in.
- Click “My Apps” and create a new app.
- Select “Marketing API” as the service type.
- In the app settings, enable permissions related to Reading and Reporting (e.g.,
Ads Management,Reporting).
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"tiktok-ads": {
"command": "python",
"args": ["-m", "tiktok_ads_mcp"],
"env": {
"TIKTOK_APP_ID": "your_app_id",
"TIKTOK_SECRET": "your_secret",
"TIKTOK_ACCESS_TOKEN": "your_access_token"
}
}
}
}