To post to Instagram with Claude Code, connect the SpecialX MCP server and link a professional Instagram account. After that, Claude Code can take a video or image from your project, upload it, and publish it as a Reel, a photo or a carousel, either right away or at a time you name. It runs in your terminal, so the media can come from a build folder or a design export without a manual upload step.
Add the server with claude mcp add --transport http specialx https://specialx.ai/api/mcp and approve the SpecialX sign-in in your browser the first time a tool runs.
Then say "connect Instagram". Claude Code calls connect_social_account and prints a link to instagram.com. SpecialX always shows the Instagram login form on that page, so you pick exactly which account to authorize instead of whichever one your browser happens to be logged into. Approve, and list_social_accounts will show the handle. Repeat for each account you manage; when several are connected, Claude Code passes account_id to choose one.
Suppose your project has out/promo.mp4. Ask: "Post out/promo.mp4 to Instagram as a Reel with a caption about the spring sale."
get_upload_url with the video's MIME type.post_to_social with the returned public URL and your caption.list_social_posts shows the post and its link once it is live.Instagram now publishes feed videos as Reels, and SpecialX follows that rule for every video it sends.
manual to decide yourself in the Instagram app whether it graduates, or auto to let Instagram share it with followers when it performs well.Stories are not available through the publishing tool, and there is no private mode on Instagram; every post is public.
Claude Code can handle batch work. Point it at a folder and a list of captions and ask for one post per day at 9am in your time zone. Each call to post_to_social carries a scheduled_at value with an explicit offset, and the posts land on the SpecialX social calendar, where they publish automatically.
To check the plan, ask for scheduled Instagram posts; list_social_posts returns them in the order they will go out. Removing one with cancel_social_post refunds its credit.
Claude Code writes the caption, so you can steer it like any other text task: ask for a hook in the opening line, a short body and a handful of hashtags at the end. SpecialX passes the caption to Instagram exactly as written, line breaks included.
Claude Code can make it. Ask for a vertical video with a named model, or a square product image, and it calls generate_video or generate_image, polls get_task until the file is ready, and posts the result. Generation is charged at that model's credit rate, separate from the posting credit.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialYes. Any video Claude Code posts through SpecialX is published as a Reel. It can also post trial reels that are shown to non-followers first.
No. SpecialX connects through Instagram login, which works for Business and Creator accounts without a Page. You do need a professional account rather than a personal one.
No. The SpecialX publishing tool supports photos, carousels, Reels and trial reels. Stories have to be posted in the Instagram app.
It asks SpecialX for a presigned upload link, sends the file there, and uses the returned public URL in the post. The link expires after one hour.
The post is marked failed, the error is returned to Claude Code, and the posting credit is refunded. You can fix the media or caption and retry.