KosmoKrator

marketing

TikTok MCP, CLI, and Lua Integration for AI Agents

TikTok integration docs for AI agents: MCP gateway setup, TikTok CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Bearer token auth

TikTok for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
tiktok
route_slug
tiktok
package
tiktok
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

TikTok MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for TikTok.

TikTok CLI Matrix

Use these pages for direct TikTok CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
tiktok.tiktok_list_videos Read read 3 List videos available for an advertiser in TikTok Business. Returns video IDs, names, and metadata.
tiktok.tiktok_get_video Read read 2 Get details for a specific TikTok video, including preview URL, duration, and status.
tiktok.tiktok_upload_video Write write 3 Upload a video to TikTok via URL for use in advertising campaigns.
tiktok.tiktok_list_campaigns Read read 3 List advertising campaigns for a TikTok advertiser. Returns campaign IDs, names, status, and budgets.
tiktok.tiktok_get_campaign Read read 2 Get details for a specific TikTok advertising campaign, including budget, schedule, and performance.
tiktok.tiktok_list_advertisers Read read 2 List advertisers accessible to the authenticated TikTok Business user. Returns advertiser IDs, names, and company details.
tiktok.tiktok_get_current_user Read read 0 Get the authenticated user's TikTok Business account information, including display name, email, and status.