Skip to content

Post to X 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 text-only post or a video with text, cut to X's 280-character count.

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 X

A text-only post or a video with text, cut to X's 280-character count.

SettingValuesNeededWhat it does
captionstring (max 5000)NoThe post text. Only the first 280 go, counted X's way: a link is 23, an emoji 2. A text-only post needs it.
media_urlURLNoOne video to attach: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post. Leave it out for a text-only post.

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 this on X tomorrow at 10:00: Our spring sale starts Monday, 30% off everything.
  • Share my newest video on X and LinkedIn tomorrow at 9:00 with the same caption.
  • What do I have planned on X this week?

X rules to know

  • Only the first 280 characters go to X, counted X's way: a link counts as 23 and an emoji as 2.
  • A longer text is cut, not refused, and never in the middle of a link or an emoji.
  • A text-only post needs a caption.
  • get_stats has no numbers for X.

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 X from Cursor?

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

What happens to a caption longer than 280 characters?

Kreatix sends the longest start that fits in 280, counted the way X counts: a link is 23 and an emoji 2. It never cuts a link or an emoji in half.

Can I post text only, without a video?

Yes. X, LinkedIn and Facebook take text-only posts. Leave media_url out and give a caption.

Can my agent read how my X posts did?

No. get_stats measures Instagram, Facebook, TikTok and YouTube; X, LinkedIn and Pinterest have no numbers in Kreatix.

Can I share a TikTok or YouTube video on X?

Yes. Give the agent the public link: Kreatix imports the video into your library first, then attaches it to the X post with your text.

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

X from other agents