GitHub Copilot + YouTube
Post to YouTube from GitHub Copilot
Ask GitHub Copilot to write and schedule your YouTube videos. BrokenPost connects the two, follows YouTube's rules and posts at the time you pick.
How to connect GitHub Copilot to YouTube
- 1
Connect YouTube in BrokenPost. Sign in with Google and pick your YouTube channel.
- 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.
- “Upload this video to YouTube on Thursday at 3pm as unlisted with the title "Q3 product update".”
- “Cut my latest YouTube video into 5 Shorts with captions and save them as drafts.”
- “Schedule this video on YouTube Saturday at 10am with the tags coffee, latte and recipe.”
- “Read the commits since the last tag and turn them into a short YouTube video. Schedule it for 10am tomorrow.”
- “What YouTube 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 YouTube account.
- 3
It reads YouTube's rules and settings from BrokenPost, so the video fits YouTube'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 YouTube and it shows on your calendar.
YouTube limits GitHub Copilot follows
GitHub Copilot reads these rules from BrokenPost before it writes, so the video fits the first time.
| Characters | 5,000 characters (for the description) |
|---|---|
| Media | Exactly 1 video |
| Video | Exactly 1 per post |
| Description | No < or > characters |
| Privacy | Public, private or unlisted |
YouTube settings you can ask for
Say them in plain words, like "title", and GitHub Copilot sets them on the video.
- Title
- Public, private or unlisted
- Made for kids
- Tags
- Custom thumbnail
If YouTube rejects a video
GitHub Copilot sees the same message and can fix the video for you.
| What you see | How to fix it |
|---|---|
| You need one media | A YouTube post needs exactly one video. Remove extra files. |
| Your video description is invalid, it may contain disallowed characters such as < or >. | Remove < and > from the description. |
| The maximum allowed is 500 characters in total. | Your tags add up to more than 500 characters. Remove a few tags. |
| Please re-authenticate your YouTube account | Reconnect YouTube in BrokenPost and pick the same channel. |
Good to know
- A YouTube post needs exactly one video.
- Descriptions can not contain < or > characters.
- 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 YouTube directly?
Yes, through BrokenPost. Connect YouTube in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish YouTube videos.
Does GitHub Copilot know the YouTube limits?
Yes. GitHub Copilot reads YouTube's rules from BrokenPost before it writes: 5,000 characters (for the description) and exactly 1 video. BrokenPost checks again before it posts.
Can GitHub Copilot schedule YouTube 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?
YouTube 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 YouTube settings can GitHub Copilot set?
Title; Public, private or unlisted; Made for kids; Tags; Custom thumbnail.
Can I schedule YouTube Shorts?
Yes. Upload a vertical video and schedule it like any other video.
Can I add a custom thumbnail?
Yes. Add a thumbnail picture in the YouTube settings of your post.
More apps with GitHub Copilot
Post to YouTube with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.