mcp-x-publisher
Click on "Install 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: X (Twitter) MCP
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.Last updated101MIT
- Alicense-qualityDmaintenanceEnables interaction with X (Twitter) to post tweets, threads, and replies while retrieving tweet metrics and account information. It supports core management tasks like deleting tweets and verifying authentication through the Twitter API.Last updatedMIT
- Alicense-qualityCmaintenanceEnables 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.Last updated2MIT
- AlicenseCqualityDmaintenanceEnables you to write, refine, and publish tweets to X (Twitter) using AI assistance.Last updated1Apache 2.0
Related MCP Connectors
Draft, schedule, publish, and analyze your LinkedIn posts from your AI assistant via Taplio.
Post, schedule and read analytics on X, LinkedIn, Instagram, TikTok, YouTube, Bluesky and more.
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hanshan0228/mcp-x-publisher'
If you have feedback or need assistance with the MCP directory API, please join our Discord server