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
2 toolspost_tweetB
Post a new tweet to Twitter
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The content of your tweet | |
| reply_to_tweet_id | No | Optional: ID of the tweet to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of disclosure. However, it only states the action without detailing any behavioral traits (e.g., authentication requirements, potential errors, rate limits, or that tweets are public). For a mutation tool, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise at a single sentence, with no superfluous words. It directly communicates the tool's purpose without any waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no output schema), the description is minimally adequate but lacks details such as expected return value (e.g., tweet ID) or any error conditions. It covers the basic action but leaves gaps for practical use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, so the schema already details both parameters. The description adds no extra meaning beyond what the schema provides, so it meets the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Post a new tweet to Twitter', which is a specific verb ('post') and resource ('tweet'). It distinguishes itself from the sibling tool 'search_tweets' by focusing on creation rather than retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No usage guidance is provided. The description does not specify when to use this tool versus the sibling 'search_tweets', nor does it mention any prerequisites, limitations, or contextual conditions for posting a tweet.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_tweetsC
Search for tweets on Twitter
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query | |
| count | Yes | Number of tweets to return (10-100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, so the description must bear the full burden. However, it only says 'Search for tweets' without disclosing any behavioral traits such as read-only nature, permissions required, rate limits, or result format. This is minimal disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise with one sentence, but it lacks detail that could be included without significant bloat. While it is not verbose, it is also not optimally informative for its length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and annotations, the description should compensate by explaining return values or usage constraints. It does not; it only states the basic operation, leaving many contextual gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already explains each parameter. The description does not add any additional meaning or context for the parameters beyond what the schema provides, so it meets the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool searches for tweets on Twitter, which is a specific verb+resource. It distinguishes from the sibling tool 'post_tweet' implicitly (search vs. post), but does not explicitly state the difference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus the sibling 'post_tweet' or any alternatives. The description simply states what it does, without context on appropriate usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v1.0.0- First observed
post_tweet - First observed
search_tweets
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one for posting tweets and one for searching tweets. There is no overlap in functionality.
Both tool names follow the verb_noun pattern: 'post_tweet' and 'search_tweets'. The naming is consistent and predictable.
With only 2 tools, the server feels thin for a Twitter API. It is borderline acceptable but lacks the breadth typically expected from a Twitter server.
The tool surface is severely incomplete. Missing fundamental operations like deleting tweets, liking, retweeting, or managing user interactions, which will cause agent failures.
Maintenance
Related MCP Connectors
Twitter/X read-only MCP server — 12 tools: search, users, tweets, followers, timelines, trends.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that allows Claude to create, manage and publish X/Twitter posts directly through the chat interface.561MIT
- AlicenseNot gradedqualityDmaintenanceA 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.14 npm2ISC
- 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.113 npm4MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables posting tweets, reading timelines, searching posts, and interacting with X (Twitter) API.6 npm2MIT