social-media-mcp

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

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 claude

Manual Installation

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Create 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_secret

Building

To build the project, run:

npm run build

Available Tools

  • post_to_x - Post a message to X
    • Required: content (string)
    • Optional: threadId (string)
  • create_x_thread - Create a new thread on X
    • Required: content (string)
  • list_x_post - List X posts with optional filtering
    • Optional: 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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol (MCP) server for managing social media posts, currently supporting X (formerly Twitter).

  1. Features
    1. Prerequisites
      1. Installation
        1. Installing via Smithery
        2. Manual Installation
      2. Building
        1. Available Tools
          1. Resources
            1. Development
              1. License

                Related MCP Servers

                • -
                  security
                  F
                  license
                  -
                  quality
                  This server provides a standardized framework using the Model Context Protocol (MCP) to seamlessly integrate and manage diverse tools, enabling features like Twitter automation, cryptocurrency updates, and ElizaOS interaction.
                  Last updated -
                  2
                  Python
                • A
                  security
                  A
                  license
                  A
                  quality
                  🔍 A Model Context Protocol (MCP) server providing unified access to multiple search engines (Tavily, Brave, Kagi), AI tools (Perplexity, FastGPT), and content processing services (Jina AI, Kagi). Combines search, AI responses, content processing, and enhancement features through a single interface.
                  Last updated -
                  15
                  76
                  61
                  TypeScript
                  MIT License
                  • Linux
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol (MCP) server that enables Claude or other LLMs to fetch content from URLs, supporting HTML, JSON, text, and images with configurable request parameters.
                  Last updated -
                  Python
                  MIT License
                • -
                  security
                  A
                  license
                  -
                  quality
                  A 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 updated -
                  87
                  4
                  TypeScript
                  MIT License

                View all related MCP servers

                ID: 55bvn41dtb