Back to Browse

Tiktok MCP Server

Marketing & SocialUse Caution4.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

TikTok MCP server: publish or schedule a video or a photo post, read its metrics.

About

TikTok MCP server: publish or schedule a video or a photo post, read its metrics.

Security Report

4.3
Use Caution4.3High Risk

The server is a thin TikTok client that sends posts, media and the API key to the third-party Breakreach API, which matches its stated purpose and reads its key from an environment variable with no hardcoded secrets. The main concern is that upload_tiktok_media reads any absolute local path without restriction and uploads it to external storage, so a prompt-injected or careless call could expose sensitive files. Users should trust Breakreach with their connected account and review uploads. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity). Package verification found 1 issue.

6 files analyzed · 11 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

What You'll Need

Set these up before or after installing:

Breakreach API key (Settings → API & MCP), which holds the connected accountRequired

Environment variable: BREAKREACH_API_KEY

Workspace slug, when the account has severalOptional

Environment variable: BREAKREACH_WORKSPACE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "tiktok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@breakreach/tiktok-mcp@0.1.0"
      ],
      "env": {
        "BREAKREACH_API_KEY": "your-breakreach-api-key-here",
        "BREAKREACH_WORKSPACE": "your-breakreach-workspace-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

TikTok MCP Server

Publish to TikTok, schedule a video or a photo post, and read what each one did, from Claude, ChatGPT, Cursor or any client that speaks the Model Context Protocol.

You: post this video to TikTok at 7pm, public, comments on
Claude: [upload_tiktok_media] [schedule_tiktok_post] Scheduled for 19:00.

The post goes out through TikTok's Content Posting API on a connected account, as a direct post. Nothing has to be finished in the TikTok app afterwards.

Install

The server runs over stdio and needs one environment variable: a Breakreach API key, which is what holds your connected TikTok account. Create one free at breakreach.com, connect TikTok, then take the key from Settings → API & MCP.

Claude Code

claude mcp add tiktok --env BREAKREACH_API_KEY=br_your_key -- npx -y @breakreach/tiktok-mcp

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "tiktok": {
      "command": "npx",
      "args": ["-y", "@breakreach/tiktok-mcp"],
      "env": { "BREAKREACH_API_KEY": "br_your_key" }
    }
  }
}

Cursor — ~/.cursor/mcp.json, same block as above.

ChatGPT, and anything that wants a remote server: ChatGPT connectors cannot run a local command, so point it at the hosted Breakreach server instead, https://api.breakreach.com/mcp, which covers TikTok and 19 other networks behind OAuth. Setup per client: breakreach.com/agents.

Tools

ToolWhat it does
list_tiktok_accountsThe connected TikTok accounts and their ids. Call it first.
post_to_tiktokPublish now: a video, or a photo post of up to 35 images.
schedule_tiktok_postPut it on the calendar at a time, at the next free slot, or as a draft.
get_next_tiktok_slotThe next free slot in the posting schedule.
upload_tiktok_mediaA local file to an https URL TikTok can fetch.
list_tiktok_postsDrafts, scheduled, published and failed, with their ids.
get_tiktok_post_metricsViews, likes, comments, shares.
get_tiktok_account_statsRecent reach per account.

Every tool is named after the network, so an assistant reaches for the right one without being told which server to use. Set BREAKREACH_WORKSPACE if the account has several workspaces and you want one of them by default.

What TikTok allows, and what this does about it

These are the platform's rules, not ours, and they are the part that usually breaks a home-made integration:

  • Privacy level defaults to SELF_ONLY. TikTok requires a posting app to be audited before it can publish publicly; pass privacyLevel: "PUBLIC_TO_EVERYONE" to post to the feed, or leave it alone to upload a private draft you review first.
  • Comment, duet and stitch can each be switched off per post.
  • Photo posts hold up to 35 images, and TikTok treats them as a slideshow rather than a video.
  • Direct post, not an upload to the drafts box. The video appears published, with the caption you gave.
  • No comments tools yet. TikTok's comment API sits behind a separate application that is still open, so reading and replying is not here. The hosted server covers comments on Instagram, Facebook, Threads, X, YouTube and Google Business Profile.
  • No direct messages. TikTok does not open a messaging API to third parties in the EU, Switzerland or the UK.

Why a single-network server

An assistant handed two dozen tools spread over twenty networks spends its first turn working out which one it wants. Handed post_to_tiktok, it posts. If you do want every network in one place (TikTok, Instagram, LinkedIn, X, YouTube, Facebook, Threads, Pinterest, Bluesky, Reddit, Telegram, Discord, Slack, Mastodon, WordPress, Ghost, Dev.to, Hashnode, Tumblr, Google Business Profile), that is the hosted server at https://api.breakreach.com/mcp.

Sister servers, same shape: instagram-mcp, linkedin-mcp.

Questions people actually ask

Is it free? This server is MIT licensed and free. It talks to Breakreach, where reading is free and publishing needs a plan, from $29 a month.

Why did my post come out private? TikTok's default here is SELF_ONLY. Pass privacyLevel: "PUBLIC_TO_EVERYONE".

Can it download videos or read someone else's account? No. It publishes and reads your own posts.

Can it run without Breakreach? No. The audited posting app, the chunked video upload, the token refresh and the publish-status polling live there. A TikTok integration is mostly that work, not the HTTP call.

Build it yourself

npm install
npm run build
node scripts/smoke.mjs   # MCP handshake, then the tool list

MIT licensed. Issues and pull requests welcome.

Reviews

No reviews yet

Be the first to review this server!