Post to Facebook from Cline
Kreatix's MCP server (https://api.kreatix.cc/mcp) lets Cline schedule posts on every Facebook account you connect, move or cancel them and read their stats. Plans start at $13 a month after a 7-day free trial with a card.
Cline is an AI coding agent that lives in your editor and your terminal. It asks for your approval before each action, and it can call MCP tools such as Kreatix. A video posted as a Reel on your Facebook Page, or a text-only Page post.
Connect Cline to Kreatix
Sign in with Kreatix
No key to copy: paste the address, sign in to Kreatix and press Allow.
- In Kreatix, connect the pages Cline should post to (kreatix.cc/pages).
- With the Cline CLI, run: cline mcp add kreatix https://api.kreatix.cc/mcp --transport http --yes
- Run cline mcp, choose Authorize OAuth and pick kreatix. Your browser opens: sign in to Kreatix and press Allow.
- Check it with cline config mcp. kreatix should be in the list.
- Using only the editor extension? Cline's docs describe browser sign-in for the CLI. In the extension, use the key route below.
cline mcp add kreatix https://api.kreatix.cc/mcp --transport http --yesWith a key
For setups without sign-in. The key works like a password, so keep it to yourself.
- In Kreatix, connect the pages Cline should post to (kreatix.cc/pages).
- In Kreatix, open Settings > AI agent and create a key. It is shown once.
- In the Cline extension, click the MCP Servers icon, open the Configure tab and click Configure MCP Servers. The settings file opens.
- Add Kreatix under mcpServers as in the snippet, with your key in place of YOUR_KEY. Keep "type": "streamableHttp".
- On the CLI, one command does the same: cline mcp add kreatix https://api.kreatix.cc/mcp --transport http --header "Authorization: Bearer YOUR_KEY" --yes
- Check that kreatix shows its tools in the MCP Servers list, or run cline config mcp.
{
"mcpServers": {
"kreatix": {
"type": "streamableHttp",
"url": "https://api.kreatix.cc/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
},
"disabled": false,
"autoApprove": []
}
}
}What Cline can do on Facebook
A video posted as a Reel on your Facebook Page, or a text-only Page post.
| Setting | Values | Needed | What it does |
|---|---|---|---|
media_url | URL | No | The video, posted as a Reel: a link from your Kreatix library or a public YouTube, TikTok, Instagram or Facebook post. Leave it out for a text-only post. |
caption | string (max 5000) | No | The Reel's description, or the whole post when there is no video. A text-only post needs it. |
cover_url | URL | No | Set as the Reel's cover once Facebook has finished processing the video. If that takes too long, the cover is skipped. |
Ask in plain words
Ask in Cline's chat in your editor, for example "Use Kreatix to move tonight's posts on my brand group to 21:00." The CLI takes the task as an argument: cline "Which of my Kreatix pages got the most views this week?"
- Post this on my Facebook page tomorrow at 9:00: We're open this Sunday from 10:00 to 18:00.
- Share this Instagram Reel link on all my Facebook pages tonight at 20:00.
- Cancel the Facebook post planned for Friday.
Facebook rules to know
- Videos go out as Facebook Reels.
- A text-only post needs a caption.
- The cover is added after Facebook finishes processing the video; if that takes too long, it is skipped.
- When Facebook blocks a post as spam (code 368) or hits a rate limit, Kreatix does not retry: retrying makes the block worse.
- Kreatix posts to the Facebook Pages you manage.
Tips for Cline
- Cline asks before each tool call. If you fill autoApprove, list only the reading tools: list_channels, list_groups, list_posts and get_stats. Leave schedule_post, reschedule_post and cancel_post on manual approval.
- The Cline CLI keeps its servers in ~/.cline/data/settings/cline_mcp_settings.json. cline config mcp lists what it has loaded.
- To pause Kreatix without deleting it, set "disabled": true in the entry, or use Enable/disable server in cline mcp.
- Kreatix asks the agent to confirm the pages, caption and time with you before it schedules. 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 Facebook from Cline?
Connect Cline to Kreatix once, as shown above. Then ask it to post: name your Facebook pages or a page group, the video or text and the time. Kreatix asks Cline to confirm the pages, caption and time with you before it schedules.
Can the agent post text without a video to Facebook?
Yes. Leave media_url out and the caption goes out as a Page post. Facebook, LinkedIn and X are the networks that take text-only posts.
Does a Facebook video go out as a Reel or a regular video?
As a Reel. Kreatix uploads it through Facebook's Reels flow and, if you gave a cover, sets it once Facebook has finished processing the video.
What if Facebook blocks the post as spam?
Kreatix does not send it again on its own, because repeating is what Facebook's block (code 368) punishes. The post shows as failed with Facebook's reason, and the fix is to wait.
Can my agent post to 20 Facebook Pages at once?
Yes: up to 50 pages in one schedule_post call, or a whole group with group_id. Each page counts as one post toward the key's hourly limit, 100 an hour by default.
Cline shows no Kreatix tools. Why?
Check the type line. Without "type": "streamableHttp", Cline falls back to the legacy SSE transport, and Kreatix only speaks Streamable HTTP. In the Remote Servers tab, choose Streamable HTTP as the transport type.
How do I remove Kreatix from Cline?
Run cline mcp remove kreatix, or delete the kreatix entry from the settings file. If you used a key, also delete it in Kreatix under Settings > AI agent.
Kreatix schedules one video to every page you run, each with its own platform settings.
Start your 7-day free trial