TT

taazkareem/twitter-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

21 stars 7 forks 품질 55 트렌드 0

Twitter MCP 서버 저장소

개요

AI Agent의 강력한 Twitter 통합은 Model Context Protocol (MCP) 표준을 활용하여 깨끗하고 일관성있는 인터페이스를 통해 Twitter 기능의 종합 세트를 제공합니다. 이 서버는 MCP 도구를 통해 Twitter의 기능에 액세스 할 수 있으며 AI Assistants 및 기타 MCP 호환 클라이언트와 완벽하게 통합 할 수 있습니다. 에이전트 트위터 클라이언트 라이브러리의 상단에 내장되어 강력한 오류 처리, 속도 제한 및 일관된 응답 포맷을 제공합니다. - 미디어 지원으로 사용자의 트윗을 얻으세요 - 상세 정보와 Fetch 사용자 프로필 - 해시 태그 또는 키워드로 트윗을 검색 - 최신/위로 검색 결과 필터 - 제한 속도 (최대 50 리트 윗) - Like/Unlike tweets - Retweet/Undo retweet - 트윗과 함께: - 텍스트 콘텐츠 - 미디어 첨부 파일 (이미지, 동영상) - 대답 기능 - 리트 윗 기능 - 사용자의 관계를 얻기 (followers/following) - Fetch 추세 주제 - 다른 타임 라인 유형 액세스 : - 홈 타임 라인 - ...

개요(AI 번역)

AI Agent의 강력한 Twitter 통합은 Model Context Protocol (MCP) 표준을 활용하여 깨끗하고 일관성있는 인터페이스를 통해 Twitter 기능의 종합 세트를 제공합니다.

개요

이 서버는 MCP 도구를 통해 Twitter의 기능에 액세스 할 수 있으며 AI Assistants 및 기타 MCP 호환 클라이언트와 완벽하게 통합 할 수 있습니다. agent-twitter-client] 라이브러리의 상단에 내장되어 강력한 오류 처리, 속도 제한 및 일관된 응답 포맷을 제공합니다.

특징

기본 읽기

  • 미디어 지원으로 사용자의 트윗 받기
  • 상세한 정보와 Fetch 사용자 프로필
  • 해시 태그 또는 키워드로 트윗 검색
  • 최신/탑 필터 검색 결과
  • 제한 비율 (요구 당 최대 50 트윗)

사용자 상호 작용

  • Like/Unlike의 트윗
  • 리트윗/Undo 리트윗
  • 트윗:
  • 텍스트 내용
  • 미디어 첨부 파일 (images, videos)
  • 응답 기능
  • 인용 트윗 기능

고급 기능

  • 사용자 관계 받기 (followers/following)
  • Fetch 유행 주제
  • 접근 다른 타임라인 유형:
  • 홈 타임라인
  • 타임라인
  • 사용자 타임라인
  • 목록 관리 (문자 목록 트윗)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Twitter MCP Server

A powerful Twitter integration for AI agents that leverages the Model Context Protocol (MCP) standard, providing a comprehensive set of Twitter functionality through a clean and consistent interface.

Overview

This server provides access to Twitter’s features through MCP tools, allowing seamless integration with AI assistants and other MCP-compatible clients. It’s built on top of the agent-twitter-client library and provides robust error handling, rate limiting, and consistent response formatting.

Features

Basic Reading

  • Get tweets from users with media support
  • Fetch user profiles with detailed information
  • Search tweets by hashtags or keywords
  • Filter search results by latest/top
  • Rate limiting (max 50 tweets per request)

User Interactions

  • Like/Unlike tweets
  • Retweet/Undo retweet
  • Post tweets with:
    • Text content
    • Media attachments (images, videos)
    • Reply functionality
    • Quote tweet capability

Advanced Features

  • Get user relationships (followers/following)
  • Fetch trending topics
  • Access different timeline types:
    • Home timeline
    • Following timeline
    • User timeline
  • List management (fetch list tweets)

Media & Advanced Interactions

  • Media handling:
    • Image upload (JPEG, PNG, GIF)
    • Video upload (MP4)
    • Alt text support
  • Thread creation
  • Follow/Unfollow users

Tools

Reading Tools

  • get_tweets - Fetch recent tweets from a user
  • get_profile - Get a user’s profile information
  • search_tweets - Search for tweets by hashtag or keyword

Interaction Tools

  • like_tweet - Like or unlike a tweet
  • retweet - Retweet or undo retweet
  • post_tweet - Post a new tweet with optional media
  • create_thread - Create a Twitter thread

Timeline Tools

  • get_timeline - Get tweets from different timeline types
  • get_list_tweets - Get tweets from a Twitter list
  • get_trends - Get current trending topics

User Management Tools

  • get_user_relationships - Get followers or following list
  • follow_user - Follow or unfollow a user

Installation

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Configure environment variables:
# Required: Twitter Account Credentials (for user authentication)
TWITTER_USERNAME=your_username
TWITTER_PASSWORD=your_password
TWITTER_EMAIL=your_email

# Twitter API Authentication (Optional)
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
  1. Add the server config to your MCP client:

On MacOS:

~/Library/Application Support/Claude/claude_desktop_config.json

On Windows:

%APPDATA%/Claude/claude_desktop_config.json

Configuration:

{
  "mcpServers": {
    "twitter-mcp-server": {
      "command": "/path/to/twitter-mcp-server/build/index.js"
    }
  }
}

Development

For development with auto-rebuild:

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "twitter-mcp-server": { "command": "/path/to/twitter-mcp-server/build/index.js" } } }