Post to X from OpenClaw

Ask OpenClaw for posts, images and video and Auto Poster AI drafts, schedules and publishes them to X.

4.9/5 (2,000+ creators & brands)

How it works

OpenClaw talks to Auto Poster through a hosted MCP connector. It looks up your connected X account, checks the format rules below, then creates the post. Posts the agent creates start as drafts or pending approval, so nothing goes live until you or a workspace approver approves it. Captions are limited to 280 characters (links count as 23).

Set up OpenClaw

Connection: Remote MCP server with OAuth. Works in OpenClaw agents.

  1. 1

    Add Auto Poster as an MCP server

    Run: openclaw mcp set autoposter '{"url":"https://agent.autoposter.ai/mcp","transport":"streamable-http","auth":"oauth"}'

  2. 2

    Sign in

    Run: openclaw mcp login autoposter. OpenClaw prints an authorization URL. Approve access to Auto Poster in the browser, then run openclaw mcp doctor autoposter --probe to check the connection.

  3. 3

    Or use an API key

    If you prefer a key, create a scoped API key in Auto Poster and send it as an Authorization Bearer header instead of OAuth.

  4. 4

    Keep approvals on

    Leave direct publishing off for the key. Everything the agent creates then waits for your approval.

Example prompts for X

Once the server is connected, give OpenClaw a task. Prompts that schedule include a time zone so the post lands when you mean it to.

"Watch our release feed and draft an X post under 280 characters for each new release, pending approval."

"Write 3 versions of an X post about our launch under 280 characters and schedule the best one for Wednesday 12:00 America/Los_Angeles."

"Cut this LinkedIn post down to an X post under 280 characters and save it as a draft."

"Post this screenshot to X tomorrow at 09:15 Asia/Tokyo with a one-line caption."

"List my X posts that failed this week and tell me why."

"Schedule the same announcement on X and Bluesky for Monday 11:00 UTC, with the Bluesky version under 300 characters."

What you can post to X

FormatRequirements
Text postUp to 280 characters. URLs count as 23 and CJK characters count as 2.
ImagesUp to 4 per post, JPEG, PNG, WebP or GIF, up to 5 MB each.
VideoMP4 or MOV, 0.5 to 140 seconds, up to 512 MB.
GIFUp to 15 MB.
  • Count links as 23 characters, not their length.
  • Captions over 280 characters are condensed by the AI safeguard, so ask for the final text and check it before approving.
  • For a longer idea, ask for a short post that links to the full version.

Frequently asked questions

What is the character limit when OpenClaw posts to X?

280 characters. Links count as 23 and Chinese, Japanese and Korean characters count as 2.

Can OpenClaw post images and video to X?

Yes. Up to 4 images (5 MB each) or a video of up to 140 seconds and 512 MB.

Can OpenClaw post a thread or a first comment?

Not through the agent connection today. The draft and schedule tools take the post text, media, format and time only, so create threads and first comments in the Auto Poster app.

Will OpenClaw post to X without my approval?

Not by default. Agent posts are saved as drafts or pending approval first.

Do I need to install anything to use OpenClaw with Auto Poster?

Only a one-line server registration. Run openclaw mcp set and openclaw mcp login for https://agent.autoposter.ai/mcp, then sign in. Nothing else is installed.

Related

Post to X from OpenClaw

Start free, then connect and ask for your first draft.

Includes 7 days of Pro access • No credit card required • Seamless downgrade to free plan