Skip to main content
Glama
Twitter Marketing MCP
by rugvedp

Twitter Marketing MCP

This repository contains the Twitter Marketing MCP, a tool designed to streamline social media marketing tasks using Python. It includes features for tweeting, image generation, and web scraping.

Video Demonstration

Watch the video demonstration of the Twitter Marketing MCP in action:

Linkedin Post

Watch the video demonstration on LinkedIn

Related MCP server: RemixPost MCP Server

Features

1. Tweet Posting

Post tweets with or without images directly to Twitter.

2. Image Generation

Generate images based on text prompts using Google's Gemini API.

3. Web Scraping

Perform localized Google-like searches using the Serper API.

Installation

  1. Clone the repository:

    git clone https://github.com/rugvedp/Twitter-Marketing-MCP.git
    cd Twitter-Marketing-MCP
  2. Install dependencies:

    pip install requirements.txt
    mcp install script.py
  3. Create a .env file with the following keys:

    X_api_key=<your_twitter_api_key>
    X_api_key_sec=<your_twitter_api_secret>
    X_access_token=<your_twitter_access_token>
    X_access_token_sec=<your_twitter_access_token_secret>
    X_bearer_token=<your_twitter_bearer_token>
    GEMINI_API_KEY=<your_gemini_api_key>
    serper_api=<your_serper_api_key>

Usage

Open your claude desktop you will see the Twitter Marketing MCP` is ready to use.

If not then Copy paste the config.json into your claude_desktop_config.json

Folder Structure

.
├── generated_images/   # Folder for storing generated images
├── script.py           # MCP core logic
├── .env                # Environment variables
├── requirements.txt    # Python dependencies
└── readme.md           # Project documentation

License

This project is licensed under the MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A powerful LinkedIn Profile Analyzer that seamlessly integrates with Claude AI to fetch and analyze public LinkedIn profiles, enabling users to extract, search, and analyze posts data through RapidAPI's LinkedIn Data API.
      35
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that repurposes text or URL content into platform-optimized posts for Twitter, LinkedIn, Instagram, and newsletters using AI. It enables users to automatically transform articles and blog posts into engagement-ready social media threads and professional captions.
      -
    • A
      license
      B
      quality
      D
      maintenance
      Enables interacting with Twitter/X through natural language, including searching tweets, posting, sending DMs, and managing timelines via any MCP client.
      8
      MIT