Instagram · from Cursor
Post to Instagram from Cursor.
Instagram needs a picture, and the right shape of one. An agent with a terminal can measure the file and fix it before anything is sent.
Instagram refuses a caption on its own, so a post from Cursor starts with the picture — and in an editor the picture is a file somewhere in the project: a product screenshot, a social card, a frame exported from a design. The agent cannot attach that file to a tool call directly. It asks our upload tool for a target, sends the bytes with a terminal command, and passes the public link it gets back, which is what Instagram then fetches. A carousel is the same thing done for up to 10 files.
What tends to go wrong is not the upload but the shape. Instagram’s feed takes pictures from a slight portrait to a wide landscape, and nothing taller or wider. An agent in Cursor has something a chat app does not: a terminal, where it can read an image’s dimensions before uploading and crop a copy if the shape is out of range. Asking for that check is one sentence. Posting also needs a professional Instagram account, Business or Creator.
Asking Cursor 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.
post assets/social/launch-card.png to instagram with a short caption about the release — check the aspect ratio first and crop a copy if it won’t pass
assets/social/launch-card.png
The card is wider than Instagram takes, so I cropped a copy and uploaded that:
The original file is unchanged. Approve the publish call and the cropped copy goes out.
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
Cursor, on the other networks
Instagram, from the other agents
- Instagram from ChatGPT
- Instagram from Claude
- Instagram from Claude Code
- Instagram from OpenClaw
- Instagram from Hermes
- Instagram from Codex
- Instagram from Claude Cowork
- Instagram from Gemini CLI
- Instagram from VS Code
- 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 Cursor
Measured before it is sent
The agent can read an image’s width and height from the terminal and crop a copy that fits, which our own check does not do for Instagram yet.
A carousel from a folder
Point the agent at a folder of screenshots and each file is uploaded in turn, then published as one carousel in the order you asked for.
Professional accounts only
Instagram allows API publishing on Business and Creator accounts; a personal one needs switching in the Instagram app before it can connect.
Live for good once published
No API can delete an Instagram post, ours included, so approving the publish call in Cursor is the last chance to look at the caption.
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 Cursor 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 banner that is too wide, the screenshot that is too tall
Repositories are full of images made for somewhere else. The banner at the top of a README is a long thin strip, a full-page browser capture is several screens tall, and a phone screenshot is taller than Instagram’s feed allows. Instagram refuses anything outside its range, and the error comes back with empty brackets where the ratio should be, which reads like a format problem. From Cursor the fix is cheap, because the agent can measure the file and crop a copy in the terminal before uploading — ask it to, since nothing on our side checks the shape first.
A limitation of Instagram from Cursor itself — it stays true whoever publishes for us. From documentation, checked 2026-11-23.
When this is the wrong tool
If your Instagram is mostly Stories or Reels, this is not the tool: it publishes feed posts and carousels. And nothing here crops a picture for you, so if the agent is not asked to check the shape, an out-of-range image is refused by Instagram rather than fixed on the way.
Questions people actually ask
Can Cursor post an image from my repository to Instagram?
Yes, with a professional Instagram account connected. The agent requests an upload link, sends the file from the terminal, and publishes with the public link it receives. Cursor asks you to approve those steps unless you have allowed them to run.
Why did Instagram refuse the screenshot Cursor sent?
Most often the shape. A phone screenshot or a full-page capture is taller than Instagram’s feed allows, and a banner can be too wide. Ask the agent to measure the image and crop a copy inside the range, then post that copy.
Can Cursor delete an Instagram post it published?
No. Instagram has no API route for deleting a published post, for us or for anyone else. If the agent published something by mistake, remove it in the Instagram app yourself.
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.