How to post to Instagram from GitHub Copilot

To post to Instagram from GitHub Copilot, add PostWire as an MCP server in VS Code (Chat: Open Customizations, MCP Servers, Add Server, HTTP, https://postwire.io/api/mcp, saved under Copilot Global), connect your Instagram Business or Creator account once, and ask "post ./launch/demo.mp4 to Instagram as a Reel with a caption from CHANGELOG.md". Copilot writes the caption with generate_posts, shows it to you, and publishes with post_to_social or queues with schedule_post: one photo is a feed post, one video is a Reel, and 2 to 10 photos and videos are a carousel. PostWire posts through Meta's official Instagram API with its own approved app, so you need no Meta developer app, and Log in with Instagram works without a Facebook Page. The free plan includes Instagram: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card.

VS Code asks before Copilot runs a PostWire tool, so nothing reaches your Instagram until you allow it. A scheduled post goes out from PostWire's servers with the editor closed. PNG screenshots and AI-generated images work as they are: PostWire converts them to the JPEG Instagram's API takes.

Updated . Written from PostWire's own code; vendor prices read on Nov 14, 2026. Live networks: TikTok, Instagram, YouTube, LinkedIn (personal profiles), Facebook Pages, Bluesky, Mastodon, Telegram, Discord, and X on paid plans.

Set it up and post, step by step

Prompt to copy once Instagram is connected: Upload ./launch/slide-1.png, slide-2.png and demo.mp4, write an Instagram caption for the v2.4 launch from CHANGELOG.md, show it to me, and schedule the carousel for Tuesday at 6pm.

  1. Add PostWire to Copilot

    In VS Code, pick Copilot as the session target of the chat. Open the Command Palette and run Chat: Open Customizations, choose MCP Servers and press Add Server (+). Choose HTTP, enter https://postwire.io/api/mcp, name the server postwire, and save it under Global, then Copilot Global. The URL is PostWire's hosted server: there is nothing to install and no Node process to run.

  2. Sign in

    PostWire's server takes an OAuth sign-in or a key. When VS Code asks you to sign in (or from Authenticate in the server's … menu), your browser opens PostWire's page: your email and a 6-digit code, which also creates a free PostWire account if you have none, with no password and no card. If no sign-in prompt appears in your setup, use your key instead: the config block is on the Copilot config page.

  3. Connect Instagram

    Ask Copilot "connect my Instagram". It calls create_connect_link and prints a one-hour link; open it and choose Log in with Instagram (no Facebook Page needed) or connect through a Facebook Page you manage. Instagram's API publishes only from Business or Creator accounts — switching a personal account is free, in the Instagram app's settings. PostWire never sees your password.

  4. Give the post a photo or a video

    Instagram refuses text-only posts, and it fetches media from a link, so a file in your repo goes through an upload page: Copilot asks for one (create_upload_link), you pick the file there, and get_uploaded_file hands Copilot its link (up to 100 MB on the free plan and 1 GB on paid plans). A public https link works too, as photo_url or video_url, or a list in media for a carousel.

  5. Ask for the caption

    "Write the Instagram caption for the launch from CHANGELOG.md." Copilot reads the file from your workspace and calls generate_posts, which returns a draft and publishes nothing: the hook in the first line, a short caption, at most 5 hashtags at the end, within Instagram's 2,200 characters. Ask for the TikTok or LinkedIn version in the same sentence and each comes back written for its own network.

  6. Post now, or schedule it

    Say "post it" and Copilot calls post_to_social. Say "schedule it for Tuesday at 6pm" and it calls schedule_post, up to 365 days ahead, or with run_at: "next_slot" for your next free posting hour. Two or more items in media make a carousel; Instagram crops every slide to the first one's shape. VS Code shows the call with its inputs; press Allow Once to run it. This is the call:

    {
      "name": "schedule_post",
      "arguments": {
        "platforms": ["instagram"],
        "per_platform": { "instagram": {
          "text": "v2.4 is here 🚀 Dark mode, 2x faster sync, 14 fixes. Swipe for the demo 👉 #buildinpublic #saas"
        } },
        "media": [
          { "url": "https://postwire.io/m/…/slide-1.png", "type": "image" },
          { "url": "https://postwire.io/m/…/slide-2.png", "type": "image" },
          { "url": "https://postwire.io/m/…/demo.mp4",    "type": "video" }
        ],
        "run_at": "2026-11-17T18:00:00-05:00"
      }
    }
  7. Check that it went out

    Instagram processes a video before it can be published. If that takes longer than the call can wait, the result says processing and PostWire publishes it on its own a few minutes later; get_post_status or list_scheduled_posts shows when it is live.

"What's scheduled on Instagram?" calls list_scheduled_posts and "cancel Tuesday's post" calls cancel_scheduled_post; the same queue is on the dashboard's Queue page. Prefer to set it up by hand? Open the dashboard, connect Instagram under Accounts and copy your key under API & MCP. The general editor setup: PostWire in VS Code.

Ways to post to Instagram from GitHub Copilot, side by side

How each service plugs into Copilot and what it costs to start, read on its own Copilot, Instagram and pricing pages on Nov 14, 2026.

ServiceHow it plugs into CopilotSign-inInstagram on the free startLowest monthly plan
PostWireAdd Server, HTTP, https://postwire.io/api/mcp, or a block in ~/.copilot/mcp-config.jsonOAuth sign-in in the browser, or a key header read from an environment variableYes — free plan with the MCP server: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card$19/mo — 3 businesses, every network in each post
Upload-PostA servers block in .vscode/mcp.json with its MCP URLAn API key in a headerFree plan of 10 uploads a month; its free-plan network list names Instagram$24/mo — 5 profiles
BlotatoA block in a workspace .mcp.json or ~/.copilot/mcp-config.json with its MCP URLA blotato-api-key header, or OAuth7-day trial with a card; the trial does not include the API or the MCP server$29/mo — 20 social accounts

Checked on Nov 14, 2026 (2026-11-14) on each vendor's own pricing or docs page, linked in the first column and below. Monthly billing in USD unless noted. "Not listed" means we could not find it on their page, not that it is missing.

Where PostWire is ahead

  • Copilot can post on the free plan: PostWire's MCP server is part of the free plan, 10 posts a month, no card and no time limit. Blotato's 7-day trial leaves out its API and MCP server.
  • The lowest monthly price here: $19 a month for 3 businesses, each with its own Instagram account. Upload-Post $24 for 5 profiles, Blotato $29 for 20 accounts.
  • A file in your repo gets to Instagram: create_upload_link gives Copilot an upload page for the PNG or MP4 in your workspace, so the file needs no public URL of its own first.
  • PNG straight from a screenshot or an image model works: PostWire converts it to the JPEG Instagram requires.
  • The caption is written for Instagram: generate_posts writes a hook-first caption with at most 5 hashtags and, from the same launch, the TikTok caption and the YouTube title in one call.
  • A slow video does not fail the post: when Instagram is still processing a Reel, PostWire publishes it on its own once it is ready.
Sources, all read on Nov 14, 2026:
  • Upload-Post — Post to Social Media with GitHub Copilot ("Add one block to mcp.json and Copilot Chat gains 50 tools"; .vscode/mcp.json with "servers", type http, url https://mcp.upload-post.com/mcp and an "Authorization: ApiKey" header; "Start free, no card"; Instagram in its platform list): www.upload-post.com/copilot-social-media/
  • Upload-Post llms-full.txt (Free plan: 10 uploads a month, no credit card, "platforms without TikTok (Instagram, LinkedIn, YouTube, Facebook, …)"; Basic $24 a month, 5 profiles): www.upload-post.com/llms-full.txt
  • Upload-Post — Instagram MCP server ("publish Reels, photos, carousels and Stories to Instagram"; "The video and cover have to be at public URLs. A hosted MCP server cannot read files on your computer"): www.upload-post.com/mcp/instagram/
  • Blotato — How to Post to Social Media From GitHub Copilot ("GitHub Copilot agent mode reads MCP servers from ~/.copilot/mcp-config.json or a workspace .mcp.json"; type http, url https://mcp.blotato.com/mcp, "authenticate with either a blotato-api-key header or OAuth"): www.blotato.com/ai-agent/github-copilot
  • Blotato pricing ("There's no free plan, but every plan includes a 7-day free trial. A card is required"; "Does the free trial include the API and MCP? No."; Starter $29 a month, 20 social media accounts): www.blotato.com/pricing
  • VS Code docs — Use Agent Skills in VS Code (Copilot harness: project skills in .github/skills/, personal skills in ~/.copilot/skills/; SKILL.md with name and description; "Skills can appear as slash commands in chat and can be loaded automatically when the request matches their description"; argument-hint; disable-model-invocation): code.visualstudio.com/docs/agent-customization/agent-skills
  • VS Code docs — Prompt files ("Authoring a .prompt.md file in a Copilot session doesn't make that file runnable by the Copilot harness. To reuse a workflow in that harness, create a skill"; "The Local harness is deprecated and will be removed in February 2027"): code.visualstudio.com/docs/agent-customization/prompt-files
  • VS Code docs — Add and use MCP servers (Chat: Open Customizations, MCP Servers, Add Server, HTTP, Global > Copilot Global): code.visualstudio.com/docs/agent-customization/mcp-servers

Make it a slash command: an /instagram-post skill for Copilot

Once the first post works, save the routine so nobody on the team retypes it. In Copilot that is an Agent Skill: a folder with a SKILL.md file. VS Code's docs say a skill appears as a slash command in chat and can also load on its own when a request matches its description. Save this as .github/skills/instagram-post/SKILL.md in the repo:

---
name: instagram-post
description: Draft and schedule an Instagram
  post (photo, Reel or carousel) with the
  PostWire MCP server. Use when asked to post
  or announce something on Instagram.
argument-hint: [what to post] [files] [when]
---
# Instagram post

1. Instagram needs a photo or a video. For a
   file in the repo, call create_upload_link,
   ask me to upload it, then call
   get_uploaded_file.
2. Call generate_posts for the caption: hook
   in the first line, at most 5 hashtags, all
   at the end.
3. Show me the caption and the media list,
   and wait for my yes.
4. Call schedule_post with platforms
   ["instagram"]. Never call post_to_social.
5. Reply with the time it is scheduled for.

Then /instagram-post the v2.4 launch, ./launch/demo.mp4, Tuesday 6pm in Copilot Chat runs the whole routine.

WhatRule in VS Code's docs
Where the skill lives.github/skills/ in the repo for the team; ~/.copilot/skills/ for you in every workspace
nameLowercase letters, numbers and hyphens, up to 64 characters, and the same as the folder name; otherwise the skill does not load
descriptionUp to 1,024 characters: what the skill does and when to use it, which is how Copilot decides to load it
argument-hintThe hint shown in the chat box after you type the slash command
disable-model-invocation: trueThe skill runs only when you type the slash command, never on Copilot's own initiative
A .prompt.md prompt fileDoes not run in the Copilot harness: prompt files belong to the Local harness, which is deprecated and due for removal in February 2027

The same docs list where a skill works beyond the editor: GitHub Copilot in VS Code, GitHub Copilot CLI and the GitHub Copilot app. A skill gives Copilot instructions; the PostWire server still has to be added and signed in on that machine. Sources: VS Code's Use Agent Skills in VS Code and Prompt files, both dated Nov 11, 2026 and read Nov 14, 2026.

What to say in Copilot Chat, and what Instagram receives

You sayCopilot callsInstagram receives
"Post ./assets/team.png with a caption about the open day"create_upload_link, generate_posts, then post_to_socialA feed post with the photo
"Post ./launch/demo.mp4 as a Reel"create_upload_link, then post_to_social with video_urlA Reel
"Make a carousel from the three slides and the demo"post_to_social with 4 items in mediaOne carousel of 3 photos and a video
"Schedule it for Tuesday at 6pm"schedule_post with run_atThe same post, at that time
"Post this week's offer every Friday at noon"create_recurring_post (paid plans)The post, every Friday at noon
"Which of my Instagram posts did best?"get_post_performanceNothing: Copilot reads the likes and comments Instagram reports

Source: PostWire's MCP server and Instagram publisher, read Nov 14, 2026. Every Instagram tool and limit: Instagram MCP server.

Instagram's rules Copilot works within

  • Business or Creator accounts: personal accounts cannot publish through Instagram's API.
  • Every post needs a photo or a video: one photo is a feed post, one video a Reel, 2 to 10 items (photos, videos or a mix) a carousel.
  • JPEG only, for Meta: PostWire converts PNG, WebP and other still images to JPEG when it publishes, so screenshots and AI-generated images work as they are.
  • Captions up to 2,200 characters; Stories carry no caption through the API.
  • Videos are processed first: Instagram needs a moment before a Reel can go live, and PostWire finishes the publish on its own when it is ready.
  • Stories and trial reels go through PostWire's REST API with "options": {"instagram": {"post_type": "story"}} or {"trial_reel": true}, with the same connected account: see network options.

More on the API itself: Does Instagram have an API?

What Starter ($19 a month) adds for Instagram

  • No limit on the queue: ask Copilot to schedule a month of Reels and carousels in one go, instead of 3 at a time.
  • 25 recurring posts: create_recurring_post posts "this week's offer" every Friday, with versions of the caption used in turn.
  • 3 businesses, each with its own Instagram account and its own networks: name the business in the request and Copilot posts to that account.
  • Every network in each post: the Reel also goes to TikTok, YouTube Shorts and Facebook from one request, with files up to 1 GB.

Plans and prices: pricing. Paid plans have a 14-day refund.

What it does not do

Copilot with PostWire publishes and schedules photos, Reels and carousels, and reports how your own posts did. It does not read or answer comments or DMs, it does not post a first comment on Instagram, and it does not tag people, products or a location. Stories and trial reels are a REST option today, not a field of the MCP tools. A skill guides Copilot and does not bind it: VS Code still shows each PostWire call before it runs. This guide is for GitHub Copilot in VS Code; Microsoft 365 Copilot and the Copilot apps in Windows and Edge are different products, and this page makes no claim about them. An organization can also restrict which MCP servers Copilot may use, in which case your admin decides.

Questions people ask

Can GitHub Copilot post to Instagram?

Yes, in VS Code with an MCP server. Copilot has no Instagram access of its own; with PostWire added as an MCP server under Copilot Global and your Business or Creator account connected once, it writes the caption and publishes or schedules photos, Reels and carousels when you ask.

Do I need a Facebook Page or a Meta developer app?

No developer app: you connect to PostWire's approved Meta app. No Facebook Page either if you choose Log in with Instagram; the account must be a Business or Creator account.

Can Copilot post a Reel or a carousel?

Yes. One video is a Reel, and 2 to 10 photos and videos in media are a carousel; Instagram crops every slide to the first one's shape. Stories and trial reels are set through the REST API (options.instagram.post_type "story", or trial_reel true).

How does Copilot get an image from my repo to Instagram?

Instagram fetches media from a link, so Copilot asks for an upload page with create_upload_link; you pick the file there and Copilot gets its link for the post. A file that is already online goes as its public https link.

How do I make an Instagram posting slash command in Copilot?

Save the routine as an Agent Skill: a SKILL.md file in .github/skills/instagram-post/ (or ~/.copilot/skills/instagram-post/ for every workspace) with a name that matches the folder and a description of when to use it. VS Code's docs say skills appear as slash commands in chat, so /instagram-post runs it. A .prompt.md prompt file does not run in the Copilot harness.

Can Copilot schedule Instagram posts?

Yes. It calls schedule_post with a time up to 365 days ahead, or "next_slot" for your next free posting hour, and PostWire publishes it at that time with VS Code closed. The free plan keeps 3 posts waiting at once; paid plans have no such limit.

Can I stop Copilot from publishing without asking me?

Yes. VS Code shows each PostWire call and waits for you to allow it. The tools list of the postwire entry in ~/.copilot/mcp-config.json is an allowlist: leave post_to_social out and Copilot can only draft and schedule, and a scheduled post can be cancelled from the Queue page before it goes out.

How much does it cost?

The free plan includes Instagram and the MCP server: 1 business, 10 posts a month, 5 AI drafts a day, 2 networks per post, no card. Starter is $19 a month for 3 businesses, with no limit on the queue and 25 recurring posts; Pro is $29 for 10. Paid plans have a 14-day refund. GitHub Copilot itself is billed by GitHub.