Servidor MCP de Twitter
Un servidor MCP (Protocolo de contexto de modelo) que proporciona herramientas para interactuar con Twitter utilizando la biblioteca agente-twitter-cliente.
Características
- getTweet : recupera un tweet por su ID
- sendTweet : Publica un nuevo tweet en Twitter
Prerrequisitos
- Node.js (v14 o superior)
- npm o hilo
- Credenciales de la cuenta de Twitter
Instalación
- Clonar este repositorio
- Instalar dependencias:
- Crea un archivo
.env
en el directorio raíz con tus credenciales de Twitter:
Uso
Ejecución del servidor
Puede ejecutar el servidor utilizando las herramientas CLI de FastMCP:
Usando las herramientas
obtenerTweet
Recupera un tweet por su ID.
Parámetros:
tweetId
(cadena): el ID del tweet a recuperar
Ejemplo:
enviarTweet
Publica un nuevo tweet en Twitter.
Parámetros:
text
(cadena): El contenido de texto del tweet a enviar
Ejemplo:
Desarrollo
Este servidor está construido utilizando:
- FastMCP : un marco de TypeScript para crear servidores MCP
- agent-twitter-client : una biblioteca de clientes de Twitter
Para construir el código TypeScript:
Licencia
Instituto Tecnológico de Massachusetts (MIT)
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Proporciona herramientas para interactuar con Twitter para recuperar tweets por ID y publicar nuevos tweets utilizando la biblioteca agent-twitter-client.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityServer for X (Twitter) integration that provides tools for reading your timeline and engaging with tweets. Designed for use with Claude desktop.Last updated -389JavaScriptMIT License
- -securityAlicense-qualityEnables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.Last updated -2521215TypeScriptMIT License
- -securityFlicense-qualityProvides 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 -41JavaScript
- -securityAlicense-qualityAllows Claude and other MCP-compatible AI models to access TweetBinder by Audiense analytics data, enabling analysis of hashtags, users, and conversations on Twitter/X with engagement metrics, sentiment analysis, and report generation.Last updated -1TypeScriptApache 2.0