Skip to main content
Glama

mcp-twitter

by LuniaKunal

Twitter MCP サーバー

Twitter MCP (マルチチャンネル プラットフォーム) サーバーにようこそ! このアプリケーションは、さまざまな強力な機能を使用して、Twitter アカウントをプログラムで管理するのに役立ちます。

特徴

  • タイムラインを取得: Twitter のホーム タイムラインを取得します。
  • **任意のユーザーのツイートを取得:**公開されている Twitter ユーザーからのツイートを取得します。
  • **ハッシュタグ検索:**任意のハッシュタグ (例: #AI ) を含むツイートを検索します。
  • **返信と要約を取得:**ツイートへの返信を取得し、要約された洞察を取得します。
  • ユーザーダイレクトメッセージ: Twitter DM を送受信します。
  • **投稿を作成:**プログラムで新しいツイートを作成します。
  • 投稿を削除: API 経由でツイートを削除します。
  • その他にもいろいろあります...

Twitter MCP サーバー

はじめる

前提条件

  • Python 3.11以上
  • uvicorn (サーバー実行用)
  • Twitter API 認証情報 ( .envファイルで設定)

インストール

  1. このリポジトリをクローンします。
  2. 依存関係をインストールします:
    pip install -r requirements.txt
  3. Twitter API 資格情報を使用して.envファイルを設定します ( .env.exampleを参照)。

アプリケーションの実行

サーバーを起動するには、次のコマンドを実行します。

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" } } } }

ぜひお気軽に貢献したり、新しい機能を提案してください。

-
security - not tested
F
license - not found
-
quality - not tested

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.

mcp-twitter

  1. 特徴
    1. はじめる
      1. 前提条件
      2. インストール
      3. アプリケーションの実行

    Related MCP Servers

    View all related MCP servers

    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/LuniaKunal/mcp-twitter'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server