Back to MCP Directory
Connections & Capabilities
Connects To
GitHub
Capabilities
readwriteexec
Quickstart
Install
pip install -rConfig
{
"mcpServers": {
"twitter-mcp": {
"command": "uv",
"args": [
"--directory",
"Path\\src\\",
"run",
"--with",
"twikit",
"--with",
"mcp",
"tweet_service.py"
],
"env": {
"COOKIES_PATH": "Path\\cookies.json",
"ENV_FILE": ".env"
}
}
}
}Exposed MCP Tools (7)
safe
Get TimelineRetrieves the user's Twitter home timeline.
Read-only operation.
safe
Get Any User's TweetsFetches tweets from any public Twitter user.
Read-only operation.
safe
Hashtag SearchSearches for tweets containing a specific hashtag.
Read-only operation.
safe
Get Replies & SummariesRetrieves replies to tweets and provides summarized insights.
Read-only operation.
moderate
User Direct MessagesSends and receives Twitter direct messages.
Involves sending messages.
moderate
Create PostProgrammatically creates new tweets.
Creates new content on the platform.
high
Delete PostDeletes tweets through the API.
Deletes user-generated content.
