You can post to YouTube with Claude Code by adding the SpecialX MCP server and connecting your channel with Google sign-in. Claude Code then uploads a video file to your channel, sets the title and description from the caption you give it, and publishes it as public or private, either now or at a scheduled time. YouTube accepts video only, so this is the platform for finished renders, demos and Shorts.
claude mcp add --transport http specialx https://specialx.ai/api/mcp, or add the same server under mcpServers in ~/.claude.json. Sign in to SpecialX when the browser opens.The publishing tool takes one caption, and SpecialX turns it into two YouTube fields:
So write the caption with the title first. A good request looks like: "Upload renders/onboarding-demo.mp4 to YouTube. Caption: 'How to set up your first project in 60 seconds' then a blank line and three sentences of description." If you send no caption at all, YouTube receives a placeholder title, so always give one.
Videos are filed in the People & Blogs category and declared as not made for kids.
Uploads are public unless you ask otherwise. Say "upload it as private" and Claude Code sets visibility to private, which keeps the video on your channel but out of search and feeds until you change it in YouTube Studio. Unlisted is not an option through the tool; switch a private video to unlisted in Studio if you need a shareable link.
YouTube needs the video bytes, and SpecialX fetches them from a public URL. For a file on your disk, Claude Code calls get_upload_url with video/mp4 (or your file's type), PUTs the file to the returned link within the hour, and passes the public URL to post_to_social with the platform set to YouTube. SpecialX then downloads it and runs YouTube's resumable upload.
If you have no video yet, ask Claude Code to make one with generate_video. Choose a vertical aspect ratio for a Short or a wide one for a regular upload, and it will post the finished clip when get_task reports it done.
When the upload finishes, the reply includes a youtu.be link to the new video. For scheduled or slower uploads, ask Claude Code for your recent posts: each one shows as published, scheduled or failed, and failures carry the message YouTube returned.
There is no separate Shorts switch. YouTube decides whether an upload appears as a Short from the video itself, chiefly its vertical shape and length. Render vertical, keep it short, and upload it the same way as any other video. Adding #Shorts to the caption is optional.
Include a time with a zone, for example "publish Tuesday 15:00 America/New_York". SpecialX holds the post on its social calendar and uploads it at that time, so the video does not exist on YouTube until then. Ask Claude Code for the scheduled list to review it, or cancel an upload before it runs to get the credit back.
Custom thumbnails, tags, playlists, premieres and made-for-kids changes are not exposed. Set those in YouTube Studio after the upload. Each upload costs one SpecialX credit, refunded if YouTube rejects it.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialYes, through an MCP server such as SpecialX that holds your YouTube connection. Claude Code passes a video URL and caption, and SpecialX uploads it to your channel.
Start the caption with the title. SpecialX uses the first 100 characters of the caption as the YouTube title and the whole caption as the description.
Not directly. The tool supports public and private. Upload as private and change it to unlisted in YouTube Studio.
No. YouTube accepts video only, and SpecialX rejects image posts to YouTube before spending a credit.
Not through the SpecialX tool. Upload the video first, then add the thumbnail, tags and playlist in YouTube Studio.