Skip to main content
Glama

Twitter MCP Server

by takiAA

트위터 MCP 서버

agent-twitter-client 라이브러리를 사용하여 Twitter와 상호작용하기 위한 도구를 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • getTweet : ID로 트윗을 검색합니다.
  • sendTweet : Twitter에 새 트윗을 게시합니다.

필수 조건

  • Node.js(v14 이상)
  • npm 또는 yarn
  • 트위터 계정 자격 증명

설치

  1. 이 저장소를 복제하세요
  2. 종속성 설치:

지엑스피1

  1. Twitter 자격 증명을 사용하여 루트 디렉토리에 .env 파일을 만듭니다.
TWITTER_USERNAME=your_twitter_username TWITTER_PASSWORD=your_twitter_password TWITTER_EMAIL=your_email@example.com (optional) TWITTER_2FA_SECRET=your_2fa_secret (optional) # Optional API credentials (used as fallback) TWITTER_API_KEY=your_api_key TWITTER_API_SECRET_KEY=your_api_secret_key TWITTER_ACCESS_TOKEN=your_access_token TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret

용법

서버 실행

FastMCP CLI 도구를 사용하여 서버를 실행할 수 있습니다.

# For development and testing in the terminal npx fastmcp dev # For visual inspection with the MCP Inspector npx fastmcp inspect

도구 사용

겟트윗

ID로 트윗을 검색합니다.

매개변수:

  • tweetId (문자열): 검색할 트윗의 ID

예:

getTweet({"tweetId": "1734609533274853865"})
트윗 보내기

Twitter에 새로운 트윗을 게시합니다.

매개변수:

  • text (문자열): 보낼 트윗의 텍스트 내용

예:

sendTweet({"text": "Hello World from MCP!"})

개발

이 서버는 다음을 사용하여 구축되었습니다.

TypeScript 코드를 작성하려면:

npx tsc

특허

MIT

-
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.

agent-twitter-client 라이브러리를 사용하여 ID로 트윗을 검색하고 새로운 트윗을 게시하는 등 Twitter와 상호작용하기 위한 도구를 제공합니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. 용법
          1. 서버 실행
          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
            • -
              security
              A
              license
              -
              quality
              Enables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.
              Last updated -
              25
              212
              15
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              Provides AI agents with comprehensive Twitter functionality through the Model Context Protocol standard, enabling reading tweets, posting content, managing interactions, and accessing timeline data with robust error handling.
              Last updated -
              4
              1
              JavaScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              Allows Claude and other MCP-compatible AI models to access TweetBinder by Audiense analytics data, enabling analysis of hashtags, users, and conversations on Twitter/X with engagement metrics, sentiment analysis, and report generation.
              Last updated -
              1
              TypeScript
              Apache 2.0
              • Apple

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

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