Claude Code + TikTok
Post to TikTok from Claude Code
Ask Claude Code to write and schedule your TikTok videos. BrokenPost connects the two, follows TikTok's rules and posts at the time you pick.
How to connect Claude Code to TikTok
- 1
Connect TikTok in BrokenPost. Sign in with TikTok. Personal and TikTok Business accounts both work.
- 2
In BrokenPost, open Plugins and copy your MCP URL.
- 3
Run the command below in your terminal.
- 4
Run /mcp in Claude Code and sign in to BrokenPost.
- 5
Ask Claude Code to schedule a post.
claude mcp add brokenpost --transport http "<MCP_URL>"Prefer another way? See every way to connect Claude Code.
What to ask Claude Code
Type these in Claude Code. Change the details to fit your videos.
- “Post this video on TikTok Friday at 6pm, public, with duets off.”
- “Turn these 4 pictures into a TikTok photo post and add music automatically.”
- “Send this video to my TikTok inbox so I can add a sound before posting.”
- “Read the commits since the last tag and turn them into a short TikTok video. Schedule it for 10am tomorrow.”
- “What TikTok videos do I have scheduled for next week?”
What happens next
- 1
You ask in Claude Code, in plain words.
- 2
Claude Code lists the channels you connected in BrokenPost and picks your TikTok account.
- 3
It reads TikTok's rules and settings from BrokenPost, so the video fits TikTok's limits before it is written.
- 4
If you shared a picture, a video or a link to one, it uploads it to your media library.
- 5
It creates the video as scheduled, as a draft, or to go out now, and gives you a preview link.
- 6
At the set time BrokenPost publishes it to TikTok and it shows on your calendar.
TikTok limits Claude Code follows
Claude Code reads these rules from BrokenPost before it writes, so the video fits the first time.
| Characters | 2,000 characters (2,200 for TikTok Business) |
|---|---|
| Media | 1 video, or 1 or more pictures, never empty |
| Video | 1 per post |
| Photo posts | 1 or more pictures (up to 35 for Business), no video mixed in |
| Text-only posts | Not allowed |
| Draft mode | Can send the post to your TikTok inbox to finish in the app |
TikTok settings you can ask for
Say them in plain words, like "who can see it", and Claude Code sets them on the video.
- Who can see it
- Allow comments, duets and stitches
- Made with AI label
- Branded content and your own brand labels
- Auto add music to photo posts
- Post now or send to the TikTok inbox
If TikTok rejects a video
Claude Code sees the same message and can fix the video for you.
| What you see | How to fix it |
|---|---|
| Privacy level mismatch, please check privacy settings | Pick a privacy option your TikTok account allows. Private accounts can not post as public. |
| Failed to pull video from URL, please check the URL | Upload the video to your BrokenPost media library first, then attach it from there. |
| Only pictures are supported when selecting multiple items | Send one video, or several pictures. Not both. |
| TikTok detected potential spam | TikTok flagged the post. Change the caption, avoid repeated links and space your posts out. |
| TikTok API rate limit exceeded, please try again later | Wait a few minutes and retry. TikTok limits how many posts an app can send per day. |
Good to know
- Every TikTok post needs a video or pictures.
- You can post several pictures, or one video. Not both.
- In inbox (draft) mode TikTok ignores every setting except the caption.
- Claude Code only posts when you ask. Ask for a draft to check the video in BrokenPost first.
Questions people ask
Can Claude Code post to TikTok directly?
Yes, through BrokenPost. Connect TikTok in BrokenPost, connect BrokenPost to Claude Code, and Claude Code can schedule, draft or publish TikTok videos.
Does Claude Code know the TikTok limits?
Yes. Claude Code reads TikTok's rules from BrokenPost before it writes: 2,000 characters (2,200 for tiktok business) and 1 video, or 1 or more pictures, never empty. BrokenPost checks again before it posts.
Can Claude Code schedule TikTok videos for later?
Yes. Give a day and time, like "Friday at 6pm", and the video goes out then. Ask for a draft if you want to check it first.
Is it free?
Claude Code with BrokenPost works on every plan. The Free plan includes 1 account on every app and 20 posts a month. Paid plans start at $19 a month with unlimited posts.
What if I don't have a picture or video?
TikTok needs media on every video. Claude Code can upload one from a link, use your media library, or make a new picture or video for you.
Which TikTok settings can Claude Code set?
Who can see it; Allow comments, duets and stitches; Made with AI label; Branded content and your own brand labels; Auto add music to photo posts; Post now or send to the TikTok inbox.
Can I schedule TikTok photo posts?
Yes. Add one or more pictures instead of a video. TikTok shows them as a swipeable photo post.
What is TikTok inbox mode?
Instead of posting, BrokenPost sends the video to your TikTok inbox. You open TikTok, finish it there and post it yourself.
More apps with Claude Code
Post to TikTok with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.