mcp-x-publisher
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-x-publisherPost a tweet: 'Exploring new MCP servers today!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-x-publisher
MCP (Model Context Protocol) server for posting single tweets, threads, and saving drafts to X (Twitter) automatically using Playwright.
Installation / Usage with MCP Clients
Add the following JSON configuration to your MCP client (Claude Desktop, Cursor, Kiro, Claude Code, etc.):
{
"mcpServers": {
"x-publisher": {
"command": "npx",
"args": ["-y", "mcp-x-publisher"],
"env": {
"X_AUTH_TOKEN": "YOUR_AUTH_TOKEN_HERE",
"X_CT0": "YOUR_CT0_HERE"
}
}
}
}Related MCP server: Twitter/X MCP Server
Features
x_publish_post: Publish single post to X (text and optional image).x_publish_thread: Publish multi-tweet thread to X sequentially.x_save_draft: Save a tweet to X online draft box.
Authentication
Authentication cookies can be provided via environment variables:
X_AUTH_TOKEN:auth_tokencookie value from your X login session.X_CT0:ct0cookie value from your X login session.
Alternatively, if no environment variables are specified, it will attempt to load saved cookies from ~/.config/baoyu-skills/x-to-markdown/cookies.json (Linux/macOS) or %APPDATA%\baoyu-skills\x-to-markdown\cookies.json (Windows).
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Draft, schedule and publish X (Twitter) and LinkedIn posts in your own voice.
Draft, check and schedule posts to your connected social accounts from Claude, ChatGPT or Cursor.
- PilotMyXOAuthcom.pilotmyx
Stop guessing what works on X/Twitter. Analyze your history, draft in your voice, schedule posts.
- mcpOAuthai.posteverywhere
The agentic social media scheduler. Write, schedule and publish to all top social platforms.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables creating, managing, and publishing X/Twitter posts, threads, and replies directly through Claude chat. Supports draft management with the ability to create, list, publish, and delete tweet drafts.101MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Twitter/X through Playwright browser automation without requiring an official API key. It provides tools for posting content, searching tweets, reading feeds, and managing social interactions like follows and likes.4MIT
- AlicenseCqualityDmaintenanceEnables you to write, refine, and publish tweets to X (Twitter) using AI assistance.1Apache 2.0

OpenTweet MCP Serverofficial
AlicenseAqualityDmaintenanceProvides 30 tools to post, schedule, thread, and analyze X (Twitter) content, including AI media generation and multi-account management. No X developer account or OAuth setup required.3094 npmMIT