Twitter MCP Tool
Twitter MCP-инструмент
Этот репозиторий содержит Twitter MCP Tool , инструмент, разработанный для оптимизации задач социальных сетей с использованием Python. Он включает функции для твитов, истории изменения имени пользователя, получения последних твитов и отправки прямого сообщения пользователю.
Функции
1. Публикация твитов
Публикуйте твиты с изображениями или без них прямо в Twitter.
2. Запрос изменений имени пользователя
Отслеживайте историю смены имени пользователя любой учетной записи Twitter.
3. Получить последние твиты
Получите последние твиты из ленты новостей любого публичного пользователя Twitter.
4. Отправьте личное сообщение (DM)
Отправьте личное сообщение напрямую пользователю Twitter.
Related MCP server: X MCP Server
Установка зависимостей и запуск
Клонируйте репозиторий, используя
git clone https://github.com/jalaj-pandey/twitter-mcp-tool.gitУстановить зависимости:
uv venv .venv\Scripts\activate pip install -r requirements.txt mcp dev script.pyА если вы хотите установить его на рабочий стол Клода, то используйте
pip install script.pyСоздайте файл
.envсо следующими ключами: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>
Использование
Откройте рабочий стол Клода и вы увидите, что Twitter MCP Tool готов к использованию.
Если нет, то скопируйте и вставьте config.json в ваш claude_desktop_config.json.
Структура папки
.
├── script.py # MCP core logic
├── .env # Environment variables
├── requirements.txt # Python dependencies
├── config.json # config file for claude desktop
└── readme.md # Project documentationThis server cannot be deployed
Maintenance
Related MCP Connectors
- BlotatoOAuthcom.blotato
Social media APIs for scheduling, analytics, and DM automation.
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
Twitter/X read-only MCP server — 12 tools: search, users, tweets, followers, timelines, trends.
X Twitter scraper & Twitter API alternative. Search, monitor, publish & manage X accounts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with X (formerly Twitter), allowing for posting tweets, searching content, managing accounts, and organizing lists.10 npm3MIT
- FlicenseBqualityDmaintenanceEnables 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.39 npm-
- FlicenseNot gradedqualityDmaintenanceEnables LLM agents to interact with Twitter (X) for searching tweets, posting content with images, analyzing engagement, and extracting topics using the Twitter API.-
- AlicenseNot gradedqualityDmaintenanceEnables 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