GitHub Copilot + LinkedIn
Post to LinkedIn from GitHub Copilot
Ask GitHub Copilot to write and schedule your LinkedIn posts. BrokenPost connects the two, follows LinkedIn's rules and posts at the time you pick.
How to connect GitHub Copilot to LinkedIn
- 1
Connect LinkedIn in BrokenPost. Sign in with LinkedIn. Connect your own profile, or any company page you are an admin of.
- 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 posts.
- “Write a LinkedIn post about our new feature for my company page and schedule it for Wednesday at 8am.”
- “Turn these 6 pictures into a LinkedIn carousel called "Hiring playbook" and post it Thursday.”
- “Post this on my LinkedIn profile tomorrow morning and add the link as the first comment.”
- “Read the commits since the last tag and turn them into a short LinkedIn post. Schedule it for 10am tomorrow.”
- “What LinkedIn posts 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 LinkedIn account.
- 3
It reads LinkedIn's rules and settings from BrokenPost, so the post fits LinkedIn'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 post 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 LinkedIn and it shows on your calendar.
LinkedIn limits GitHub Copilot follows
GitHub Copilot reads these rules from BrokenPost before it writes, so the post fits the first time.
| Characters | 3,000 characters |
|---|---|
| Media | Pictures, 1 video, or a carousel of 2 or more pictures |
| Video | 1 per post, no other media with it |
| Carousel | 2 or more pictures, no video |
| Comments | Text only |
| Accounts | Personal profiles and company pages |
LinkedIn settings you can ask for
Say them in plain words, like "post pictures as a carousel", and GitHub Copilot sets them on the post.
- Post pictures as a carousel
- Carousel name
If LinkedIn rejects a post
GitHub Copilot sees the same message and can fix the post for you.
| What you see | How to fix it |
|---|---|
| Resource is forbidden | LinkedIn refused the post, often because the account lost admin rights on the page. Check your page role, then reconnect LinkedIn. |
| Unable to obtain activity | LinkedIn was slow to process the post. Retry it from the calendar a minute later. |
| Carousel can only be created with 2 or more images and no videos. | Add a second picture or remove the video, or turn off the carousel setting. |
| Comments can only contain text. | Remove pictures from the comment parts. Only the first part can have media. |
Good to know
- A video post can only have that one video.
- A carousel needs at least 2 pictures and no video.
- Comments under a LinkedIn post can only be text.
- GitHub Copilot only posts when you ask. Ask for a draft to check the post in BrokenPost first.
Questions people ask
Can GitHub Copilot post to LinkedIn directly?
Yes, through BrokenPost. Connect LinkedIn in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish LinkedIn posts.
Does GitHub Copilot know the LinkedIn limits?
Yes. GitHub Copilot reads LinkedIn's rules from BrokenPost before it writes: 3,000 characters and pictures, 1 video, or a carousel of 2 or more pictures. BrokenPost checks again before it posts.
Can GitHub Copilot schedule LinkedIn posts for later?
Yes. Give a day and time, like "Friday at 6pm", and the post 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.
Which LinkedIn settings can GitHub Copilot set?
Post pictures as a carousel; Carousel name.
Can GitHub Copilot post a LinkedIn thread or comments?
Yes. Ask for a thread or a first comment and BrokenPost posts each part as a reply, right after the first one.
Can I schedule posts to a LinkedIn company page?
Yes. Connect the page when you add LinkedIn. You can post to your profile and every page you manage from one calendar.
Can I schedule a LinkedIn carousel?
Yes. Add 2 or more pictures and turn on "post as images carousel". You can also give the carousel a name.
More apps with GitHub Copilot
Post to LinkedIn with other AI
Write once. Post everywhere.
Start free with BrokenPost. Connect your apps and your AI in a few minutes.