Skip to main content
Glama
jalaj-pandey

Twitter MCP Tool

by jalaj-pandey

트위터 MCP 도구

이 저장소에는 Python을 사용하여 소셜 미디어 작업을 간소화하도록 설계된 Twitter MCP 도구가 포함되어 있습니다. 트윗, 사용자 이름 변경 내역, 최근 트윗 가져오기, 사용자에게 쪽지 보내기 등의 기능이 포함되어 있습니다.

특징

1. 트윗 게시

이미지가 있거나 없는 트윗을 Twitter에 직접 게시하세요.

2. 사용자 이름 변경 사항 쿼리

모든 Twitter 계정의 사용자 이름 변경 내역을 추적합니다.

3. 최근 트윗 가져오기

모든 공개 Twitter 사용자의 타임라인에서 최신 트윗을 검색합니다.

4. DM(다이렉트 메시지) 보내기

Twitter 사용자에게 직접 개인 메시지를 보내세요.

Related MCP server: X MCP Server

종속성 설치 및 실행

  1. 다음을 사용하여 저장소를 복제합니다.

    지엑스피1

  2. 종속성 설치:

    uv venv
    .venv\Scripts\activate
    pip install -r requirements.txt
    mcp dev script.py

    그리고 Claude 데스크탑에 설치하고 싶다면 다음을 사용하세요.

    pip install script.py
  3. 다음 키를 사용하여 .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 도구가 사용 준비가 된 것을 볼 수 있습니다.

그렇지 않은 경우 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 documentation

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with X (formerly Twitter), allowing for posting tweets, searching content, managing accounts, and organizing lists.
    10 npm
    3
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables 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.
    3
    9 npm
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLM agents to interact with Twitter (X) for searching tweets, posting content with images, analyzing engagement, and extracting topics using the Twitter API.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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

Appeared in Searches