X (Twitter) MCP server

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.

Get started for free

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:

  1. 1Open ShortSync in Claude's connector directory and click Connect.
  2. 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.

Comparing options? Best social media MCP servers

Frequently asked questions

Yes. Add ShortSync as a custom connector in Claude or ChatGPT (or any MCP client), connect your X (Twitter) account in ShortSync, and ask the assistant to draft, schedule or publish. It posts through the official X (Twitter) API.
Any X account. X Premium unlocks longer posts and videos.
Yes. MCP access is on every ShortSync plan, including Free with 5 uploads a month. Paid plans remove the upload limit. Each post counts against the same quota whether you make it in the dashboard or through an AI agent.
Yes. One upload can become drafts for X (Twitter) and any of the other 16 platforms ShortSync supports in a single call, each with its own caption and settings, then be scheduled or published together.
X charges apps for every post read through its API. ShortSync uses your workspace's own X API Bearer Token for analytics so you only pay for the reads you make.