Twitter MCP Server
트위터 MCP 서버
이 MCP 서버를 통해 클라이언트는 Twitter와 상호 작용하여 트윗을 게시하고 Twitter를 검색할 수 있습니다.
빠른 시작
Twitter 개발자 계정을 만들고 Twitter 개발자 포털 에서 API 키를 받으세요.
Claude Desktop 구성 파일에 다음 구성을 추가하세요.
윈도우 : %APPDATA%\Claude\claude_desktop_config.json
macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
지엑스피1
Claude Desktop을 다시 시작하세요
이제 Claude는 두 가지 도구를 통해 Twitter와 소통할 수 있습니다.
post_tweet: 새로운 트윗을 게시합니다search_tweets: 트윗 검색
Related MCP server: twitter-mcp
사용 예
클로드에게 물어보세요:
"클로드가 전하는 안녕하세요!"라는 트윗을 올려주시겠어요?
"클로드 AI에 대한 트윗을 검색할 수 있나요?"
문제 해결
로그는 다음 위치에서 찾을 수 있습니다.
Windows :
%APPDATA%\Claude\logs\mcp-server-twitter.logmacOS :
~/Library/Logs/Claude/mcp-server-twitter.log
개발
소스에서 기여하거나 실행하려면:
저장소를 복제합니다.
git clone https://github.com/EnesCinr/twitter-mcp.git
cd twitter-mcp종속성 설치:
npm install짓다:
npm run build달리다:
npm start실행 평가
evals 패키지는 index.ts 파일을 실행하는 mcp 클라이언트를 로드하므로 테스트 사이에 다시 빌드할 필요가 없습니다. npx 명령 앞에 접두사를 붙여 환경 변수를 로드할 수 있습니다. 전체 문서는 여기에서 확인할 수 있습니다.
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.ts특허
MIT
Available Tools
3 toolsget_home_timelineA
Get recent tweets from accounts you follow (your home timeline), newest first. Requires a paid X API tier (Basic or higher).
Inputs: count, since_days, start_time.
post_tweetB
Post a new tweet to Twitter, optionally with up to 4 images
Inputs: text (required), media_paths, reply_to_tweet_id.
search_tweetsC
Search for tweets on Twitter
Inputs: count (required), query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool maps to a distinct action: writing a tweet, reading the followed-accounts feed, and keyword search. The two read tools could be marginally confused, but the descriptions (home timeline vs. search) make the boundary clear.
All three names follow a consistent verb_noun snake_case pattern: post_tweet, get_home_timeline, search_tweets. No mixing of conventions or vague verbs.
Three tools is thin for a Twitter/X integration, covering only post and two read paths. It is a reasonable minimal surface but leaves the server feeling under-built for its scope.
The surface is essentially write-once plus two read paths: there is no delete_tweet, no reply/thread support, no user lookup, mentions, likes, or retweet operations. Agents attempting common Twitter workflows (replying, deleting, checking a user's profile) will hit dead ends.
Maintenance
Related MCP Connectors
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Official MCP server for twitterapis.com. Twitter/X search, users, DMs, Grok, monitoring and writes.
Hosted MCP server from TwitterAPI.io that gives AI agents read-only access to Twitter/X data. 12 tools: tweet search with X operators, user profiles, a user's latest tweets, followers and followings, replies, quotes, retweeters, mentions and trends. Connect at https://mcp.twitterapi.io/mcp with a TwitterAPI.io API key or account sign-in; usage is paid per result returned. Separately, TwitterAPI.io also offers x402 pay-per-call HTTP endpoints (tweet search, user info, a user's latest tweets) paid in USDC on Base or Solana with no account or API key; see https://docs.twitterapi.io/x402-pay-per-call. The MCP server itself uses an API key or sign-in.
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that allows Claude to create, manage and publish X/Twitter posts directly through the chat interface.561MIT
- FlicenseNot gradedqualityCmaintenanceA lightweight Twitter MCP server for Claude Code with 17 tools for reading and writing tweets, including search, user profiles, and media uploads, using a hybrid API approach.2-
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server that provides access to Twitter data through the TwitterAPI.io service, enabling Claude and other MCP clients to interact with Twitter's ecosystem without requiring Twitter developer account approval.1111 npm4MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables posting tweets, reading timelines, searching posts, and interacting with X (Twitter) API.17 npm2MIT