Post to YouTube from Claude Code
Claude Code is Anthropic's coding agent. It runs in your terminal and in VS Code and JetBrains; developers use it to work on code and to call tools over MCP. A video with a title, a description and the visibility you choose; YouTube takes no text-only post.
Connect Claude Code to Kreatix
Sign in with Kreatix
No key to copy: paste the address, sign in to Kreatix and press Allow.
- Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp
- Start claude and type /mcp. Finish the sign-in for kreatix in your browser: sign in to Kreatix and press Allow. From a plain shell, claude mcp login kreatix does the same.
- Check with claude mcp list: kreatix should show Connected.
claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcpWith a key
For setups without sign-in. The key works like a password, so keep it to yourself.
- In Kreatix, open Settings > AI agent and create a key. It is shown once.
- Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp --header "Authorization: Bearer YOUR_KEY"
- Check with claude mcp list: kreatix should show Connected.
claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp --header "Authorization: Bearer YOUR_KEY"What Claude Code can do on YouTube
A video with a title, a description and the visibility you choose; YouTube takes no text-only post.
| Setting | Values | Needed | What it does |
|---|---|---|---|
media_url | URL | Yes | The video: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post, which Kreatix imports first. |
youtube_title | string (max 100) | No | The title, up to 100 characters. Without it, Kreatix makes one from the caption's first line, minus hashtags and @mentions. |
youtube_privacy | public, unlisted, private | No | Who can see the video. Left out, the video goes up public. |
caption | string (max 5000) | No | Becomes the video description, cut at 5,000 bytes, and the source of the title when youtube_title is empty. |
cover_url | URL | No | Set as the video's custom thumbnail right after the upload. If YouTube refuses it, the video stays up without it. |
Ask in plain words
Ask inside a claude session, or as a one-liner from the terminal: claude -p "Which of my Kreatix pages got the most views this week?" --allowedTools "mcp__kreatix__get_stats"
claude -p "Put this video on my YouTube channel Friday at 17:00 as unlisted. Title: How we pack 500 orders a day."claude -p "Post my newest TikTok video to YouTube tonight at 20:00 with a clear title."claude -p "How many views did my YouTube channel get in the last 30 days, compared with the month before?"
YouTube rules to know
- A title of your own takes at most 100 characters; without one, Kreatix uses the caption's first line minus hashtags and @mentions.
- YouTube does not take < and >, so Kreatix sends them as ‹ and ›.
- Leave youtube_privacy out and the video goes up public.
- Scheduled videos go up marked as not made for kids.
- If YouTube says an upload limit is reached, Kreatix moves the post 6 hours later, up to 5 times, then marks it failed.
Tips for Claude Code
- --scope user makes Kreatix available in every project. Without it, the server is only added for the current project.
- claude -p can't ask for permission or open the sign-in. Sign in once with /mcp first, then allow the tools the run may use with --allowedTools, such as "mcp__kreatix__get_stats", or "mcp__kreatix__*" for all seven.
- Kreatix marks its reading tools (list_channels, list_groups, list_posts, get_stats) read-only, so Claude Code can run them in parallel, for example your stats and your queue at once.
- The agent checks the pages, caption and time with you before it posts. It cannot delete pages, read messages or change your account, and you can remove it any time in Settings > AI agent.
Questions
How do I post to YouTube from Claude Code?
Connect Claude Code to Kreatix once, as shown above. Then ask it to post: name your YouTube pages or a page group, the video or text and the time. Claude Code shows you the plan and posts after you say yes.
What title will my video get?
The youtube_title you give, up to 100 characters. Without one, Kreatix takes the caption's first line, drops hashtags and @mentions and fits it into 100 characters. With no caption at all, the title is Untitled.
Can I upload as private or unlisted?
Yes. Set youtube_privacy to public, unlisted or private. Left out, the video goes up public.
What happens when YouTube's upload limit is hit?
Kreatix does not drop the post: it moves it 6 hours later and tries again, up to 5 times. After that the post shows as failed, so you see it.
Does the cover I pick show on YouTube?
Kreatix sets cover_url as the custom thumbnail right after the upload. If YouTube refuses it, for example when the channel can't use custom thumbnails yet, the video stays up and only the thumbnail is skipped.
I already added Kreatix on claude.ai. Do I add it again?
Not if Claude Code is logged in with the same claude.ai account (not an API key). Connectors from claude.ai show up in /mcp on their own.
How do I remove Kreatix completely?
Run claude mcp remove kreatix, then delete the key Claude Code used in Kreatix under Settings > AI agent. Removing the server in Claude Code doesn't revoke the key on Kreatix's side.
Kreatix schedules one video to every page you run, each with its own platform settings.
Start free, then connect Claude Code