Claude Code posts to Threads through the SpecialX MCP server. Once the server is added and your Threads profile is authorized, Claude Code can upload images or a video from your machine and publish them with your text, immediately or on a schedule. Threads accepts carousels of up to 20 images through SpecialX, double the Instagram limit, which suits screenshot walkthroughs and photo dumps.
Run claude mcp add --transport http specialx https://specialx.ai/api/mcp. If you keep MCP servers in a config file instead, the equivalent entry goes in ~/.claude.json. The first call opens a SpecialX login in your browser.
Ask Claude Code to connect Threads. You get a link to the Threads authorization page; sign in with the profile you post from and approve. SpecialX exchanges that for a long-lived token and refreshes it whenever it posts. A quick "which social accounts are connected?" confirms it.
Threads posts from SpecialX always include media, so plan each one as:
Text-only posts are not supported by the tool, and neither are replies or quote posts.
Here is where running in a terminal pays off. Say you have twelve screenshots of a new onboarding flow in docs/onboarding/. Ask:
"Post the PNGs in docs/onboarding/ to Threads as one carousel, sorted by filename, with a two-sentence intro."
Claude Code lists the folder, calls get_upload_url for each image, PUTs the files (each link lasts an hour), and calls post_to_social with the platform threads, your intro as the caption, and the twelve public URLs in media_urls. Threads gets one post with all twelve images in order.
Add a time and zone to any request. The scheduled_at field insists on an offset such as +01:00 or Z, so an ambiguous time is rejected instead of firing at the wrong hour. The post appears on the SpecialX social calendar and publishes without Claude Code needing to be open.
A practical routine is to ask Claude Code, once a week, to read your notes file, draft five Threads posts, generate or pick an image for each, and schedule them across the week. Then ask for the scheduled list to check the plan and cancel anything you do not like.
If a post needs a picture you do not have, Claude Code can call generate_image and wait on get_task before posting. For motion, generate_video produces a clip you can post as the single video. Generation credits depend on the model you pick.
The same folder of screenshots can go to several networks, but each has its own ceiling: 20 images on Threads, 10 on Instagram and 4 on X. SpecialX does not quietly trim an oversized set; it returns an error naming the platform's maximum. So when you cross-post, ask Claude Code to pick the strongest images for each platform, for example all twelve for Threads, the best ten for Instagram and four highlights for X, and make one post_to_social call per platform.
Connect each Threads profile you manage. When more than one is connected, Claude Code must say which to use, and it does that by passing the account id from list_social_accounts. If it does not, the tool stops and lists the options rather than posting to the first one it finds.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialYes, with an MCP server such as SpecialX connected. SpecialX holds the Threads authorization and Claude Code calls its publishing tool.
Up to 20 images in a carousel through SpecialX. A video post carries a single clip.
No. The SpecialX tools publish and schedule posts. Replies are handled in the Threads app.
No. Scheduled posts are stored on the SpecialX calendar and published by SpecialX at the set time, whether or not your terminal is running.
One SpecialX credit per published or scheduled post, refunded if Threads rejects it or you cancel. Generating images or video uses extra credits for the model.