Skip to content

Post to TikTok from Cursor

Cursor is an AI code editor with a built-in agent, plus a command line agent. Developers use it to write code, and its agent can call MCP tools such as Kreatix. A video with your caption, shared with the privacy you choose; TikTok takes no text-only post.

Updated November 2026

Connect Cursor to Kreatix

Sign in with Kreatix

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

  1. Open ~/.cursor/mcp.json (create the file if it isn't there) and add Kreatix with only its url, as in the snippet.
  2. Save the file and restart Cursor.
  3. Follow Cursor's sign-in prompt for kreatix, or run agent mcp login kreatix with the Cursor CLI. Sign in to Kreatix and press Allow.
  4. Open Customize > MCPs in the sidebar and check that kreatix is on.
{
  "mcpServers": {
    "kreatix": {
      "url": "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. Add Kreatix with its url and an Authorization header to ~/.cursor/mcp.json (create the file if it isn't there), as in the snippet.
  3. Save the file and restart Cursor.
  4. Open Customize > MCPs in the sidebar and check that kreatix is on.
{
  "mcpServers": {
    "kreatix": {
      "url": "https://api.kreatix.cc/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

What Cursor 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 in Cursor's agent chat, for example "Use Kreatix to move tonight's posts on my brand group to 21:00." From a terminal, the Cursor CLI takes one-off prompts: agent -p "Which of my Kreatix pages got the most views this week?"

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

  • Put Kreatix in ~/.cursor/mcp.json, not in a project's .cursor/mcp.json: project files are meant to be committed and shared with your team.
  • To keep the key out of the file, write "Authorization": "Bearer ${env:KREATIX_API_KEY}". Cursor fills in ${env:NAME} in url and headers.
  • Cursor asks before each MCP tool call. Click the arrow next to the tool name to check the pages, caption and time before you approve.
  • 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 Cursor?

Connect Cursor 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. Cursor 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.

How do I know Kreatix connected?

Open Customize > MCPs in the sidebar and look for kreatix with its toggle on. If it is missing, open the Output panel (Cmd+Shift+U on Mac), choose MCP Logs and look for an error.

Does the Cursor CLI need its own setup?

No. The CLI reads the same mcp.json as the editor. Run agent mcp list to see kreatix.

Kreatix schedules one video to every page you run, each with its own platform settings.

Start free, then connect Cursor

Cursor with other platforms

TikTok from other agents