Twitter MCP Tool

by jalaj-pandey

Integrations

  • Uses environment variables stored in .env files to securely manage Twitter API keys and other sensitive credentials

  • Supports repository cloning as part of the installation process

  • Hosts the repository that can be cloned during installation

Twitter MCP-Tool

Dieses Repository enthält das Twitter MCP Tool , ein Tool zur Optimierung von Social-Media-Aufgaben mit Python. Es bietet Funktionen zum Twittern, zum Ändern des Benutzernamenverlaufs, zum Abrufen aktueller Tweets und zum Senden einer Direktnachricht an einen Benutzer.

Merkmale

1. Tweet-Posting

Posten Sie Tweets mit oder ohne Bilder direkt auf Twitter.

2. Änderungen am Benutzernamen abfragen

Verfolgen Sie den Änderungsverlauf des Benutzernamens aller Twitter-Konten.

3. Aktuelle Tweets abrufen

Rufen Sie die neuesten Tweets aus der Timeline eines beliebigen öffentlichen Twitter-Benutzers ab.

4. Senden Sie eine Direktnachricht (DM)

Senden Sie eine private Nachricht direkt an einen Twitter-Benutzer.

Installieren von Abhängigkeiten und Ausführen

  1. Klonen Sie das Repo mit
    git clone https://github.com/jalaj-pandey/twitter-mcp-tool.git
  2. Installieren Sie Abhängigkeiten:
    uv venv .venv\Scripts\activate pip install -r requirements.txt mcp dev script.py
    Und wenn Sie es auf dem Claude-Desktop installieren möchten, verwenden Sie
    pip install script.py
  3. Erstellen Sie eine .env Datei mit den folgenden Schlüsseln:
    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>

Verwendung

Öffnen Sie Ihren Claude-Desktop. Sie werden sehen, dass das Twitter MCP-Tool einsatzbereit ist.

Wenn nicht, kopieren Sie die Datei config.json in Ihre claude_desktop_config.json

Ordnerstruktur

. ├── script.py # MCP core logic ├── .env # Environment variables ├── requirements.txt # Python dependencies ├── config.json # config file for claude desktop └── readme.md # Project documentation
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Ein Python-basiertes Tool, das Social-Media-Aufgaben rationalisiert, indem es Benutzern ermöglicht, Tweets zu posten, Benutzernamenänderungen zu verfolgen, aktuelle Tweets abzurufen und Direktnachrichten auf Twitter zu senden.

  1. Merkmale
    1. 1. Tweet-Posting
    2. 2. Änderungen am Benutzernamen abfragen
    3. 3. Aktuelle Tweets abrufen
    4. 4. Senden Sie eine Direktnachricht (DM)
  2. Installieren von Abhängigkeiten und Ausführen
    1. Verwendung
      1. Ordnerstruktur

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          Server for X (Twitter) integration that provides tools for reading your timeline and engaging with tweets. Designed for use with Claude desktop.
          Last updated -
          3
          0
          9
          JavaScript
          MIT License
        • A
          security
          A
          license
          A
          quality
          An MCP server that allows Claude to create, manage and publish X/Twitter posts directly through the chat interface.
          Last updated -
          5
          35
          Python
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          Provides AI agents with comprehensive Twitter functionality through the Model Context Protocol standard, enabling reading tweets, posting content, managing interactions, and accessing timeline data with robust error handling.
          Last updated -
          4
          1
          JavaScript
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.
          Last updated -
          2
          65
          202
          TypeScript
          MIT License
          • Apple

        View all related MCP servers

        ID: slcutxprv1