GitHub Copilot + Instagram

Post to Instagram from GitHub Copilot

Ask GitHub Copilot to write and schedule your Instagram posts. BrokenPost connects the two, follows Instagram's rules and posts at the time you pick.

How to connect GitHub Copilot to Instagram

  1. 1

    Connect Instagram in BrokenPost. Connect an Instagram business or creator account, either through its Facebook Page or with Instagram login.

  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 Instagram account.

  3. 3

    It reads Instagram's rules and settings from BrokenPost, so the post fits Instagram'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 Instagram and it shows on your calendar.

Instagram limits GitHub Copilot follows

GitHub Copilot reads these rules from BrokenPost before it writes, so the post fits the first time.

Characters2,200 characters
MediaAt least 1 picture or video, up to 10 in a carousel
CarouselUp to 10 pictures or videos
StoriesPictures or videos, each one becomes its own story
Trial Reels1 video only
Text-only postsNot allowed

Instagram settings you can ask for

Say them in plain words, like "post or story", and GitHub Copilot sets them on the post.

If Instagram rejects a post

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

What you seeHow to fix it
Aspect ratio not supported, must be between 4:5 to 1.91:1Crop the picture to a size between portrait 4:5 and landscape 1.91:1. Square always works.
Instagram carousel should have between 2 and 10 media attachmentsA carousel needs 2 to 10 items. Remove extras or post them as a second carousel.
Collaborators are not allowed for carouselInstagram only takes collaborators on single posts and Reels. Remove them or post one item.
Caption is too longInstagram allows 2,200 characters. Shorten the caption or move details to the first comment.
Image is too largeExport the picture at a smaller size and upload it again.
Should have at least one mediaInstagram never takes text-only posts. Add a picture or video.

Good to know

Questions people ask

Can GitHub Copilot post to Instagram directly?

Yes, through BrokenPost. Connect Instagram in BrokenPost, connect BrokenPost to GitHub Copilot, and GitHub Copilot can schedule, draft or publish Instagram posts.

Does GitHub Copilot know the Instagram limits?

Yes. GitHub Copilot reads Instagram's rules from BrokenPost before it writes: 2,200 characters and at least 1 picture or video, up to 10 in a carousel. BrokenPost checks again before it posts.

Can GitHub Copilot schedule Instagram 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.

What if I don't have a picture or video?

Instagram needs media on every post. GitHub Copilot can upload one from a link, use your media library, or make a new picture or video for you.

Which Instagram settings can GitHub Copilot set?

Post or story; Collaborators to tag; Trial Reel and how it graduates; Music for a single video Reel.

Can GitHub Copilot post an Instagram 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.

Do I need an Instagram business account?

You need a business or creator account. You can connect it through a Facebook Page or straight with Instagram login.

Can I schedule Instagram Stories?

Yes. Set the post type to story. Each picture or video you add is posted as its own story.

More apps with GitHub Copilot

Post to Instagram with other AI

All about scheduling Instagram posts

Write once. Post everywhere.

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