nirholas/xactions/xactions-mcp-server

Claude Code and agent skill by nirholas/xactions

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Free MCP server providing 165 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.

Install

npx vskill@latest install nirholas/xactions/xactions-mcp-server

SKILL.md

The same SKILL.md was published earlier as nirholas/xactions/xactions-mcp-server.

XActions MCP Server

The definitive free Twitter/X MCP server. 165 tools for AI agents.

Quick Start

json
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": ["xactions-mcp"],
"env": {
"XACTIONS_SESSION_COOKIE": "your_auth_token_here"
}
}
}
}

Setup

1. Get auth_token

DevTools (F12) -> Application -> Cookies -> x.com -> copy auth_token value

2. Configure your client

Claude Desktop:

bash
xactions mcp-config --client claude --write

Cursor:

bash
xactions mcp-config --client cursor --write

Windsurf / VS Code:

bash
xactions mcp-config --client windsurf --write
xactions mcp-config --client vscode --write
3. Restart your client

Available Tools (165)

Scraping

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

Actions

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_engage

Analysis

x_detect_unfollowers, x_best_time_to_post, x_analyze_sentiment, x_monitor_reputation, x_reputation_report, x_competitor_analysis, x_brand_monitor

Profile & Settings

x_update_profile, x_get_settings, x_toggle_protected, x_get_blocked, x_check_premium

Content

x_post_thread, x_create_poll, x_schedule_post, x_publish_article

Discovery

x_get_trends, x_get_explore

Messaging

x_send_dm, x_get_conversations, x_export_dms

AI (free models, no key needed)

x_analyze_voice, x_generate_tweet, x_rewrite_tweet, x_summarize_thread

Advanced
  • Streaming: x_stream_start/stop/list/pause/resume/status/history
  • Workflows: x_workflow_create/run/list/actions
  • Social Graph: x_graph_build/analyze/recommendations/list
  • Portability: x_export_account/migrate_account/diff_exports
Official X API v2 (xapi group)

x_api_list_operations, x_api_describe, x_api_get, x_api_stream_sample, x_api_write

These call the official X API v2 with your own developer app keys instead of a browser session. Listing and describing operations needs no keys; x_api_get and x_api_stream_sample need X_BEARER_TOKEN (or user credentials); x_api_write needs user context and is held as a draft under approval mode. Expose only this lane with --tools xapi. See docs/x-api/README.md.

Example Prompts

"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"

Environment Variables

VariableRequiredPurpose
XACTIONS_SESSION_COOKIEYesX auth_token for authentication
X_BEARER_TOKENFor xapi readsApp-only token from your X developer app
X_API_KEY, X_API_SECRET, X_ACCESS_TOKEN, X_ACCESS_TOKEN_SECRETFor x_api_writeOAuth 1.0a user context (or an OAuth 2.0 token from xactions xapi auth login)
GROQ_API_KEY, NVIDIA_API_KEY, OPENROUTER_API_KEYNoOptional free-tier keys that add capacity to the AI tools (which use free models only). Image analysis needs OPENROUTER_API_KEY or NVIDIA_API_KEY

Full Documentation

See docs/mcp-setup.md for complete setup guide with troubleshooting.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
543
Repository forks
103
Repository npm downloads, 7 days
80
7-day trend score
44

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 29 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nirholas/xactions/xactions-mcp-server/badge)](https://verified-skill.com/skills/nirholas/xactions/xactions-mcp-server)

Something wrong with this skill or its page? Tell us.