social-media-mcp
This social-media-mcp server allows you to manage X (formerly Twitter) posts with the following capabilities:
Post messages to X, including replying to existing threads
Create new threads on X with provided content
List X posts with optional filtering by limit and thread ID
Access platform information for X via the provided endpoint
Social Media Server
A Model Context Protocol (MCP) server for managing social media posts, currently supporting X (formerly Twitter).

Features
Post messages to X (Twitter)
Create threads on X
Reply to existing threads
List X posts with filtering options
Platform information endpoints
Related MCP server: X.com MCP Server
Prerequisites
Node.js 16 or higher
Twitter API credentials
API Key
API Secret
Access Token
Access Secret
Installation
Installing via Smithery
To install Social Media Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install social-media-server --client claudeManual Installation
Clone the repository
Install dependencies:
npm installCreate a .env file with your Twitter credentials:
TWITTER_API_KEY=your_api_key
TWITTER_API_SECRET=your_api_secret
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_SECRET=your_access_secretBuilding
To build the project, run:
npm run buildAvailable Tools
post_to_x- Post a message to XRequired:
content(string)Optional:
threadId(string)
create_x_thread- Create a new thread on XRequired:
content(string)
list_x_post- List X posts with optional filteringOptional:
limit(number)Optional:
threadId(string)
Resources
The server provides platform information via:
socialmedia://platforms/x
Development
The project uses TypeScript and follows the Model Context Protocol specification. The main server implementation is in index.ts, with types defined in types.ts.
License
This project is licensed under the MIT License
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
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI models and applications to interact directly with Twitter/X, providing capabilities to create posts, reply to tweets, retrieve user data, and manage account actions.Last updated2011MIT
- FlicenseAqualityDmaintenanceModel Context Protocol server that enables LLMs to interact with X.com (formerly Twitter) through OAuth 2.0 authentication, supporting major Post-related operations including reading, writing, searching, and managing posts, likes, retweets, and bookmarks.Last updated21368
- Alicense-qualityDmaintenanceModel Context Protocol server that enables programmatic interaction with Twitter API, allowing users to post tweets, search for content, and retrieve user timelines through standardized MCP tools.Last updated20MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that allows AI agents to post tweets and threads to X (Twitter) via two tools: post_tweet and post_thread.Last updatedMIT
Related MCP Connectors
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
MCP (Model Context Protocol) server for Appwrite
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
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/angheljf/social-media-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server