tiktok-mcp
Provides tools for managing TikTok accounts, including posting and scheduling videos, following users, liking videos, updating profiles, and fetching analytics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tiktok-mcpPost launch.mp4 with the caption 'We finally shipped.'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

Allow any AI agent to use the full TikTok interface through this self-hosted MCP. With this MCP you can:
Post/schedule videos
Manage profile; pfp, display name, and bio
Find viral tiktok hooks
Track analytics from TikTok Studio
Works with any MCP-compatible agent or CLI(Claude Code, Codex, Hermes Agent, etc.). Maintained by Palmyr
--
You can connect unlimited number of accounts. The agent will keep all TikTok sessions, media, browser profiles, and analytics local.
Tools
Tool | What it does |
| Return a shareable QR login link |
| Check whether login completed |
| List local accounts and session state |
| Post or natively schedule a video |
| Poll an asynchronous browser job |
| Follow a user |
| Like a video |
| Delete a video |
| Update a display name or bio |
| Update a profile image |
| Collect and save post metrics locally |
| Read saved performance history and growth |
| Analyze caption hooks from local history |
| List suggested hook-analysis niches |
| List scheduled posts recorded locally |
| Cancel a scheduled post |
Related MCP server: tiktok-mcp
Quick start
You need Node.js 18.18+ and Chrome, Edge, or Brave. Add this server to your agent's MCP configuration:
{
"mcpServers": {
"tiktok": {
"command": "npx",
"args": ["-y", "github:0xArtex/tiktok-mcp"]
}
}
}Restart the agent, then ask:
Connect my TikTok account as [my-brand]The MCP returns a shareable connect_url. Send it to the human who owns the account; they open it, scan the live TikTok QR, and confirm login while the agent polls the connection.
Important: make sure the agent's VPS/browser and the human's phone to be in the same country or a nearby region, since TikTok may refuse geographically distant QR logins. If they are different, we suggest to use a temporarily VPN/proxy while scanning.
If no installed browser is detected, install Playwright's Chromium once:
npx playwright install chromiumOn a Linux VPS without a desktop display, install Xvfb so TikTok receives a headed browser while the human uses the remote link:
sudo apt-get install -y xvfbHosted HTTP API
Don't want to run the browser/runtime yourself? Use our hosted x402 API at https://tiktok.palmyr.ai/v1 with AgentCash, Agentic Market, or any x402 client. It is an HTTP API, not a remote MCP server.
npx agentcash@latest add https://tiktok.palmyr.ai
npx agentcash@latest discover https://tiktok.palmyr.ai
npx agentcash@latest check https://tiktok.palmyr.ai/v1/postAgentCash handles the x402 challenge and USDC payment.
The paid hosted automation API is optional.
Local configuration
Setting | Default | Description |
|
| Local profiles, job state, and analytics |
| auto-detected | Chrome-family browser executable |
| headed on desktop | Set |
|
| Ephemeral QR hand-off origin |
Development
git clone https://github.com/0xArtex/tiktok-mcp.git
cd tiktok-mcp
npm install
npm testLicense
MIT
Maintenance
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
- AlicenseBqualityNot gradedmaintenanceA 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.122
- FlicenseBqualityCmaintenanceMCP server for TikTok that enables searching videos, users, hashtags, and fetching trending content, user profiles, and video details via official API or public scraping.8
- FlicenseNot gradedqualityCmaintenanceMCP server enabling AI agents to generate AI videos and images, analyze video content, and download videos from Douyin and Xiaohongshu.
- AlicenseAqualityCmaintenanceMCP server for QPost that lets AI agents schedule and publish video/image posts to YouTube, TikTok, and Instagram via QPost's REST API.768MIT
Related MCP Connectors
MCP server for QPost — lets AI agents publish video and image posts to YouTube, TikTok, Instagram.
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.
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/0xArtex/tiktok-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server