Programmatic Twitter account management with timeline, search, messaging, and posting features.
Programmatic Twitter account management with timeline, search, messaging, and posting features.
Welcome to the Twitter MCP (Multi-Channel Platform) Server! This application helps you manage your Twitter account programmatically with a variety of powerful features.
#AI).
.env file)pip install -r requirements.txt
.env file with your Twitter API credentials (see .env.example).To start the server, run:
uv run --with twikit --with mcp Path\\src\\tweet_service.py
{
  "mcpServers": {
  "twitter-mcp": {
    "command": "uv",
    "args": [
      "--directory",
      "Path\\src\\",
      "run",
      "--with",
      "twikit",
      "--with",
      "mcp",
      "tweet_service.py"
    ],
    "env": {
      "COOKIES_PATH": "Path\\cookies.json",
      "ENV_FILE": ".env"  
    }
  }
}
}
Feel free to contribute or suggest new features!