social-media-mcp

by angheljf

8 3 downloads Not rated yet MIT
GitHub

About

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

Details

Repository
angheljf/social-media-mcp
License
MIT

Explore

- Post messages to X (Twitter)
- Create threads on X
- Reply to existing threads
- List X posts with filtering options
- Platform information endpoints

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name social-media-mcp
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Node.js 16 or higher
- Twitter API credentials
- API Key
- API Secret
- Access Token
- Access Secret

To install Social Media Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install social-media-server --client claude

1. Clone the repository
2. Install dependencies:

npm install

3. 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

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), threadId (string).

- 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)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "social-media-mcp": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Social Media Server

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

Example

<a href="https://glama.ai/mcp/servers/55bvn41dtb">

</a>

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
3. 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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.