
TikTok MCP Server
MCP server for scheduling and publishing TikTok posts and reading their metrics
The repository was last updated 2 days ago and is published under MIT.
TikTok MCP Server is an open-source MCP server for social media analytics. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (3 tools)
- Access
- Needs a secret key or token
- GitHub stars
- 0
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add tiktok-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/tiktok-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"tiktok-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/tiktok-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"tiktok-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/tiktok-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tiktok-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/tiktok-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"tiktok-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@breakreach/tiktok-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add tiktok-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/tiktok-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.tiktok-mcp]
command = "npx"
args = ["-y", "@breakreach/tiktok-mcp"]
env = { BREAKREACH_API_KEY = "<BREAKREACH_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tiktok-mcp": {
"command": "npx",
"args": [
"-y",
"@breakreach/tiktok-mcp"
],
"env": {
"BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Or run: gemini mcp add -s user -e BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' tiktok-mcp npx -- -y @breakreach/tiktok-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "tiktok-mcp": { "command": "npx", "args": [ "-y", "@breakreach/tiktok-mcp" ], "env": { "BREAKREACH_API_KEY": "<BREAKREACH_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BREAKREACH_API_KEYBreakreach API key (Settings → API & MCP), which holds the connected accountRequiredBREAKREACH_WORKSPACEWorkspace slug, when the account has several
About TikTok MCP Server
Gives an AI assistant a set of tools to upload media, publish a video or photo carousel now, put it on a schedule, or save it as a private draft for review. It also lists connected accounts and pulls views, likes, comments and shares for past posts.
The server runs locally over stdio and needs a Breakreach API key, which is the piece that holds the connected TikTok account. Posts go out as direct posts through TikTok's Content Posting API, so nothing has to be finished in the TikTok app afterwards. Privacy defaults to private until the caller sets a public level, and comments, duets and stitches can be switched off per post.
It suits creators and small teams who draft or schedule content from Claude, Cursor or another MCP client. It does not download other people's videos, read other accounts, or handle comments and direct messages.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 8 tools change data.
From the server's own tool labels and tool names; not verified by us.
- list_tiktok_accountsName suggests: reads
- The connected TikTok accounts and their ids.
- post_to_tiktokName suggests: changes
- Publish now: a video, or a photo post of up to 35 images.
- schedule_tiktok_postName suggests: changes
- Put a post on the calendar at a time, at the next free slot, or as a draft.
- get_next_tiktok_slotName suggests: reads
- The next free slot in the posting schedule.
- upload_tiktok_mediaName suggests: changes
- Uploads a local file to an https URL TikTok can fetch.
- list_tiktok_postsName suggests: reads
- Drafts, scheduled, published and failed posts, with their ids.
- get_tiktok_post_metricsName suggests: reads
- Views, likes, comments and shares for a post.
- get_tiktok_account_statsName suggests: reads
- Recent reach per account.
What it does
- Direct video publishing
- Publishes a video straight to a connected TikTok account with the caption you provide.
- Photo carousel posts
- Publishes photo posts of up to 35 images, which TikTok shows as a slideshow.
- Scheduling and drafts
- Places posts on the calendar at a set time, at the next free slot, or saves them as drafts.
- Post metrics
- Reads views, likes, comments and shares for posts and recent reach per account.
- Per-post interaction controls
- Lets the caller switch off comments, duets and stitches for each post.
- Local stdio install
- Runs through npx in Claude Desktop, Claude Code or Cursor with one API key.
Good for
- Schedule a week of TikTok videos from an AI chat assistant
- Publish a photo slideshow to TikTok without opening the app
- Save an AI-drafted video as a private draft for review before going public
- Check views and engagement on recent TikTok posts from inside a chat
Pricing
Open source, from $29 a month
Server is free and MIT licensed; publishing through Breakreach needs a plan from $29/mo
TikTok MCP Server FAQ
Is the server free?
The server is MIT licensed and free to install. It connects to Breakreach, where reading is free and publishing needs a plan starting at $29 a month.
Why does a post come out private by default?
The default privacy level is SELF_ONLY. Passing privacyLevel set to PUBLIC_TO_EVERYONE publishes it to the feed.
Can TikTok MCP Server read or download other people's videos?
No. It publishes and reads posts on your own connected account only.
Does TikTok MCP Server work without a Breakreach account?
No. The API key and the connected TikTok account are handled by Breakreach.
How do I add TikTok MCP Server to Claude Code?
Run this command in your terminal: claude mcp add tiktok-mcp --env BREAKREACH_API_KEY='<BREAKREACH_API_KEY>' -- npx -y @breakreach/tiktok-mcp
What are the best alternatives to TikTok MCP Server?
The closest alternatives to TikTok MCP Server are Multi Upload Tool, TikTok MCP Server (profiles and videos), Instagram MCP Server, Tiktok Organic MCP and TikTok Pages MCP by InsightfulPipe.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
