Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TIKTOK_HEADLESSNoWhether to run the browser in headless mode. Set to 'true' to hide the browser or 'false' to see it.true
TIKTOK_COOKIES_PATHYesPath to your TikTok cookies file (.pkl or .json). Required for authenticated features like publishing and interacting.
TIKTOK_DOWNLOAD_DIRNoDirectory where downloaded videos will be stored../downloads
TIKTOK_MIN_INTERVALNoRate limit between calls in seconds.2.0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tiktok_search

Search TikTok videos by keyword. Returns metadata: author, description, views, URL, hashtags.

tiktok_trending

Get trending/For You videos from TikTok feed.

tiktok_feed

Scroll the For You Page like a real user and collect video metadata.

tiktok_user_videos

Get videos from a specific TikTok user's profile.

tiktok_video_info

Get detailed metadata for a specific TikTok video (stats, audio, hashtags, description).

tiktok_hashtag

Explore a TikTok hashtag — popular videos and stats.

tiktok_download

Download a TikTok video (without watermark when possible).

tiktok_publish

Publish a video to TikTok. Requires authenticated session. Uses browser automation via Creator Center.

tiktok_interact

Interact with a TikTok video: like, comment, or follow the creator.

tiktok_sounds

Get trending sounds/music on TikTok.

tiktok_session

Manage TikTok session: check login status, refresh cookies, export session info.

tiktok_analyze_trend

Analyze trends for a niche: search multiple keywords, aggregate stats on popular sounds, hashtags, posting patterns.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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