nirholas/xactions

xactions-mcp-server

Free MCP server providing 153 tools for AI agents to automate X/Twitter.

First seen Feb 28, 2026

Installation

$ npx skills add nirholas/xactions --skill xactions-mcp-server

Summary

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

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from nirholas/xactions · top by installs.

npx skills add nirholas/xactions

Browse all from nirholas/xactions

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 510
License LICENSE
Default branch main
Open issues 9
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version4.0
LicenseApache-2.0
CompatibilityRequires Node.js 18+. Works with Claude Desktop, Cursor, Windsurf, VS Code, and MCP-compatible clients.
Declared agents claude-code cursor windsurf vscode
More metadata
author
nichxbt
version
4.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,357 B
  • docs SUMMARY.md 446 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 14 installs

SKILL.md

XActions MCP Server

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

Quick Start

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

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

3. Restart your client

Available Tools (68+)

Scraping

xgetprofile, xgetfollowers, xgetfollowing, xgetnonfollowers, xgettweets, xsearchtweets, xgetthread, xdownload_video

Actions

xfollow, xunfollow, xunfollownonfollowers, xposttweet, xlike, xretweet, xdeletetweet, xreply, xbookmark, xgetbookmarks, xclearbookmarks, xautolike, xengage

Analysis

xdetectunfollowers, xbesttimetopost, xanalyzesentiment, xmonitorreputation, xreputationreport, xcompetitoranalysis, xbrandmonitor

Profile & Settings

xupdateprofile, xgetsettings, xtoggleprotected, xgetblocked, xcheckpremium

Content

xpostthread, xcreatepoll, xschedulepost, xpublisharticle

Discovery

xgettrends, xgetexplore

Messaging

xsenddm, xgetconversations, xexportdms

AI (requires OPENROUTERAPIKEY)

xanalyzevoice, xgeneratetweet, xrewritetweet, xsummarizethread

Advanced

  • Streaming: xstreamstart/stop/list/pause/resume/status/history
  • Workflows: xworkflowcreate/run/list/actions
  • Social Graph: xgraphbuild/analyze/recommendations/list
  • Portability: xexportaccount/migrateaccount/diffexports

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

Variable Required Purpose
XACTIONSSESSIONCOOKIE Yes X auth_token for authentication
OPENROUTERAPIKEY No Enables AI tools (voice analysis, tweet generation)

Full Documentation

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