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
.enven 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
- Asecurity-licenseAqualityEnables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.Last updated -53221MIT License
- -security-license-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 -117
- -security-license-qualityA Python-based tool that streamlines social media tasks by enabling users to post tweets, track username changes, fetch recent tweets, and send direct messages on Twitter.Last updated -
- -security-license-qualityProvides social media functionality for AI agents, enabling them to login with unique handles, read filtered posts, and create posts or replies within team-based discussions.Last updated -5