TikTok MCP server for AI agents
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.
PostSyncer MCP server
https:// postsyncer.com/ mcp- Remote Streamable HTTP MCP at https://postsyncer.com/mcp — no local server to run
- Supports DIRECT_POST, MEDIA_UPLOAD inbox drafts, cover timestamps and Duet/Stitch toggles
- Keys without posts:schedule or posts:publish keep agents to drafts until a person signs off
- Cancel anytime
- Unlimited posts on paid plans
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-workspacesHalden Coffee (#4815)
- list-accountsTikTok @haldencoffee (#16239)
- get-brandLoaded warm, concise roastery voice
- list-mediaFound rosetta-pour.mp4 (#5120)
- create-postSaved 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.
01 Quick start
Connect TikTok to your AI agent in three steps
- 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/mcpover 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:readandposts:create, and noposts:scheduleorposts: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.
02 MCP tools
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.
| Tool | Permission | What it does on TikTok |
|---|---|---|
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-postdestructive | posts:update / schedule | 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. |
03 Prompts and workflows
What to ask your agent 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
“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.”
get-brandupload-media-from-urlcreate-postPostSyncer 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
“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.”
list-folderslist-mediacreate-postSchedules 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
“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.”
list-mediaanalyze-videocreate-postOn paid plans,
analyze-videoinspects up to 10 minutes of the actual footage, for AI credits, so the agent writes an accurate caption and chooses a meaningfulvideo_cover_timestamp_ms.Weekly TikTok views & share digest
“Pull our TikTok account analytics for the past 7 days and highlight which video earned the highest share-to-view ratio.”
list-accountsget-analytics-accountlist-postsget-analytics-postCombines 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.
Direct REST API
Automating TikTok from a backend or cron job? Use the REST API
The exact same TikTok endpoints, media pipeline and resource:action keys power https://postsyncer.com/api/v1 — ideal for SaaS apps, video render pipelines and webhook-driven workers.
REST API base URL
https:// postsyncer.com/ api/ v1Calendar and team review
Every agent post lands on your TikTok calendar
Drafts and scheduled posts created through MCP show up in PostSyncer with full TikTok previews, approval workflows and team notes. If you want a person to review first, leave posts:schedule and posts:publish off the agent's key: it saves drafts, and a schedule or publish call is refused.
AI clients
Connect TikTok to the AI tool you use
Every client reaches the same server at https://postsyncer.com/mcp. Each page has that client’s exact setup steps.
- ChatGPTPlugin directory
- ClaudeDirectory plugin
- Claude CodeTerminal
- Claude DesktopDirectory plugin
- Grok BotCustom connector
- OpenClawCommand line
- CursorInstall link
- OpenBotCustom server
- CodexTerminal
- GrokCustom connector
- Gemini CLITerminal
- AntigravityConfig file
- Any MCP clientThe server address, OAuth and API key options
claude mcp add --transport http postsyncer https://postsyncer.com/mcpLimits and plans
What each plan allows
The TikTok MCP server is on every plan, Free included. Posts created by your AI agent share your plan’s allowance and 60 requests a minute rate limit.
| 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.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- TikTok platform guideExact TikTok settings, limits and API behavior
- MCP server overviewStreamable HTTP transport, OAuth and API key sign-in
- Connect your MCP clientSetup commands for ChatGPT, Claude, Claude Code, Cursor and Codex
- MCP tools referenceEvery tool name, argument and required permission
- Agent usage guideRecommended call order and safety rules
All 12 networks
Explore every platform MCP server on PostSyncer
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.
Let your AI agent draft and schedule TikTok posts safely.
Connect https://postsyncer.com/mcp in under a minute and start on the Free plan with no credit card.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans