Twitter/X MCP Server

Stableapi
160 starsTypeScriptcommunity
GitHub
About

Overview

The Twitter/X MCP Server enables AI agents to interact with Twitter's API. It provides tools for posting tweets, searching for tweets, reading timelines, managing followers, and accessing user profiles. Supports Twitter API v2.
Capabilities

Tools & Capabilities

post_tweet

Post a new tweet

search_tweets

Search for tweets

get_timeline

Get a user's timeline

get_user

Get user profile information

like_tweet

Like a tweet

Setup

Installation

bash
Install
npx -y mcp-server-twitter
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "twitter": {
      "command": "npx",
      "args": ["-y", "mcp-server-twitter"],
      "env": {
        "TWITTER_BEARER_TOKEN": "your-token"
      }
    }
  }
}

Quick Info

Authorcommunity
LanguageTypeScript
StatusStable
Stars 160
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.

Twitter/X MCP Server - MCP Server Directory - CortexAgent