Twitter MCP Tool
Twitter MCPツール
このリポジトリには、Pythonを使ってソーシャルメディアのタスクを効率化するために設計されたTwitter MCPツールが含まれています。ツイート、ユーザー名の変更履歴、最近のツイートの取得、ユーザーへのダイレクトメッセージの送信などの機能が含まれています。
特徴
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>
使用法
claude デスクトップを開くと、Twitter MCP ツールが使用できる状態になっていることがわかります。
そうでない場合は、 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 installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceEnables interaction with X (formerly Twitter), allowing for posting tweets, searching content, managing accounts, and organizing lists.123MIT
- 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.314
- 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
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.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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