Summary
MCP-Twikit provides Twitter search and interaction capabilities for AI assistants through the FastMCP framework. Built by Adhika Setya Pramudita, it leverages the Twikit library to enable both read operations (searching tweets, viewing timelines, retrieving user tweets) and write operations (posting tweets, sending direct messages) with built-in rate limiting. The implementation authenticates using Twitter credentials stored as environment variables, manages cookies for persistent sessions, and formats tweet data in markdown for easy readability, making it ideal for workflows requiring Twitter monitoring, social media analysis, or automated Twitter interactions.
Available Actions(3)
compare
Compare sentiments across different Twitter accounts. Parameters: the number of tweets (integer), list of Twitter accounts (string).
search_twitter
Search for tweets directed at a specific Twitter user. Parameters: query (string), count (integer), sort_by (string).
get_timeline
Retrieve the latest tweets from the user's Twitter timeline. Parameters: None.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论