# TikTok MCP server for AI agents

Connect ChatGPT, Claude, Cursor or any MCP client to TikTok. Schedule videos, 35-photo carousels and inbox drafts with 118 PostSyncer MCP tools.

Give your AI assistant safe, permission-scoped access to TikTok. PostSyncer’s remote MCP server offers 118 tools in one list (your client decides which of them it shows) so agents can draft or schedule TikTok videos, build 35-photo carousels, upload to your TikTok inbox and check post views.

**MCP server:** https://postsyncer.com/mcp · **REST API:** https://postsyncer.com/api/v1 · **Docs:** https://postsyncer.com/docs/platforms/tiktok

## Example TikTok agent prompt

Prompt: “Upload the espresso pour clip to our TikTok inbox as a draft, pick the frame at 2.5 seconds as the cover, and turn off Duet and Stitch.”

- `list-workspaces`: Halden Coffee (#4815)

- `list-accounts`: TikTok @haldencoffee (#16239)

- `get-brand`: Loaded warm, concise roastery voice

- `list-media`: Found rosetta-pour.mp4 (#5120)

- `create-post`: Saved draft #81440 for TikTok MEDIA_UPLOAD

Saved draft #81440 for @haldencoffee in MEDIA_UPLOAD mode with the cover at 2,500 ms and Duet/Stitch disabled. Open it on your PostSyncer calendar whenever you are ready to send it to your TikTok inbox.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create-post",
    "arguments": {
      "workspace_id": 4815,
      "schedule_type": "draft",
      "content": [
        {
          "text": "Pouring a morning rosetta on our washed Guji espresso. #coffee #barista",
          "media": [5120],
          "cover_image": {
            "video_cover_timestamp_ms": 2500
          }
        }
      ],
      "accounts": [
        {
          "id": 16239,
          "settings": {
            "post_mode": "MEDIA_UPLOAD",
            "privacy_level": "SELF_ONLY",
            "disable_duet": true,
            "disable_stitch": true,
            "brand_organic_toggle": true
          }
        }
      ]
    }
  }
}
```

## Quick start

1. **Add the remote MCP server.** Install the official ChatGPT app or Claude plugin, or point Claude Code, Cursor, Codex or any MCP client at https://postsyncer.com/mcp over Streamable HTTP.

2. **Authorize with OAuth or a scoped key.** Click Allow in PostSyncer with zero keys to paste, or attach a Bearer key with workspaces:read, accounts:read, brand:read, media:read and posts:create, and no posts:schedule or posts:publish, so your TikTok agent can prepare drafts without scheduling live.

3. **Prompt in plain language.** Ask your agent to draft a TikTok clip, import a video from a public URL, create a photo carousel or summarize last week’s TikTok impressions and shares.

## MCP tools for TikTok

These verified PostSyncer MCP tools handle TikTok publishing, media intake, AI video inspection and performance reporting under the same validation rules as REST API v1.

- `list-accounts` (`accounts:read`): Find connected TikTok account IDs, handles and workspace membership before posting.

- `get-brand` (`brand:read`): Read workspace tone, hooks and rules before writing a TikTok caption.

- `upload-media-from-url` (`media:create`): Import a public MP4, MOV, WebM or photo URL into your verified workspace library.

- `create-media-upload-link` (`media:create`): Generate a temporary upload link when your chat client cannot pass a local video file directly.

- `analyze-video` (`media:read`): Watch a TikTok or library video of up to 10 minutes with AI to draft hooks and captions (paid plans; costs AI credits).

- `create-post` (`posts:create / schedule / publish`): Draft, schedule or push a TikTok video or 35-photo carousel with full TikTok settings.

- `update-post` (`posts:update / schedule`, destructive): Change the caption, privacy_level, post_mode or scheduled slot of a post before it goes out (a scheduled post also needs posts:schedule).

- `get-analytics-post` (`analytics:read`): Read impressions, likes, comments and shares for a published TikTok post.

## Agent workflows on TikTok

Real prompts creators, video studios and growth engineers run through PostSyncer’s TikTok MCP integration.

### Send finished clips to the TikTok inbox for trending audio

Prompt: “Import https://cdn.postsyncer.com/examples/rosetta-pour.mp4, write a short hook in our brand voice, and queue it for TikTok MEDIA_UPLOAD with the cover frame at 3 seconds.”

Tools: `get-brand`, `upload-media-from-url`, `create-post`. PostSyncer imports the clip, re-encodes it only if it breaks TikTok’s limits, then sends it to the creator’s TikTok inbox so they can add a trending sound before tapping Publish.

### Build an 8-photo TikTok slideshow from library assets

Prompt: “Find the 8 photos in our Spring Launch folder and schedule them as a TikTok photo post for Friday at 6 PM with a punchy 90-character title and auto_add_music enabled.”

Tools: `list-folders`, `list-media`, `create-post`. Schedules a TikTok photo carousel (up to 35 photos supported) with TikTok auto-music enabled and JPEG/1080px resizing handled automatically.

### Watch a clip with AI before writing the caption

Prompt: “Watch our newest espresso pour video in the media library, note the visual hook in the first 3 seconds, and save a SELF_ONLY TikTok draft with is_aigc set to false.”

Tools: `list-media`, `analyze-video`, `create-post`. On paid plans, analyze-video inspects up to 10 minutes of the actual footage, for AI credits, so the agent writes an accurate caption and chooses a meaningful video_cover_timestamp_ms.

### Weekly TikTok views & share digest

Prompt: “Pull our TikTok account analytics for the past 7 days and highlight which video earned the highest share-to-view ratio.”

Tools: `list-accounts`, `get-analytics-account`, `list-posts`, `get-analytics-post`. Combines account totals and per-post impressions, likes, comments and shares (last 7 days included on Free; full date ranges on paid plans).

## Why a remote TikTok MCP server beats fragile local scripts

Running TikTok publishing from a local script means registering your own TikTok developer app, passing TikTok’s review, handling OAuth callbacks, refreshing access tokens that last two hours and fixing videos by hand when one breaks TikTok’s frame-rate or codec rules. Each of those is a place for an agent session to fail halfway through.

PostSyncer hosts the TikTok MCP server over Streamable HTTP at https://postsyncer.com/mcp with managed OAuth, verified pull domains and server-side re-encoding for videos outside TikTok’s limits built in. You connect once in ChatGPT, Claude, Claude Code, Cursor or Codex and every agent session can publish or draft against your connected TikTok accounts immediately.

## Passing large video files from AI chats to TikTok

TikTok videos can run up to 10 minutes, and PostSyncer takes files up to 500 MB, which is far larger than what most chat interfaces attach inline. PostSyncer solves this cleanly with three intake paths: upload-media-from-url for public CDN links, upload-media-file for files attached in ChatGPT, and create-media-upload-link when another AI client cannot pass local video bytes directly.

When create-media-upload-link runs, the agent hands you a browser drop link (or uploads via curl from a coding terminal), retrieves the resulting library ID via get-media-upload-link, and attaches it to create-post without stuffing base64 blobs into context windows.

## Guardrails, disclosures and honest TikTok boundaries

Before creating a TikTok post, PostSyncer’s MCP instructions tell the model to call list-workspaces, list-accounts and get-brand so the caption matches your brand voice and lands on the right account. If you want human review before any clip goes public, issue a Bearer key with posts:create plus the read permissions the agent uses (workspaces:read, accounts:read, brand:read and media:read), and leave out posts:schedule and posts:publish. Drafts save as usual; a request to schedule or publish now is refused with the missing permission named, so the agent can offer a draft instead.

Your agent also works within TikTok’s true platform capabilities: TikTok does not allow deleting live videos via API, does not support first comments, and PostSyncer does not read TikTok comments. Delete tools carry destructive annotations so compliant MCP clients prompt you before removing drafts or media.

Related pages: [TikTok REST API](https://postsyncer.com/tiktok-api), [TikTok scheduler](https://postsyncer.com/tiktok-scheduler), [MCP server overview](https://postsyncer.com/mcp-social-media).

## Limits and plans

| Plan | Social accounts | Posts | API posts a day, per network |
| --- | --- | --- | --- |
| Free | 2 | 20 a month | Within the 20 |
| Starter ($29 a month) | 10 | Unlimited | Unlimited |
| Pro ($49 a month) | 30 | Unlimited | Unlimited |
| Agency ($99 a month) | 100, then $1/mo each | Unlimited | Unlimited |

Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.

## FAQ

### How do I connect TikTok MCP to ChatGPT or Claude?

In ChatGPT install the official PostSyncer app; in Claude add the official PostSyncer plugin from the directory. In Claude Code, Cursor, Codex or any remote MCP client, add https://postsyncer.com/mcp and sign in with OAuth or an API key.

### Can an AI agent post directly to TikTok or only save drafts?

Both. With OAuth or a key holding posts:schedule / posts:publish, an agent can schedule DIRECT_POST videos or send MEDIA_UPLOAD drafts to your TikTok inbox. Leave posts:schedule and posts:publish off a key if you want drafts only: drafts still save, and schedule or publish requests are refused.

### Can my agent create TikTok photo carousels over MCP?

Yes. Pass 1 to 35 photos to create-post along with a 90-character settings.title and auto_add_music: true. Photos and videos cannot be mixed in one TikTok post.

### Can my agent generate AI videos through the TikTok MCP server?

No. The MCP server publishes and organizes media you already have (from your library, a public URL, a ChatGPT file attachment or an upload link). AI video generation runs inside the PostSyncer app in Studio or Chat on paid plans.

### Can my agent reply to TikTok comments over MCP?

No. PostSyncer does not read TikTok comments, so comment tools do not apply to TikTok accounts. Agents can still manage captions, privacy, disclosures and TikTok analytics.

### Is the TikTok MCP server available on the Free plan?

Yes. The MCP server is included on every plan, Free included. On Free, agent posts count toward the monthly allowance and analytics cover the last 7 days; analyze-video requires a paid plan.

---

Page: https://postsyncer.com/tiktok-mcp · Updated 2026-11-27
