Skip to content

Post to TikTok 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 your caption, shared with the privacy you choose; TikTok takes no text-only post.

Updated November 2026

Connect Claude Code to Kreatix

Sign in with Kreatix

No key to copy: paste the address, sign in to Kreatix and press Allow.

  1. Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp
  2. 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.
  3. Check with claude mcp list: kreatix should show Connected.
claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp

With a key

For setups without sign-in. The key works like a password, so keep it to yourself.

  1. In Kreatix, open Settings > AI agent and create a key. It is shown once.
  2. Run once in a terminal: claude mcp add --transport http --scope user kreatix https://api.kreatix.cc/mcp --header "Authorization: Bearer YOUR_KEY"
  3. 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 TikTok

A video with your caption, shared with the privacy you choose; TikTok takes no text-only post.

SettingValuesNeededWhat it does
media_urlURLYesThe video: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post, which Kreatix imports first.
tiktok_privacyPUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLYYesWho can see the video: everyone, friends, followers or only you (private), in that order. There is no default, so the agent has to ask you.
tiktok_music_confirmedtrueYesSet to true once you agree to TikTok's Music Usage Confirmation. Without it, the TikTok post is refused.
captionstring (max 5000)NoThe video's text on TikTok. Only the first 2,200 characters go.

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 "Post my newest video on both TikTok pages tomorrow at 19:00, public. I agree to TikTok's music terms."
  • claude -p "Take this YouTube Shorts link and post it on TikTok tonight at 21:00, followers only."
  • claude -p "Move Saturday's TikTok post to Sunday 12:00."

TikTok rules to know

  • Kreatix never picks a privacy level for you: a TikTok post without your choice is refused.
  • You must agree to TikTok's Music Usage Confirmation, or the TikTok post is refused.
  • TikTok refuses videos whose average frame rate is outside 23 to 60 fps, so Kreatix sends it a 30 fps copy and keeps your original.
  • Only the first 2,200 characters of the caption go to TikTok.
  • The agent schedules videos only; TikTok photo posts go from Kreatix's Publish now to your TikTok inbox.

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 TikTok from Claude Code?

Connect Claude Code to Kreatix once, as shown above. Then ask it to post: name your TikTok pages or a page group, the video or text and the time. Claude Code shows you the plan and posts after you say yes.

Why does the agent ask me about privacy every time?

TikTok's rule for apps that post for you: the person picks who can see each video, and there is no default. Kreatix never picks Public for you, so a TikTok post without your choice is refused.

Can I post a YouTube Short to TikTok?

Yes. Give the agent the public link: Kreatix downloads the video into your library first (from YouTube, the best version up to 1080p), then schedules it on TikTok. If the download fails, the agent says so and nothing is scheduled.

My video was shot at a low frame rate. Will TikTok take it?

TikTok refuses videos whose average frame rate is outside 23 to 60 fps. Kreatix checks the file and sends TikTok a 30 fps copy; your original stays as it is.

Can the agent turn off comments, duets or stitches?

No. schedule_post sends TikTok only your privacy choice. The comment, duet and stitch switches, branded content and the AI label are set on Kreatix's Publish screen.

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

Claude Code with other platforms

TikTok from other agents