Twitter MCP Server
트위터 MCP 서버
AI 에이전트를 위한 강력한 Twitter 통합 솔루션으로, MCP(Model Context Protocol) 표준을 활용하여 깔끔하고 일관된 인터페이스를 통해 포괄적인 Twitter 기능 세트를 제공합니다.
개요
이 서버는 MCP 도구를 통해 Twitter 기능에 대한 액세스를 제공하여 AI 어시스턴트 및 기타 MCP 호환 클라이언트와의 원활한 통합을 지원합니다. agent-twitter-client 라이브러리를 기반으로 구축되었으며, 강력한 오류 처리, 속도 제한 및 일관된 응답 형식을 제공합니다.
Related MCP server: MCP Twitter
특징
기본 독해
미디어 지원을 통해 사용자의 트윗을 받으세요
자세한 정보가 포함된 사용자 프로필 가져오기
해시태그 또는 키워드로 트윗 검색
최신/인기순으로 검색 결과 필터링
속도 제한(요청당 최대 50개 트윗)
사용자 상호 작용
트윗 좋아요/싫어요
리트윗/리트윗 취소
다음과 같은 내용으로 트윗을 게시하세요:
텍스트 콘텐츠
미디어 첨부 파일(이미지, 비디오)
답장 기능
인용 트윗 기능
고급 기능
사용자 관계(팔로워/팔로잉) 가져오기
인기 주제 가져오기
다양한 타임라인 유형에 액세스:
홈 타임라인
타임라인을 따라가다
사용자 타임라인
목록 관리(목록 트윗 가져오기)
미디어 및 고급 상호 작용
미디어 처리:
이미지 업로드(JPEG, PNG, GIF)
비디오 업로드(MP4)
대체 텍스트 지원
스레드 생성
사용자 팔로우/팔로우 취소
도구
독서 도구
get_tweets- 사용자의 최근 트윗 가져오기get_profile- 사용자 프로필 정보 가져오기search_tweets- 해시태그 또는 키워드로 트윗 검색
상호작용 도구
like_tweet- 트윗에 좋아요 또는 싫어요 표시retweet- 리트윗 또는 리트윗 취소post_tweet- 선택적인 미디어를 포함한 새로운 트윗 게시create_thread- 트위터 스레드 만들기
타임라인 도구
get_timeline- 다양한 타임라인 유형에서 트윗 가져오기get_list_tweets- Twitter 목록에서 트윗 가져오기get_trends- 현재 인기 있는 주제 가져오기
사용자 관리 도구
get_user_relationships- 팔로워 또는 팔로잉 목록 가져오기follow_user- 사용자를 팔로우하거나 팔로우 취소합니다.
설치
종속성 설치:
지엑스피1
서버를 빌드하세요:
npm run build환경 변수 구성:
# 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_secretMCP 클라이언트에 서버 구성을 추가합니다.
MacOS의 경우:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows의 경우:
%APPDATA%/Claude/claude_desktop_config.json구성:
{
"mcpServers": {
"twitter-mcp-server": {
"command": "/path/to/twitter-mcp-server/build/index.js"
}
}
}개발
자동 재빌드를 사용한 개발의 경우:
npm run watch디버깅
MCP 서버는 stdio를 통해 통신하므로 MCP Inspector를 사용하여 디버깅할 수 있습니다.
npm run inspector검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
오류 처리
서버는 포괄적인 오류 처리를 구현합니다.
모든 매개변수에 대한 입력 검증
속도 제한 보호
자세한 오류 메시지
적절한 오류 전파
디버깅을 위한 로깅
응답 형식
모든 도구는 일관된 형식으로 응답을 반환합니다.
{
content: [{
type: "text",
text: string // JSON stringified response or error message
}]
}기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
특허
MIT 라이센스 - 자세한 내용은 라이센스 파일을 참조하세요.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.532425MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models and applications to interact directly with Twitter/X, providing capabilities to create posts, reply to tweets, retrieve user data, and manage account actions.1411MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI agents to interact with Twitter without direct API access, supporting tweet operations, user interactions, and Grok AI integration.141,63632MIT
- FlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables AI assistants to interact with Twitter functionality using cookie-based authentication, allowing for timeline access, tweet management, user information retrieval, and search capabilities.16
Related MCP Connectors
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/taazkareem/twitter-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server