TikTok MCP Server

TikTok MCP server provides AI assistants with short-form video publishing, content management, trend analytics, and audience insights for the world's fastest-growing social platform.

May 4, 2025
MCP ServerSocial MediaTikTok MCP Server
GitHub stars

Overview

The TikTok MCP Server brings the world's fastest-growing social media platform to AI assistants. With over 1 billion monthly active users, TikTok has revolutionized short-form video content and viral trends. This server enables AI models to publish videos, manage content, analyze trends, and access audience insights — making it essential for creators and brands on TikTok.

Community MCP Server:

Integrates with the TikTok API for content management and analytics

Key Features

🎬

Video Publishing

Upload and publish short-form videos with captions, hashtags, and privacy settings

📊

Performance Analytics

Track views, likes, shares, comments, and detailed video performance metrics

🔥

Trend Discovery

Identify trending hashtags, sounds, effects, and content patterns on the platform

👥

Audience Insights

Access follower demographics, audience growth, and engagement patterns

💬

Comment Management

Read, reply to, and moderate comments on your TikTok videos

📝

Content Management

View your video library, manage drafts, and organize published content

Available Tools

Quick Reference

ToolPurpose
upload_videoUpload a new video with caption and settings
get_video_analyticsGet performance metrics for a specific video
get_audience_insightsView follower demographics and audience data
get_trendingDiscover trending hashtags, sounds, and topics
manage_commentsRead and respond to video comments
list_videosView your published video library

Detailed Usage

upload_video

Upload a new video to your TikTok account with a caption and privacy setting.

{
  "video_url": "https://example.com/video.mp4",
  "caption": "Check out this amazing AI trick! #AI #Tech",
  "privacy": "public"
}
get_trending

Discover trending hashtags, sounds, and content patterns currently popular on TikTok.

{
  "category": "hashtags",
  "limit": 20
}
get_video_analytics

Get detailed analytics for a specific video including views, engagement, and audience retention.

{
  "video_id": "123456789",
  "metrics": ["views", "likes", "shares", "comments", "avg_watch_time"]
}
get_audience_insights

Get audience demographics including age, gender, geography, and active times.

{}

Installation

{
  "mcpServers": {
    "tiktok": {
      "command": "npx",
      "args": ["-y", "tiktok-mcp"],
      "env": {
        "TIKTOK_ACCESS_TOKEN": "your_tiktok_token",
        "TIKTOK_OPEN_ID": "your_open_id"
      }
    }
  }
}

TikTok Developer Account Required:

Register as a TikTok Developer at developers.tiktok.com and create an app to get API credentials.

Use Cases

Content Automation

Automate video publishing with AI-generated captions, hashtags, and optimal posting times.

Trend Analysis

Monitor trending hashtags and sounds to inform your content strategy and capture viral moments.

Performance Tracking

Generate regular performance reports with AI-powered insights and recommendations.

Audience Growth

Analyze audience data to optimize content for your target demographic and grow your following.

Sources