mcp-twitter

by LuniaKunal

Servidor MCP de Twitter

¡Bienvenido al servidor MCP (Plataforma Multicanal) de Twitter! Esta aplicación te ayuda a gestionar tu cuenta de Twitter programáticamente con diversas funciones potentes.

Características

  • Obtener línea de tiempo: recupera tu línea de tiempo de inicio de Twitter.
  • Obtener los tweets de cualquier usuario: obtenga tweets de cualquier usuario público de Twitter.
  • Búsqueda de hashtag: busca tweets que contengan cualquier hashtag (por ejemplo, #AI ).
  • Obtener respuestas y resúmenes: recupere respuestas a tweets y obtenga información resumida.
  • Mensajes directos de usuario: envía y recibe mensajes directos de Twitter.
  • Crear publicación: crea nuevos tweets mediante programación.
  • Eliminar publicación: elimina tus tweets a través de la API.
  • Y mucho más...

Empezando

Prerrequisitos

  • Python 3.8+
  • uvicorn (para ejecutar el servidor)
  • Credenciales de la API de Twitter (establecidas en el archivo .env )

Instalación

  1. Clonar este repositorio.
  2. Instalar dependencias:
    pip install -r requirements.txt
  3. Configura tu archivo .env con tus credenciales de API de Twitter (ver .env.example ).

Ejecutar la aplicación

Para iniciar el servidor, ejecute:

uv run --with twikit --with mcp Path\\src\\tweet_service.py
{ "mcpServers": { "twitter-mcp": { "command": "uv", "args": [ "--directory", "Path\\src\\", "run", "--with", "twikit", "--with", "mcp", "tweet_service.py" ], "env": { "COOKIES_PATH": "Path\\cookies.json", "ENV_FILE": ".env" } } } }

¡Siéntete libre de contribuir o sugerir nuevas características!

-
security - not tested
-
license - not tested
-
quality - not tested

mcp-twitter

  1. Features
    1. Getting Started
      1. Prerequisites
      2. Installation
      3. Running the Application

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.
      Last updated -
      1
      16
      JavaScript
    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol (MCP) server for managing social media posts, currently supporting X (formerly Twitter).
      Last updated -
      3
      7
      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
    • 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
      90
      151
      TypeScript
      MIT License
      • Apple

    View all related MCP servers

    ID: gmfu9bkmjl