Skip to main content
Glama

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: Maya MCP

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.

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/rugvedp/Twitter-Marketing-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server