Developer Tools · Social Media

Twitter logo

Twitter

0xhijo/mcp_twitter

MCP Twitter is a server based on the Model Context Protocol that allows direct interaction with Twitter/X. It exposes various Twitter API functionalities through a standardized set of tools, enabling AI models and applications to perform actions on Twitter.

Install

npx mcp_twitter

Client configuration

{
  "mcpServers": {
    "server": {
      "command": "npx",
      "args": [
        "mcp_twitter"
      ],
      "env": {
        "TWITTER_AUTH_MODE": "<TWITTER_AUTH_MODE>",
        "TWITTER_USERNAME": "<TWITTER_USERNAME>",
        "TWITTER_PASSWORD": "<TWITTER_PASSWORD>",
        "TWITTER_EMAIL": "<TWITTER_EMAIL>"
      }
    }
  }
}

Environment variables

TWITTER_AUTH_MODETWITTER_USERNAMETWITTER_PASSWORDTWITTER_EMAILTWITTER_APITWITTER_API_SECRETTWITTER_ACCESS_TOKENTWITTER_ACCESS_TOKEN_SECRET
GitHub stars
7
Author
@0xhijo
Category
Developer Tools, Social Media
Updated
Oct 6, 2026

Features

  • create_twitter_post: Create a new X/Twitter post

  • reply_twitter_tweet: Reply to a specific X/Twitter post by ID

  • get_last_tweet: Get the most recent post from a specified X/Twitter account

  • get_last_tweets_options: Get a specified number of posts matching a search query

  • create_and_post_twitter_thread: Create and publish an X/Twitter thread

  • follow_twitter_from_username: Follow an X/Twitter user by username

  • get_twitter_profile_from_username: Get complete X/Twitter profile data by username

  • get_twitter_user_id_from_username: Get X/Twitter user ID from username

  • get_last_tweet_and_replies_from_user: Get recent X/Twitter posts and replies from a user

  • get_last_tweet_from_user: Get recent X/Twitter posts from a user

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools