X (Twitter) MCP server for Claude, ChatGPT and AI agents
Let your AI agent write and schedule posts on X with images, video or a poll, and add a follow-up reply with your link.
Setup takes two minutes · Free plan · Official X (Twitter) API
What your agent can post to X (Twitter)
Everything goes through ShortSync's connection to the official X (Twitter) API.
Text posts
280 characters, or up to 25,000 with X Premium.
Images and video
Up to 4 images, or one video (up to 20 minutes, or 125 minutes with Premium).
Polls
2 to 4 options, open from 5 minutes to 7 days.
First reply
A reply under your post, handy for links that X shows less often in the post itself.
X (Twitter) settings your agent can set
Ask for them in plain language. The agent passes them as platform settings on the post.
- Poll
- Options and duration on text posts.
- First reply
- Up to 280 characters, posted right after the main post.
- Paid partnership
- X's paid partnership label for sponsored posts.
- Alt text
- Up to 1,000 characters per image.
- Per-platform caption
- A short X version while LinkedIn or Threads get longer ones.
After it's posted
Analytics
Engagement per post, using your workspace's own X API key (X charges apps for reading post data).
Comments and messages
ShortSync's inbox doesn't cover X yet, so your agent can't read or reply to X comments. It can for Instagram, Facebook, YouTube, LinkedIn, Threads, Bluesky, Mastodon, Telegram and Google Business Profile reviews.
Prompts to try
- “Write a punchy X post about our launch with the demo video and put the link in the first reply.”
- “Run a 24-hour poll on X asking which platform we should add next.”
- “Schedule this thread starter for 3 pm ET tomorrow on X and Threads.”
- “Rewrite this LinkedIn post to fit in 280 characters for X.”
Set it up
Sign up for ShortSync and connect your X (Twitter) account in the dashboard. Then add the ShortSync MCP server to your AI client:
- 1Open ShortSync in Claude's connector directory and click Connect.
- 2Sign in to ShortSync and click Allow.
https://www.shortsync.app/api/mcp
Before you start on X (Twitter)
- Analytics need your own X API Bearer Token added in the workspace, because X bills apps for reading posts.
No AI agent? X (Twitter) posting API
One MCP server, every platform
The same connection posts to X (Twitter) and 16 other platforms, each with its own caption.
YouTube MCP
Instagram MCP
TikTok MCP
LinkedIn MCP
Facebook MCP
Pinterest MCPReddit MCP
Threads MCP
Bluesky MCP
- All platforms
Comparing options? Best social media MCP servers