skills/xactions-mcp-server/SKILL.md
Free MCP server providing 68+ tools for AI agents to automate X/Twitter. Scrapes profiles, followers, tweets. Posts, follows, likes, retweets, downloads videos, analyzes sentiment, monitors brands, manages DMs, runs workflows, and more. Uses local Puppeteer -- no API keys or payments required. Compatible with Claude Desktop, Cursor, Windsurf, VS Code. Use when setting up or using AI agent Twitter automation via MCP.
npx skillsauth add RanaPriyansh/XActions xactions-mcp-serverInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The definitive free Twitter/X MCP server. 68+ tools for AI agents.
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": ["xactions-mcp"],
"env": {
"XACTIONS_SESSION_COOKIE": "your_auth_token_here"
}
}
}
}
DevTools (F12) -> Application -> Cookies -> x.com -> copy auth_token value
Claude Desktop:
xactions mcp-config --client claude --write
Cursor:
xactions mcp-config --client cursor --write
Windsurf / VS Code:
xactions mcp-config --client windsurf --write
xactions mcp-config --client vscode --write
x_get_profile, x_get_followers, x_get_following, x_get_non_followers, x_get_tweets, x_search_tweets, x_get_thread, x_download_video
x_follow, x_unfollow, x_unfollow_non_followers, x_post_tweet, x_like, x_retweet, x_delete_tweet, x_reply, x_bookmark, x_get_bookmarks, x_clear_bookmarks, x_auto_like
x_detect_unfollowers, x_best_time_to_post, x_analyze_sentiment, x_monitor_reputation, x_reputation_report, x_competitor_analysis, x_brand_monitor
x_update_profile, x_get_settings, x_toggle_protected, x_get_blocked, x_check_premium
x_post_thread, x_create_poll, x_schedule_post, x_publish_article
x_get_trends, x_get_explore
x_send_dm, x_get_conversations, x_export_dms
x_analyze_voice, x_generate_tweet, x_rewrite_tweet, x_summarize_thread
x_stream_start/stop/list/pause/resume/status/historyx_workflow_create/run/list/actionsx_graph_build/analyze/recommendations/listx_export_account/migrate_account/diff_exports"Scrape @nichxbt's profile and last 50 tweets. What topics do they post about most?"
"Find my non-followers and unfollow them"
"Search for tweets about 'AI agents' and analyze the sentiment"
"Post a thread about the top 3 AI trends in 2026"
"Monitor brand mentions of 'XActions' for the last week"
| Variable | Required | Purpose |
|----------|----------|---------|
| XACTIONS_SESSION_COOKIE | Yes | X auth_token for authentication |
| OPENROUTER_API_KEY | No | Enables AI tools (voice analysis, tweet generation) |
See docs/mcp-setup.md for complete setup guide with troubleshooting.
tools
Command-line interface for scraping X/Twitter data, managing MCP server config, and running automation. Scrapes profiles, followers, tweets, search results, and more from terminal. Outputs text, JSON, or CSV. Uses Puppeteer stealth. Use when running Twitter operations from command line or automated pipelines.
content-media
Researches trending topics and competitor threads to generate high-engagement thread content with optimized hooks, value ladders, and calls to action. Use when creating threads or planning viral content.
tools
Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.
development
Scrapes X/Twitter data without API access using Puppeteer stealth and browser console scripts. Extracts profiles, followers, following lists, tweets, search results, hashtags, threads, media, bookmarks, notifications, DMs, likes, and viral tweets. Exports to JSON/CSV. Use when collecting, exporting, or analyzing Twitter data.