⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add xactions --env X_COOKIES='<X_COOKIES>' --env X_PASSWORD='<X_PASSWORD>' -- npx -y xactions~/.codex/config.toml
[mcp_servers.xactions]
command = "npx"
args = ["-y", "xactions"]
env = { X_COOKIES = "<X_COOKIES>", X_PASSWORD = "<X_PASSWORD>" }
# codex mcp add xactions --env X_COOKIES='<X_COOKIES>' --env X_PASSWORD='<X_PASSWORD>' -- npx -y xactions~/.cursor/mcp.json
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "<X_COOKIES>",
"X_PASSWORD": "<X_PASSWORD>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"xactions": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "<X_COOKIES>",
"X_PASSWORD": "<X_PASSWORD>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "<X_COOKIES>",
"X_PASSWORD": "<X_PASSWORD>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "<X_COOKIES>",
"X_PASSWORD": "<X_PASSWORD>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"xactions": {
"command": "npx",
"args": [
"-y",
"xactions"
],
"env": {
"X_COOKIES": "<X_COOKIES>",
"X_PASSWORD": "<X_PASSWORD>"
}
}
}
}需要的环境变量
X_COOKIESX_PASSWORD
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。