TikTok MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIKTOK_HEADLESS | No | Whether to run the browser in headless mode. Set to 'true' to hide the browser or 'false' to see it. | true |
| TIKTOK_COOKIES_PATH | Yes | Path to your TikTok cookies file (.pkl or .json). Required for authenticated features like publishing and interacting. | |
| TIKTOK_DOWNLOAD_DIR | No | Directory where downloaded videos will be stored. | ./downloads |
| TIKTOK_MIN_INTERVAL | No | Rate limit between calls in seconds. | 2.0 |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tiktok_searchB | Search TikTok videos by keyword. Returns metadata: author, description, views, URL, hashtags. |
| tiktok_trendingC | Get trending/For You videos from TikTok feed. |
| tiktok_feedC | Scroll the For You Page like a real user and collect video metadata. |
| tiktok_user_videosC | Get videos from a specific TikTok user's profile. |
| tiktok_video_infoC | Get detailed metadata for a specific TikTok video (stats, audio, hashtags, description). |
| tiktok_hashtagC | Explore a TikTok hashtag — popular videos and stats. |
| tiktok_downloadC | Download a TikTok video (without watermark when possible). |
| tiktok_publishA | Publish a video to TikTok. Requires authenticated session. Uses browser automation via Creator Center. |
| tiktok_interactC | Interact with a TikTok video: like, comment, or follow the creator. |
| tiktok_soundsC | Get trending sounds/music on TikTok. |
| tiktok_sessionB | Manage TikTok session: check login status, refresh cookies, export session info. |
| tiktok_analyze_trendC | Analyze trends for a niche: search multiple keywords, aggregate stats on popular sounds, hashtags, posting patterns. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/follox42/tiktok-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server