트위터 MCP 서버
agent-twitter-client 라이브러리를 사용하여 Twitter와 상호작용하기 위한 도구를 제공하는 MCP(Model Context Protocol) 서버입니다.
특징
getTweet : ID로 트윗을 검색합니다.
sendTweet : Twitter에 새 트윗을 게시합니다.
필수 조건
Node.js(v14 이상)
npm 또는 yarn
트위터 계정 자격 증명
설치
이 저장소를 복제하세요
종속성 설치:
지엑스피1
Twitter 자격 증명을 사용하여 루트 디렉토리에
.env파일을 만듭니다.
용법
서버 실행
FastMCP CLI 도구를 사용하여 서버를 실행할 수 있습니다.
도구 사용
겟트윗
ID로 트윗을 검색합니다.
매개변수:
tweetId(문자열): 검색할 트윗의 ID
예:
트윗 보내기
Twitter에 새로운 트윗을 게시합니다.
매개변수:
text(문자열): 보낼 트윗의 텍스트 내용
예:
개발
이 서버는 다음을 사용하여 구축되었습니다.
FastMCP - MCP 서버 구축을 위한 TypeScript 프레임워크
agent-twitter-client - 트위터 클라이언트 라이브러리
TypeScript 코드를 작성하려면:
특허
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
agent-twitter-client 라이브러리를 사용하여 ID로 트윗을 검색하고 새로운 트윗을 게시하는 등 Twitter와 상호작용하기 위한 도구를 제공합니다.
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityEnables interaction with Twitter through a Model Context Protocol, allowing large language models to post tweets, search for tweets, and reply to tweets.Last updated -53221MIT License
- -security-license-qualityProvides AI agents with comprehensive Twitter functionality through the Model Context Protocol standard, enabling reading tweets, posting content, managing interactions, and accessing timeline data with robust error handling.Last updated -117
- -security-license-qualityA Python-based tool that streamlines social media tasks by enabling users to post tweets, track username changes, fetch recent tweets, and send direct messages on Twitter.Last updated -
- -security-license-qualityProvides social media functionality for AI agents, enabling them to login with unique handles, read filtered posts, and create posts or replies within team-based discussions.Last updated -5