Skip to main content
Glama

TikTok MCP

Post, schedule, manage, and analyze TikTok accounts from any MCP-compatible AI agent.

  • Connect accounts with a secure QR login

  • Post videos now or schedule them for later

  • Follow users, like videos, and manage profiles

  • Track post analytics, growth, and content hooks

  • No API keys or subscriptions

Quick start

Add this to your MCP configuration:

{
  "mcpServers": {
    "tiktok": {
      "command": "npx",
      "args": ["-y", "github:0xArtex/tiktok-mcp"]
    }
  }
}

Restart your agent, then ask:

Connect my TikTok account.

The agent will give you a QR login link. Open it, scan the code with the TikTok app, and the account is ready to use.

Related MCP server: tiktok-mcp

Example prompts

Post launch.mp4 with the caption "We finally shipped."

Schedule demo.mp4 for tomorrow at 6 PM.

Show which of my recent videos are still gaining views.

Analyze the strongest hooks from my fitness posts.

Update my bio to "Building useful things in public."

When the MCP runs locally over stdio, tiktok_post accepts a local video_path and tiktok_update_avatar accepts a local image_path. Public URLs work in both local and hosted mode.

Tools

Tool

What it does

tiktok_connect

Start a QR login

tiktok_connect_status

Check whether login completed

tiktok_accounts

List connected accounts and session health

tiktok_post

Post or schedule a video

tiktok_operation_status

Poll an asynchronous action

tiktok_follow

Follow a user

tiktok_like

Like a video

tiktok_delete

Delete a video

tiktok_update_profile

Update a display name or bio

tiktok_update_avatar

Update a profile image

tiktok_analytics

Fetch post performance metrics

tiktok_series

Read saved performance history and growth

tiktok_hooks

Analyze caption hooks for an account or niche

tiktok_niches

List available hook-analysis niches

tiktok_scheduled

List scheduled posts

tiktok_cancel_scheduled

Cancel a scheduled post

Hosted

The same server can run as a remote Streamable HTTP MCP:

npx -y github:0xArtex/tiktok-mcp --http --port 3000

The MCP endpoint is available at http://localhost:3000/mcp. The public hosted endpoint will be added here when its DNS and deployment are live.

Hosted actions are paid per request through x402. There are no API keys or subscriptions. Compatible agents handle the payment challenge automatically.

To make the hosted API available as an agent skill:

npx agentcash@latest add https://your-tiktok-api.example

You can also discover and call the HTTP endpoints directly:

npx agentcash@latest discover https://your-tiktok-api.example

Configuration

Setting

Default

Description

TIKTOK_API_URL

Hosted API

Override the TikTok action API origin

PORT

3000

Port used with --http

Run the MCP over stdio:

npx -y github:0xArtex/tiktok-mcp

Development

git clone https://github.com/0xArtex/tiktok-mcp.git
cd tiktok-mcp
npm install
npm test

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    -
    maintenance
    A comprehensive MCP server that enables AI assistants to search, download, and analyze TikTok content while also performing active tasks like publishing videos and interacting with posts. It provides full automation capabilities for TikTok through browser session management and anti-detection features.
    Last updated
    12
    2
  • F
    license
    B
    quality
    C
    maintenance
    MCP server for TikTok that enables searching videos, users, hashtags, and fetching trending content, user profiles, and video details via official API or public scraping.
    Last updated
    8

View all related MCP servers

Related MCP Connectors

  • Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

View all MCP Connectors

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/0xArtex/tiktok-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server