Skip to main content
Glama

X(Twitter) MCP Server

by vidhupv

X(Twitter) MCP サーバー

Claude チャットを通じて X/Twitter 投稿を直接作成、管理、公開するための MCP サーバー。

クイックセットアップ

Smithery経由でインストール

Smithery経由で Claude Desktop に X(Twitter) MCP サーバーを自動的にインストールするには:

npx -y @smithery/cli install x-mcp --client claude

手動インストール

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/x-mcp.git
  1. ターミナルで Homebrew を使用して UV をグローバルにインストールします。
brew install uv
  1. claude_desktop_config.json を作成します。
    • MacOSの場合: ~/Library/Application Support/Claude/ディレクトリを開き、その中にファイルを作成します。
    • Windowsの場合: %APPDATA%/Claude/ディレクトリを開き、その中にファイルを作成します。
  2. この構成を claude_desktop_config.json に追加します。
{ "mcpServers": { "x_mcp": { "command": "uv", "args": [ "--directory", "/path/to/x-mcp", "run", "x-mcp" ], "env": { "TWITTER_API_KEY": "your_api_key", "TWITTER_API_SECRET": "your_api_secret", "TWITTER_ACCESS_TOKEN": "your_access_token", "TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret" } } } }
  1. X/Twitter API 資格情報を取得します。
    • X API開発者ポータルへ移動
    • プロジェクトを作成する
    • ユーザー認証設定:読み取りと書き込みの権限を設定し、Webアプリの種類
    • コールバック URL をhttp://localhost/に設定し、ウェブサイト URL をhttp://example.com/に設定します。
    • キーとトークンのセクションからすべてのキーとトークンを生成してコピーします
  2. 設定ファイルを更新します。
    • /path/to/x-mcp実際のリポジトリパスに置き換えます。
    • X/Twitter API 認証情報を追加する
  3. クロードを完全に終了して再度開く

使用例

  • 「『AI でツイートする方法を学んだ - 驚き!🤖✨』とツイート」
  • 「ピザの歴史についてのスレッドを作成」
  • 「下書きツイートを見せて」
  • 「この下書きを公開してください!」
  • 「その下書きを削除」

トラブルシューティング

動作しない場合:

  • UV がグローバルにインストールされていることを確認します (インストールされていない場合は、 pip uninstall uvでアンインストールし、 brew install uvで再インストールします)
  • またはUVパスを見つけてwhich uv``"command": "uv"フルパスに置き換えます
  • すべてのX/Twitter認証情報が正しいことを確認する
  • config の x-mcp パスが実際のリポジトリの場所と一致しているかどうかを確認します。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude がチャット インターフェイスを通じて直接 X/Twitter 投稿を作成、管理、公開できるようにする MCP サーバー。

  1. クイックセットアップ
    1. Smithery経由でインストール
    2. 手動インストール
  2. 使用例
    1. トラブルシューティング

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Server for X (Twitter) integration that provides tools for reading your timeline and engaging with tweets. Designed for use with Claude desktop.
        Last updated -
        3
        8
        9
        JavaScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables saving and sharing Claude Desktop conversations, allowing users to store chats privately or make them public through a web interface.
        Last updated -
        2
        6
        TypeScript
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        An MCP server that enables Claude to interact with Twitter, allowing for posting tweets and searching Twitter content.
        Last updated -
        2
        108
        195
        TypeScript
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        A server that enables interaction with Telegram chats directly through MCP-compatible hosts like Claude for Desktop, providing tools to retrieve chats, get messages, and send messages.
        Last updated -
        134
        Python
        Apache 2.0
        • Apple
        • Linux

      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/vidhupv/x-mcp'

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