Instagram · from VS Code
Post to Instagram from VS Code.
Instagram needs a picture, and the picture has to reach the tool as a file. Pasting it into the chat panel is not the same thing.
Instagram will not take a caption on its own, so every post from VS Code starts with an image, and the quickest way to show Copilot an image is to paste it, drag it in or use Screenshot Window. That works for what those features are for: the model can see the picture and write about it, as long as the model supports images. What nothing in VS Code’s documentation describes is that picture being handed on to an MCP tool as a file — and Instagram needs a file it can fetch from a public link.
The route that does work goes through the workspace. Save the image into the project, and the agent can ask our upload tool for a target, send the bytes from the terminal, and publish with the public link it gets back — one picture, or a carousel of up to 10. The caption has 2,200 characters of room, the account has to be a professional one, Business or Creator, and the picture has to sit inside Instagram’s aspect ratio range, which a phone screenshot often does not.
Asking VS Code for an Instagram post
The Instagram ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.
Set me up — what do you need?
Just the accounts. Connect them in the browser once and I can publish from here after that.
Done, connected
I will tell you before publishing if a network cannot take what you wrote.
Good. Drafting the launch note now
Send it over and I will check it before anything goes out.
the screenshot is in assets/social/dashboard.png, i pasted it above too — caption it from what you see and post it to instagram
one pasted image · the same file on disk
Wrote the caption from the pasted image and uploaded the file from disk:
The file in the workspace is what Instagram gets. Allow the publish call to post it.
What Instagram allows
Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.
- Caption limit
- 2,200 characters
- Post with no image or video
- Refused by Instagram
- Reply chains
- No — the parts are joined into one post
- Images or video per post
- 10
- Image formats
- Anything we accept for upload
VS Code, on the other networks
Instagram, from the other agents
- Instagram from ChatGPT
- Instagram from Claude
- Instagram from Cursor
- Instagram from Claude Code
- Instagram from OpenClaw
- Instagram from Hermes
- Instagram from Codex
- Instagram from Claude Cowork
- Instagram from Gemini CLI
- Instagram from Windsurf
- Instagram from Cline
- Instagram from Kilo Code
- Instagram from Zed
- Instagram from OpenCode
- Instagram from Amp
- Instagram from Goose
- Instagram from Grok
- Instagram from Perplexity
- Instagram from Le Chat
- Instagram from Raycast
- Instagram from LM Studio
- Instagram from Warp
- Instagram from Kimi Code
- Instagram from Junie
- Instagram from DeepSeek
Publishing to Instagram from VS Code
Seen versus sent
A pasted image gives the model something to describe. A file saved in the workspace gives the agent something to upload, and only the second reaches Instagram.
Caption written from the picture
Because the model can see a pasted screenshot, it can write the caption from it — then post the saved copy of the same file, so the words and the image match.
A carousel from saved files
Save several images into one folder and ask for a carousel: each is uploaded in turn and they are published together, in the order you name them.
No deleting it later
Instagram has no API route for removing a published post, so whatever Copilot publishes stays up until you take it down in the Instagram app.
How it works
Connect once
~2 minLink the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.
ChatGPT
Claude
Cursor
Ask, in your own words
one sentenceTell VS Code to publish to Instagram, now or on a day you name. No dashboard, no tab switch.
Read the receipt
per networkOne line per network — what landed, what failed and why, and what genuinely could not be determined.
The picture in the chat is not the picture in the tool
VS Code makes it easy to show the agent an image — paste it, drag it into the chat panel, or capture a window — and the model sees it if it supports images. Its documentation says nothing about that image being passed on to an MCP tool, and our publishing tool cannot receive a picture the editor never sent. So a request to post the screenshot you just pasted can stall, or end with the agent asking you for a link. Save the file into the workspace first; from disk, the upload tool and a terminal command turn it into a public link Instagram can fetch.
A rule of Instagram from VS Code, not ours and not the network’s. From documentation, checked 2026-11-23.
When this is the wrong tool
If your Instagram is Stories and Reels, this publishes feed posts and carousels only. And if the image exists only on your clipboard, posting from VS Code takes the extra step of saving it into the workspace; a chat app that hands attachments to the tool directly is the shorter road for that kind of post.
Questions people actually ask
Can I paste a screenshot into VS Code chat and post it to Instagram?
Not directly. The pasted image is context for the model, and nothing documents VS Code passing it on to an MCP tool. Save the file into the workspace and the agent can upload it from there and post it.
Does posting to Instagram from VS Code need a business account?
A professional one, Business or Creator. Instagram’s API publishes nothing for personal accounts. Switching to Creator is done in the Instagram app, and after that the account connects in 1Social like any other.
Why did Instagram refuse the phone screenshot Copilot posted?
Most likely the shape. A phone screenshot is taller than Instagram’s feed allows, and the error Instagram returns does not say so clearly. Ask the agent for a copy cropped closer to square, then post that copy instead.
Something else? Ask us — a person answers.
Read next
Start where you already work.
Connect an account and post your first update in about two minutes. Every plan starts with a free trial.
Posts go out through each network’s official API — not scraping.