Model Context Protocol · 44 tools · npm package

Twitter MCP Server — Post to X from Claude, Cursor & Windsurf

The @xreplyai/mcp server gives your AI agent 44 tools to generate voice-matched posts, schedule, and publish across X, LinkedIn, Threads, YouTube, Bluesky, Pinterest, TikTok, Instagram, Facebook, Mastodon, and more — without leaving your editor.

Works with Claude Desktop · Claude Code · Cursor · Windsurf

Plan a full week of posts in one prompt

Two example workflows — run them exactly as shown inside any supported client.

📅

Weekly batch

  1. 1xreply_content_plan_list — pick a content plan
  2. 2xreply_posts_generate_batch — generate 7 posts
  3. 3xreply_posts_create — save the ones you like
  4. 4xreply_posts_edit — schedule each to a time slot
⚡

Quick post

  1. 1xreply_posts_generate — give a topic and angle
  2. 2xreply_posts_create — save the draft
  3. 3xreply_posts_publish — post immediately

44 tools. Full posts workflow.

Every tool your agent needs, from generation to publish.

✍️Generation
xreply_posts_generateGenerate a single post in your voice
xreply_posts_generate_batchGenerate 1–9 posts at once by category
xreply_posts_generate_threadGenerate an X thread as a sequence of connected tweets
xreply_carousel_generateGenerate a LinkedIn carousel — AI writes slides, renders PDF, saves draft
📋Post Management
xreply_posts_listList all posts in your queue
xreply_posts_createSave a post draft
xreply_posts_editEdit body or scheduled time
xreply_posts_deleteDelete a post
🚀Publishing
xreply_posts_publishPublish now or schedule to X/Twitter
xreply_list_twitter_communitiesList Twitter Communities you can post to
📅Scheduling
xreply_posting_schedule_listList your posting schedule — the time slots posts auto-fill into
xreply_posting_schedule_updateUpdate posting-schedule time slots for a platform
xreply_posts_next_slotPreview the next open schedule slot without scheduling anything
🖼️Media
xreply_media_uploadUpload an image from disk — returns media ID or asset URN for X/LinkedIn
xreply_video_uploadUpload an MP4 to LinkedIn and get back an asset URN
xreply_youtube_uploadUpload a local video file for a YouTube post draft before publishing
xreply_instagram_media_uploadUpload an image or video for an Instagram post
xreply_linkedin_document_uploadUpload a PDF document for a LinkedIn document post
xreply_threads_media_uploadUpload an image for a Threads post
xreply_bluesky_media_uploadUpload an image for a Bluesky post
xreply_pinterest_media_uploadUpload an image for a Pinterest pin
xreply_instagram_audio_searchSearch licensed audio tracks for an Instagram reel
📊Analytics
xreply_analytics_getFetch analytics: rollups, timeseries, and best-times-to-post views
⚙️Context
xreply_list_social_accountsList connected social accounts with IDs and usernames
xreply_billing_statusCheck subscription status
xreply_voice_statusCheck voice profile analysis status
xreply_preferences_getGet generation preferences
xreply_preferences_setUpdate tone, emoji, structure preferences
xreply_platform_styles_getGet per-platform style profiles — tone, length, hashtag rules
xreply_platform_styles_setOverride style settings for a specific platform
xreply_rules_listList custom writing rules
xreply_rules_createAdd a new custom writing rule
xreply_rules_updateEdit an existing writing rule
xreply_rules_deleteDelete a writing rule
xreply_content_plan_listList automated weekly content plans and their schedule
xreply_pinterest_boardsList Pinterest boards — returns board IDs for use in post metadata

Every post is generated in your voice — not generic AI copy.

XreplyAI analyzes your tweet history to build a voice profile. Your tone, phrasing, and style carry through to every generated post, whether you generate one or nine at a time.

Setup in 2 minutes

Requires Node.js 20+. No Twitter developer account needed.

Step 1 — Get your token

Sign in to XreplyAI, go to Settings, and copy your API token.

Token expiry: Tokens expire after 30 days. If the MCP stops authenticating, return to Settings, copy a fresh token, and update your config.

Step 2 — Add to your client

⚡Recommended

Install in Claude

One-click install. No tokens to copy. Works in Claude Desktop and claude.ai.

Get started →
claude mcp add xreply \
  -e XREPLY_TOKEN=your-jwt-token-here \
  -- npx @xreplyai/mcp

Run claude mcp list after to confirm it's registered.

Pricing

Same plan as the web app. One subscription covers everything.

Most Popular

Unlimited

The whole social media job: it plans, writes, and posts across all 10 platforms, and you approve what goes out.

$0for 14 days
then $1,299/mo · cancel anytime
  • Reads your website and store, then plans each month around what you sell
  • Posts your real products from your own photos, always the same product
  • One look across your feed, approved once
  • A mix of posts: some sell, some give people a reason to follow
  • Tell it about a launch or sale and it works it into the plan
  • You approve every post until you let it post on its own
  • A weekly recap of what went out and the visits to your store from post links
  • Unlimited channels and posts across all 10 platforms
  • Team members and a shared review queue
  • Voice matching, comment replies, and auto DM replies
  • Public API and MCP server for Claude Code

Enterprise

Bigger team, or needs we don't cover yet? Tell us what you need and we'll see if we can build it.

Custom
A 20-minute call, not a sales pitch
  • Volume pricing across many seats
  • SSO and access controls
  • Custom integrations and workflows
  • Onboarding and migration support
  • A direct line to the founder

Questions? Contact us

How does XreplyAI compare?

10 platforms, one calendar, one subscription. No per-seat fees.

ToolPrice
XreplyAIBest value$1,299/mo flat
BufferFrom $5/mo per channel
HootsuiteFrom $99/mo
Hypefury$29/mo
LaterFrom $25/mo
SocialBeeFrom $29/mo

See full comparison →

Frequently asked questions

Add X/Twitter to your AI workflow today

Voice-matched post generation and scheduling — all from inside Claude, Cursor, or Windsurf.

Node.js 20+ · No Twitter developer account required · 2-minute setup

Building an integration instead of using an AI client? Use the REST API →