VX

vidhupv/x-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

61 stars 25 forks 品質 65 トレンド 13MIT

vidhupv/x-mcp は [https://github.com/vidhupv/x-mcp. からインポートされた MCP サーバーの候補です

概要

vidhupv/x-mcp は [https://github.com/vidhupv/x-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Claudeチャットで直接X/Twitter投稿を作成、管理、公開するMCPサーバー。

クイックセットアップ

##Smitheryでインストールする

X(Twitter) MCP Server for Claude デスクトップをSmisery経由で自動的にインストールするには:

手動インストール

  1. リポジトリのクローン化:

2.ターミナルでHomebrewを使用して世界中で紫外線を取付けて下さい:

  1. claude desktop config.json を作成します。
  • MacOSの場合: ディレクトリ ~/Library/Application Support/Claude/を開き、その中のファイルを作成します。
  • Windowsの場合:ディレクトリ[%APPDATA%/Claude/を開き、その中のファイルを作成します。
  1. この設定を claude desktop config.json に追加します。

5。 X / Twitter APIの資格情報を取得します。

  • X API 開発者ポータル
  • プロジェクトを作成する
  • ユーザー認証設定: 読み取り権限と書き込み権限で設定、Web App タイプ
  • コールバックURLを[http://localhost/に設定し、URLを[[http://example.com/に設定します。
  • キーとトークンセクションからすべてのキーとトークンを生成し、コピーする
  1. 設定ファイルの更新:
  • 実際のリポジトリパスで[/path/to/x-mcpを置換する
  • X / Twitter APIの資格情報を追加
  1. クイット・クラウデは完全にそしてそれを再開し。

使用例

※「Tweet ‘JustがAIを通してツイートする方法を学びました - 心が吹きました! ✨’」

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

X(Twitter) MCP server

An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.

Quick Setup

Installing via Smithery

To install X(Twitter) MCP Server for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone the repository:
git clone https://github.com/yourusername/x-mcp.git
  1. Install UV globally using Homebrew in Terminal:
brew install uv
  1. Create claude_desktop_config.json:

    • For MacOS: Open directory ~/Library/Application Support/Claude/ and create the file inside it
    • For Windows: Open directory %APPDATA%/Claude/ and create the file inside it
  2. Add this configuration to 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. Get your X/Twitter API credentials:

    • Go to X API Developer Portal
    • Create a project
    • In User Authentication Settings: Set up with Read and Write permissions, Web App type
    • Set Callback URL to http://localhost/ and Website URL to http://example.com/
    • Generate and copy all keys and tokens from Keys and Tokens section
  2. Update the config file:

    • Replace /path/to/x-mcp with your actual repository path
    • Add your X/Twitter API credentials
  3. Quit Claude completely and reopen it

Usage Examples

  • “Tweet ‘Just learned how to tweet through AI - mind blown! 🤖✨’”
  • “Create a thread about the history of pizza”
  • “Show me my draft tweets”
  • “Publish this draft!”
  • “Delete that draft”

Troubleshooting

If not working:

  • Make sure UV is installed globally (if not, uninstall with pip uninstall uv and reinstall with brew install uv)
  • Or find UV path with which uv and replace "command": "uv" with the full path
  • Verify all X/Twitter credentials are correct
  • Check if the x-mcp path in config matches your actual repository location
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install x-mcp --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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