twitter_mcp_server

twitter_mcp_server

0

Twitter MCP Server is a Model Context Protocol server that facilitates the integration of AI models with the Twitter platform. It provides tools for posting, retweeting, liking, and searching tweets within AI applications.

Twitter MCP Server

A Model Context Protocol server for Twitter/X integration, enabling AI models to interact with the Twitter platform.

Overview

Twitter MCP Server provides tools for AI models to interact with Twitter through the Model Context Protocol (MCP) standard. This server enables posting tweets, retweeting, liking tweets, and searching for content on Twitter from AI applications.

Features

  • Post Tweets
  • Retweet
  • Like Tweets
  • Search Tweets

Prerequisites

  • Node.js v22.0.0 or higher
  • Twitter Developer Account with API credentials

Installation

  1. Clone the repository
  2. Install dependencies
  3. Copy the environment file and populate it with your credentials

Usage

Start the server

The server will be available at your configured PORT.

API Endpoints

  • Main MCP endpoint that handles all Twitter operations

MCP Tools

  • post_tweet
  • retweet
  • like_tweet
  • search_tweets

Development

Build the TypeScript source and run type checking.