
xsh
Supports UIby benoitpetit
Complete Twitter/X CLI and MCP server using cookie-based authentication to bypass API keys.
What it does
xsh is a high-performance command-line interface and MCP server for Twitter/X. It eliminates the need for developer API keys by using browser cookie-based authentication, allowing AI agents to read timelines, search tweets, post content, and manage DMs directly.
Tools
get_feed: Retrieve the home or following timeline.search: Search for tweets using keywords or filters.post_tweet: Create new tweets, including those with images.get_user: Fetch detailed profile information for a user.dm_inbox: Access and manage direct messages.get_trending: Retrieve current worldwide or location-specific trends.search_jobs: Find job listings on X with various filters.download_media: Download images and videos from tweets.
Installation
Add to your claude_desktop_config.json:
{
"mcpServers": {
"xsh": {
"command": "xsh",
"args": ["mcp"]
}
}
}
Supported hosts
- Claude Desktop
- Cursor
Quick install
go install github.com/benoitpetit/xsh@latestInformation
- Pricing
- free
- Published
- 5/28/2026
- stars






