
crazyrabbitltc/mcp-twitter-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Twitter 액세스를위한 모델 Context Protocol Server
개요
전문 워크플로우 자동화, 향상된 오류 처리 및 실시간 문서와 X (Twitter) API 통합을위한 포괄적 인 모델 Context Protocol 서버 구현. - - 33 Twitter API + 20 향상된 SocialData.tools 연구 기능 - - 스레드 분석, 네트워크 매핑, 침입 분석, 바이러스 추적 - - Pro 계층 요구없이 향상된 연구 도구 작업 - 명확한 업그레이드 안내 및 우아한 API 키 처리 - - 사전 제작 자동화 템플릿 - - 실시간 API 문서 및 상태 - 도구, 신속한 및 리소스 지원 - 노드.
개요(AI 번역)
전문 워크플로우 자동화, 향상된 오류 처리 및 실시간 문서와 X (Twitter) API 통합을위한 포괄적 인 모델 Context Protocol 서버 구현.
♨ 특징
-53 Total Tools - 33 Twitter API + 20 향상된 SocialData.tools 연구 기능
- Advanced Analytics - 스레드 분석, 네트워크 매핑, 시술 분석, 바이러스 추적 -Bypasses API Restrictions - Pro 계층 요구 없이 향상된 연구 도구 작업
- **Professional 오류 처리 ** - 명확한 업그레이드 안내 및 우아한 API 키 처리
- 5 Workflow Prompts - 사전 제작 자동화 템플릿
- 6 Dynamic Resources - 실시간 API 문서 및 상태 -Full MCP Compliance - 도구, 프롬프트 및 리소스 지원
Quick 빠른 시작
# 필수품
- 노드.js 18+
- npm 또는 원사
- X (Twitter) API 자격 증명 (기본 계층 최소 - $ 200 / 월)
# 현지 설치
-
** 복제 및 설치 **
-
** 환경 설정**
** 필수 환경 변수:**
-
** 건물 및 실행 **
-
** 서버 테스트 **
☸ X (터치) API 설정
필수 필수 필수
.env] 파일에 추가:
API 접근 수준
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
X (Twitter) MCP Server
A comprehensive Model Context Protocol server implementation for X (Twitter) API integration with professional workflow automation, enhanced error handling, and real-time documentation.
🚀 Features
- 53 Total Tools - 33 Twitter API + 20 enhanced SocialData.tools research capabilities
- Advanced Analytics - Thread analysis, network mapping, sentiment analysis, viral tracking
- Bypasses API Restrictions - Enhanced research tools work without Pro tier requirements
- Professional Error Handling - Clear upgrade guidance and graceful API key handling
- 5 Workflow Prompts - Pre-built automation templates
- 6 Dynamic Resources - Real-time API documentation and status
- Full MCP Compliance - Tools, prompts, and resources support
📋 Quick Start
Prerequisites
- Node.js 18+
- npm or yarn
- X (Twitter) API credentials (Basic tier minimum - $200/month)
Local Installation
-
Clone and Install
git clone cd twitter-server npm install -
Environment Setup
cp .env.example .env # Edit .env with your credentialsRequired Environment Variables:
# Twitter API credentials (Required) X_API_KEY=your_api_key_here X_API_SECRET=your_api_secret_here X_ACCESS_TOKEN=your_access_token_here X_ACCESS_TOKEN_SECRET=your_access_token_secret_here # SocialData.tools API key (Optional - enables enhanced research tools) SOCIALDATA_API_KEY=your_socialdata_api_key_here SOCIALDATA_BASE_URL=https://api.socialdata.tools # Optional, uses default if not set -
Build and Run
npm run build npm start -
Test the Server
# Test with JSON-RPC calls source .env && echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node dist/index.js # Test specific tool source .env && echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "getUserInfo", "arguments": {"username": "elonmusk"}}}' | node dist/index.js
🔑 X (Twitter) API Setup
Required Credentials
Add these to your .env file:
X_API_KEY=your_api_key_here
X_API_SECRET=your_api_secret_here
X_ACCESS_TOKEN=your_access_token_here
X_ACCESS_TOKEN_SECRET=your_access_token_secret_here
API Access Levels
| Tier | Cost | Working Tools | Limited Tools |
|---|---|---|---|
| Basic | $200/month | 18/22 tools | searchTweets, getHashtagAnalytics |
| Pro | $5,000/month | All 22 tools | None |
🛠️ Available Tools (53 Total)
🐦 Twitter API Tools (33 tools)
✅ Tweet Operations (All Working)
postTweet- Post new tweetsgetTweetById- Retrieve specific tweetsreplyToTweet- Reply to tweetsdeleteTweet- Delete your tweets
✅ Engagement (All Working)
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"x-twitter": {
"command": "node",
"args": ["/path/to/twitter-server/dist/index.js"],
"env": {
"X_API_KEY": "your_api_key",
"X_API_SECRET": "your_api_secret",
"X_ACCESS_TOKEN": "your_access_token",
"X_ACCESS_TOKEN_SECRET": "your_access_token_secret"
}
}
}
}