rugvedp

Twitter Marketing MCP

Community rugvedp
Updated

Twitter Post MCP with Gemini Image generation and web scrapping

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

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.

MCP Server · Populars

MCP Server · New

    logotype

    fixparser

    FIX5.0SP2 parser.

    Community logotype
    lucitra

    Linear MCP Server

    Enables AI agents to manage issues, projects, and teams on the Linear platform. MCP server.

    Community lucitra
    M-Pineapple

    Claude Project Coordinator

    Claude Project Coordinator is a Swift-powered MCP (Model Context Protocol) server designed to streamline multi-project Xcode development. It lets you track project status, auto-detect frameworks, search code patterns, and maintain a structured development knowledge base — all locally, with Claude Desktop as your assistant.

    Community M-Pineapple
    KOBA789

    Human-in-the-Loop MCP Server

    An MCP (Model Context Protocol) server that allows AI assistants to ask questions to humans via Discord.

    Community KOBA789
    chaitin

    SafeLine MCP Server

    SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

    Community chaitin