XActions
MCP server by nirholas Community
Automates X/Twitter tasks such as scraping, posting, scheduling, analyzing and engaging, through an MCP server for AI agents. The source says no API key is required. It is aimed at developers and AI assistant users who want X automation without the paid X API.
Install XActions
Built from the published package, never by AI.
claude mcp add xactions -- npx -y xactionsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"xactions": {
"args": [
"-y",
"xactions"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"xactions": {
"args": [
"-y",
"xactions"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"xactions": {
"args": [
"-y",
"xactions"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add xactions -- npx -y xactions{
"mcpServers": {
"xactions": {
"args": [
"-y",
"xactions"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add xactions npx -y xactionsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the xactions block.
About
XActions is an open source X/Twitter automation toolkit. It includes scrapers, a CLI, browser console scripts, a Chrome and Edge extension and an MCP server for AI agents. The source says the MCP server provides 154 tools. Public reads such as profiles and timelines work without an account, while search, followers and DMs need a login. Requests use X's internal GraphQL API.
Every MCP write is charged against a rolling 24 hour per-account daily cap stored on disk. Setting XACTIONS_MCP_REQUIRE_APPROVAL=1 turns write tools into drafts that a person reviews and releases. The project is installed with npm install xactions. It suits developers and AI assistant users who want to automate X without an API key.
Written from the project's README and checked against it.
Tools it gives your assistant
x_list_draftsLists writes held as drafts when the approval gate is turned on.x_approve_draftReleases a held draft so the write is sent to X.x_discard_draftDiscards a held draft without sending it.x_download_mediaSaves a profile's photos, videos, avatar and banner to disk.x_askLets an agent read the XActions manual before it acts.Tool groupsFilters advertised tools with --tools or XACTIONS_MCP_TOOLS, such as read or analytics.
What you need
- Node.js, installed through npm install xactions
- An X account login for search, followers and DMs
- A browser with x.com cookies, if you use --from-browser import
- Docker, optional, since the source includes a Dockerfile
| Setting | Needed | What it is |
|---|---|---|
X_Environment variable, secret | Optional | X/Twitter authentication cookies (JSON string or path to cookies file) |
X_Environment variable | Optional | X/Twitter username for login |
X_Environment variable, secret | Optional | X/Twitter password for login |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Approve the drafts waiting in my XActions queue.
- Download all photos and videos from @nichxbt on X.
- Ask XActions how to unfollow everyone on X.
Good to know
- Search, followers and DMs need a logged-in X account.
- Every MCP write counts against a daily cap per account.
- The approval gate is off unless XACTIONS_MCP_REQUIRE_APPROVAL=1 is set.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to XActions
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
XActions: common questions
Does XActions need an X API key?
The source says no API key is needed. Public reads such as profiles and timelines work without an account, while search, followers and DMs need a login.
How does XActions stop writes from going out unchecked?
Setting XACTIONS_MCP_REQUIRE_APPROVAL=1 turns every write tool into a draft. A person reviews the draft and releases it with the drafts commands or the draft tools.
How many MCP tools does XActions provide?
The source states that the MCP server has 154 tools. Tools can be filtered by group, so a session advertises only the groups it needs.
How do I install XActions?
In Claude Code run claude mcp add xactions -- npx -y xactions. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is XActions the official server?
XActions is a community project by nirholas, not verified by a company domain.
Is XActions free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is XActions safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to XActions?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does XActions work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
