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. 1

    Connect LinkedIn in BrokenPost. Sign in with LinkedIn. Connect your own profile, or any company page you are an admin of.

  2. 2

    In BrokenPost, open Plugins and copy your MCP URL.

  3. 3

    Add the config below to .vscode/mcp.json in your project root.

  4. 4

    Start the server in VS Code and sign in to BrokenPost.

  5. 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.

What happens next

  1. 1

    You ask in Copilot agent mode in VS Code, in plain words.

  2. 2

    GitHub Copilot lists the channels you connected in BrokenPost and picks your LinkedIn account.

  3. 3

    It reads LinkedIn's rules and settings from BrokenPost, so the post fits LinkedIn's limits before it is written.

  4. 4

    If you shared a picture, a video or a link to one, it uploads it to your media library.

  5. 5

    It creates the post as scheduled, as a draft, or to go out now, and gives you a preview link.

  6. 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.

Characters3,000 characters
MediaPictures, 1 video, or a carousel of 2 or more pictures
Video1 per post, no other media with it
Carousel2 or more pictures, no video
CommentsText only
AccountsPersonal 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.

If LinkedIn rejects a post

GitHub Copilot sees the same message and can fix the post for you.

What you seeHow to fix it
Resource is forbiddenLinkedIn refused the post, often because the account lost admin rights on the page. Check your page role, then reconnect LinkedIn.
Unable to obtain activityLinkedIn 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

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

All about scheduling LinkedIn posts

Write once. Post everywhere.

Start free with BrokenPost. Connect your apps and your AI in a few minutes.