X MCP server for AI agents
Ship X threads, polls, quotes, Communities and X Articles directly from your terminal or chat window. PostSyncer’s MCP server offers 118 tools in one list (your client decides which of them it shows), complete with exact X character validation and AI-powered post analysis.
PostSyncer MCP server
https:// postsyncer.com/ mcp- Write multi-post X threads, polls, quotes, X Communities and X Premium Articles
- Inspect any public X post and its replies with analyze-twitter-post (paid plans)
- Exact weighted X length checks (emoji = 2, links = 23) before scheduling
- Cancel anytime
- Unlimited posts on paid plans
Turn our latest git release notes into a tight 3-post X thread for Tuesday at 9 AM, restrict replies to accounts we follow, and link the changelog in a first comment.
- list-workspacesHalden Coffee (#4815)
- list-accountsX @haldencoffee (#16234)
- get-brandLoaded crisp founder voice
- create-postScheduled 3-part X thread #81446 + inline first comment
Scheduled your 3-part X thread for @haldencoffee on Tuesday at 9:00 AM with reply_settings set to following and your changelog link going out with it as the final reply.
01 Quick start
Connect X to your AI agent in three steps
- 1
Connect your AI client
Use the official ChatGPT app or Claude plugin, or run one command in Claude Code, Cursor, Codex or Gemini CLI pointing at
https://postsyncer.com/mcp. - 2
Sign in with OAuth or a drafts-only key
Approve access with OAuth in PostSyncer, or supply a Bearer API key with
workspaces:read,accounts:read, brand:read andposts:create(noposts:schedule) so coding agents draft threads you approve before they go live. - 3
Ship threads, polls and replies from chat
Prompt your agent from your codebase or notes to craft X threads, run audience polls, analyze viral X posts and answer replies.
02 MCP tools
MCP tools for X
These verified PostSyncer MCP tools give coding and writing agents end-to-end control over X publishing, thread replies, public post analysis and metrics.
| Tool | Permission | What it does on X |
|---|---|---|
list-accounts | accounts:read | Find connected X account IDs (platform: twitter) and check X Premium capabilities. |
get-account | accounts:read | Check can_publish_articles before drafting a long-form X Article. |
get-brand | brand:read | Read workspace brand voice, hooks and guidelines before drafting X copy. |
create-post | posts:create / schedule / publish | Draft or schedule X posts, multi-part threads, polls, quotes, Community posts and X Articles. |
analyze-twitter-post | posts:read | Ask AI about any public X post and its replies to study hooks or audience reactions (paid plans). |
list-comments | comments:read | Read X replies on your published posts (available on every plan). |
hide-commentdestructive | comments:update | Hide an abusive or off-topic reply on X. |
get-analytics-post | analytics:read | Fetch impressions, likes, comments, reposts, quotes and saves. |
03 Prompts and workflows
What to ask your agent on X
Favorite X workflows builders and indie founders run directly from ChatGPT, Claude, Claude Code, Cursor and Codex.
Ship-to-thread straight from your terminal
“Read my last 5 git commits, write a concise 4-post X thread explaining what shipped and why users care, and save it as a draft for review.”
get-brandlist-accountscreate-postDrafts a voice-matched build-in-public thread right from your repo without copy-pasting between editor and browser.
Research a public X conversation before writing
“Analyze this public X post and its replies, summarize the top 3 developer objections, and draft a response post with a 4-option poll.”
analyze-twitter-postget-brandcreate-postUses
analyze-twitter-post(paid plans) to mine real questions from replies and produces a poll draft ready for scheduling.Publish a long-form X Article on Premium
“Check if our X account can publish X Articles, then turn this markdown post into a draft X Article with our cover photo from the media library.”
get-accountlist-mediacreate-postVerifies
can_publish_articlesfirst, attaches cover image ID and saves a clean X Article draft.Answer X replies with screenshots
“Sync replies on yesterday’s launch thread, find anyone asking how pricing works, and reply with our plan comparison graphic.”
list-postssync-comments-from-platformslist-commentslist-mediacreate-commentSends media-backed X replies directly from the connected account without opening X.
Why builders connect X through MCP right inside their IDE
Most developer announcements never get posted because switching from an IDE into a social dashboard breaks flow. With PostSyncer’s X MCP server connected to Claude Code, Cursor, Codex or Gemini CLI, your coding agent already has the diff, benchmarks and screenshots in context — it reads your brand voice via get-brand and saves a ready-to-publish X thread in seconds.
Because PostSyncer validates X’s weighted character count (emoji = 2, every link = 23, 280 for standard, 25,000 for Premium) on every item in the thread, the agent gets an immediate structured error pointing to the exact post number if one slide runs long and rewrites it automatically.
Threads, polls, X Articles and auto-plugs over MCP
Your agent is not restricted to plain single tweets. It can assemble multi-item threads with up to 20 mixed photos, GIFs and videos per post, attach 2–4 option polls (on media-free posts), quote existing posts with quote_tweet_id, post inside X Communities, publish X Premium Articles, or configure update-post-auto-plug so a follow-up link drops automatically once a post crosses an engagement threshold.
On paid plans, analyze-twitter-post lets your agent inspect public X threads and reply sentiment before drafting commentary or product comparisons.
Replies, hiding and thread deletion realities on X
X replies sync into PostSyncer on every plan (within a daily allowance on Free), two hours after publishing and daily for two days, plus on-demand refreshes via sync-comments-from-platforms. Agents can reply with media or hide unwanted replies with hide-comment (remember X does not support unhiding).
When delete-post runs on an X thread, PostSyncer asks X to delete only the first post, so the rest of the thread and the first comment stay live — and delete-post is always marked destructive so compliant MCP clients ask you before running it.
Direct REST API
Need programmatic X publishing from your backend? Use the REST API
The X REST API at https://postsyncer.com/api/v1 shares every thread, poll, X Article and character-validation rule with the MCP server.
REST API base URL
https:// postsyncer.com/ api/ v1Calendar and team review
Every agent post lands on your X calendar
Drafts and scheduled posts created through MCP show up in PostSyncer with full X previews, approval workflows and team notes. If you want a person to review first, leave posts:schedule and posts:publish off the agent's key: it saves drafts, and a schedule or publish call is refused.
AI clients
Connect X to the AI tool you use
Every client reaches the same server at https://postsyncer.com/mcp. Each page has that client’s exact setup steps.
- ChatGPTPlugin directory
- ClaudeDirectory plugin
- Claude CodeTerminal
- Claude DesktopDirectory plugin
- Grok BotCustom connector
- OpenClawCommand line
- CursorInstall link
- OpenBotCustom server
- CodexTerminal
- GrokCustom connector
- Gemini CLITerminal
- AntigravityConfig file
- Any MCP clientThe server address, OAuth and API key options
claude mcp add --transport http postsyncer https://postsyncer.com/mcpLimits and plans
What each plan allows
The X MCP server is on every plan, Free included. Posts created by your AI agent share your plan’s allowance and 60 requests a minute rate limit.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The API key is missing, wrong or past its end date.403The key lacks the resource:action permission, or the plan limit was reached (plan_limit_reached).422A field failed validation or the network’s rules refused a file, setting or text length.429Too many requests: more than 60 in a minute across your user’s keys, API and MCP together.
Docs
Read more in the docs
- X platform guideExact X settings, limits and API behavior
- MCP server overviewStreamable HTTP transport, OAuth and API key sign-in
- Connect your MCP clientSetup commands for ChatGPT, Claude, Claude Code, Cursor and Codex
- MCP tools referenceEvery tool name, argument and required permission
- Agent usage guideRecommended call order and safety rules
All 12 networks
Explore every platform MCP server on PostSyncer
Can Claude Code, Cursor or Codex draft X threads straight from my repo?
Yes. Connect https://postsyncer.com/mcp, ask your coding agent to summarize recent commits or docs into a thread, and it saves or schedules the multi-part post via create-post.
Does the X MCP server support X Premium long posts and X Articles?
Yes. Connected X Premium accounts support up to 25,000 characters per post and X Articles (checked via can_publish_articles on get-account).
What does analyze-twitter-post do?
On paid plans, analyze-twitter-post uses PostSyncer’s AI to inspect a public X post and its replies so your agent can summarize feedback or spot common questions.
Can an agent post an X poll and images together?
No. X forbids combining a poll and media in the same post. The MCP tool returns a clear error so the agent can either drop the media or turn off the poll.
Can my agent hide or reply to X comments?
Yes. X replies are read on every plan (daily allowance on Free). Agents can post replies with media via create-comment or hide replies via hide-comment (X does not allow unhiding).
How do I keep an AI agent from tweeting without my approval?
Connect the agent with a Bearer API key that grants workspaces:read, accounts:read and posts:create but not posts:schedule or posts:publish. A call to schedule or publish is then refused, so the agent saves drafts that you review and schedule in PostSyncer.
Draft and ship X threads straight from your AI agent.
Add https://postsyncer.com/mcp to ChatGPT, Claude, Claude Code, Cursor or Codex and start free.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans