XActions
XActions is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. X/Twitter automation MCP: scrape, post, schedule, analyze, engage. It has 571 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y xactions.
- Needs API key
- Web & browsing
- Apache-2.0
- Actively maintained
Install XActions
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "your-value",
"X_PASSWORD": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env X_COOKIES=your-value --env X_PASSWORD=your-value --transport stdio xactions -- npx -y xactionsCursor
{
"mcpServers": {
"xactions": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "your-value",
"X_PASSWORD": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "x_cookies",
"description": "X_COOKIES",
"password": true
},
{
"type": "promptString",
"id": "x_password",
"description": "X_PASSWORD",
"password": true
}
],
"servers": {
"xactions": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "${input:x_cookies}",
"X_PASSWORD": "${input:x_password}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
X_COOKIESsecret | No | X/Twitter authentication cookies (JSON string or path to cookies file) |
X_USERNAME | No | X/Twitter username for login |
X_PASSWORDsecret | No | X/Twitter password for login |
About XActions
The complete X/Twitter automation toolkit Scrapers · MCP Server for AI Agents · CLI · Browser Scripts · Browser Extension No API keys. No monthly fees. 100% open source.
- ai-agent
- automation
- claude
- gpt
- mass-unfollow
- mcp
- model-context-protocol
- nodejs
- open-source
- puppeteer
Similar MCP servers
More web & browsing MCP servers
Browser Use
browser-use/browser-use
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
OfficialWeb & browsingPythonScrapling MCP Server
D4Vinci/Scrapling
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass.
Web & browsingPythonChrome DevTools MCP
ChromeDevTools/chrome-devtools-mcp
MCP server for Chrome DevTools.
Web & browsingTypeScriptBytedance Browser
bytedance/UI-TARS-desktop
MCP server for browser use access.
Web & browsingTypeScriptBytedance Commands
bytedance/UI-TARS-desktop
An MCP server to run arbitrary commands.
Web & browsingTypeScriptBytedance Search
bytedance/UI-TARS-desktop
MCP server for web search operations.
Web & browsingTypeScript
What is XActions?
XActions is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. X/Twitter automation MCP: scrape, post, schedule, analyze, engage. It has 571 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y xactions. The source code is at github.com/nirholas/XActions.
How do I install the XActions MCP server?
Add the command npx -y xactions to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is XActions free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (X_COOKIES and X_PASSWORD) for the service it connects to, which may require a paid account.
Is XActions actively maintained?
The most recent commit was on Oct 5, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.