GitHub Copilot + TikTok
Post to TikTok from GitHub Copilot
Ask GitHub Copilot 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 GitHub Copilot 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
Add the config below to .vscode/mcp.json in your project root.
- 4
Start the server in VS Code and sign in to BrokenPost.
- 5
Ask Copilot in agent mode to schedule a post.
{
"servers": {
"brokenpost": { "type": "http", "url": "<MCP_URL>" }
}
}What to ask GitHub Copilot
Type these in Copilot agent mode in VS 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 Copilot agent mode in VS Code, in plain words.
- 2
GitHub Copilot 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 GitHub Copilot follows
GitHub Copilot 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 GitHub Copilot 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
GitHub Copilot 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.
- GitHub Copilot only posts when you ask. Ask for a draft to check the video in BrokenPost first.
Questions people ask
Can GitHub Copilot post to TikTok directly?
Yes, through BrokenPost. Connect TikTok in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish TikTok videos.
Does GitHub Copilot know the TikTok limits?
Yes. GitHub Copilot 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 GitHub Copilot 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?
GitHub Copilot 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. GitHub Copilot can upload one from a link, use your media library, or make a new picture or video for you.
Which TikTok settings can GitHub Copilot 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 GitHub Copilot
Post to TikTok with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.