TikTok Ads MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIKTOK_ADS_HOME | No | Folder for secrets, logs and .env. | ~/.tiktok-ads-mcp |
| TIKTOK_ADS_HOST | No | HTTP transport bind host. | 127.0.0.1 |
| TIKTOK_ADS_PORT | No | HTTP transport bind port. | 8000 |
| TIKTOK_ADS_BC_ID | No | Default Business Center for catalog tools. | |
| TIKTOK_ADS_APP_ID | No | Developer app ID. Required for auth, listing ad accounts, and purge --revoke. | |
| TIKTOK_ADS_DRY_RUN | No | Set to true to preview writes without sending them. | |
| TIKTOK_ADS_MAX_BID | No | Optional absolute bid cap in the account currency. | |
| TIKTOK_ADS_MAX_QPS | No | Requests per second this server sends. | 10 |
| TIKTOK_ADS_TIMEOUT | No | Request timeout in seconds. | 30 |
| TIKTOK_ADS_AUDIT_LOG | No | Audit log path. | ~/.tiktok-ads-mcp/logs/audit.jsonl |
| TIKTOK_ADS_LOG_LEVEL | No | Log level: DEBUG, INFO, WARNING or ERROR. | |
| TIKTOK_ADS_PAGE_SIZE | No | List page size. | 100 |
| TIKTOK_ADS_READ_ONLY | No | Set to true to register only read-only tools. | |
| TIKTOK_ADS_TRANSPORT | No | Transport: stdio, streamable-http, or sse. | stdio |
| TIKTOK_ADS_APP_SECRET | No | Developer app secret. Required for auth, listing ad accounts, and purge --revoke. | |
| TIKTOK_ADS_MAX_BUDGET | No | Optional absolute budget cap in the account currency. | |
| TIKTOK_ADS_TOKEN_FILE | No | Token file written by auth. | ~/.tiktok-ads-mcp/secrets/tiktok-ads-token.json |
| TIKTOK_ADS_TOOL_GROUPS | No | Comma-separated tool groups: accounts, campaigns, smart_plus, creatives, audiences, targeting, pixels, catalogs, reporting, request. | |
| TIKTOK_ADS_ACCESS_TOKEN | No | The access token itself, instead of the token file. | |
| TIKTOK_ADS_ALLOW_REMOTE | No | Set to true (or use --allow-remote) to let HTTP transports bind to a non-loopback address. | |
| TIKTOK_ADS_ADVERTISER_ID | No | Default ad account. Set automatically when the token has only one. | |
| TIKTOK_ADS_BULK_THRESHOLD | No | Items per write before confirm="APPLY" is needed. | 10 |
| TIKTOK_ADS_MAX_DOWNLOAD_MB | No | Largest report file it will download, in MB. | 200 |
| TIKTOK_ADS_MAX_INCREASE_PCT | No | Bid or budget rise percentage that needs confirm="APPLY". | 20 |
| TIKTOK_ADS_AUDIT_RETENTION_DAYS | No | Days to keep audit entries, pruned at startup. 0 keeps them. | 30 |
| TIKTOK_ADS_ALLOWED_ADVERTISER_IDS | No | Comma-separated ad accounts the server may touch. Defaults to all the token can reach. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues