Skip to main content
Glama
jalaj-pandey

Twitter MCP Tool

by jalaj-pandey

Herramienta MCP de Twitter

Este repositorio contiene la herramienta MCP de Twitter , diseñada para optimizar las tareas en redes sociales con Python. Incluye funciones para tuitear, historial de cambios de nombre de usuario, obtener tuits recientes y enviar un mensaje directo a un usuario.

Características

1. Publicación de tweets

Publica tweets con o sin imágenes directamente en Twitter.

2. Consultar cambios de nombre de usuario

Realice un seguimiento del historial de cambios de nombre de usuario de cualquier cuenta de Twitter.

3. Obtener tweets recientes

Recupere los últimos tweets de la línea de tiempo de cualquier usuario público de Twitter.

4. Enviar un mensaje directo (DM)

Envía un mensaje privado directamente a un usuario de Twitter.

Related MCP server: X MCP Server

Instalación de dependencias y ejecución

  1. Clonar el repositorio usando

    git clone https://github.com/jalaj-pandey/twitter-mcp-tool.git
  2. Instalar dependencias:

    uv venv
    .venv\Scripts\activate
    pip install -r requirements.txt
    mcp dev script.py

    Y si quieres instalarlo en el escritorio de Claude entonces usa

    pip install script.py
  3. Crea un archivo .env con las siguientes claves:

    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>

Uso

Abra su escritorio de Claude y verá que la herramienta Twitter MCP está lista para usar.

De lo contrario, copie y pegue el config.json en su claude_desktop_config.json

Estructura de carpetas

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

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables users to interact with X (Twitter) through the X API. Supports posting tweets, retrieving user timelines, searching tweets, and replying to tweets with comprehensive error handling.
    3
    14
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLM agents to interact with Twitter (X) for searching tweets, posting content with images, analyzing engagement, and extracting topics using the Twitter API.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with X (Twitter) to post tweets, threads, and replies while retrieving tweet metrics and account information. It supports core management tasks like deleting tweets and verifying authentication through the Twitter API.
    MIT

View all related MCP servers

Related MCP Connectors

  • FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native

  • Hosted MCP for X/Twitter and Reddit. 12 read-only tools, no API keys, free during beta.

  • Unified social-media data across 10 networks: profiles, posts, search, comments, cross-search.

View all MCP Connectors

Appeared in Searches

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/jalaj-pandey/twitter-mcp-tool'

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