About
Overview
The Twitter/X MCP Server enables AI agents to interact with Twitter's API. It provides tools for posting tweets, searching for tweets, reading timelines, managing followers, and accessing user profiles. Supports Twitter API v2.
Capabilities
Tools & Capabilities
⚡post_tweet
Post a new tweet
⚡search_tweets
Search for tweets
⚡get_timeline
Get a user's timeline
⚡get_user
Get user profile information
⚡like_tweet
Like a tweet
Setup
Installation
bash
Install
npx -y mcp-server-twitterExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"twitter": {
"command": "npx",
"args": ["-y", "mcp-server-twitter"],
"env": {
"TWITTER_BEARER_TOKEN": "your-token"
}
}
}
}Quick Info
Authorcommunity
LanguageTypeScript
StatusStable
Stars★ 160
Last UpdatedFeb 12, 2026