X V2 Server
X

X V2 Server

An MCP server that implements the Twitter/X API v2 functions, providing tools for tweet retrieval, publishing, interaction, etc., and supporting programmatic operations by AI assistants.
2.5 points
8.2K

What is the X(Twitter) V2 MCP Server?

This is a server based on the Model Context Protocol, specifically designed to interact with the Twitter/X platform. It provides a series of tools that allow AI assistants to access various Twitter functions programmatically, such as publishing content, interacting, and managing lists.

How to use the X(Twitter) V2 MCP Server?

Before use, you need to configure the API keys of your Twitter developer account. Then you can perform various Twitter operations through simple API calls, such as tweeting, replying, and liking.

Use Cases

Suitable for scenarios that require automated Twitter interaction, such as social media management, automatic content publishing, and data analysis.

Main Features

Get Tweets
You can get the tweets published by a user through the user ID, or get a specific tweet through the tweet ID.
Publish a Tweet
Supports publishing plain text tweets or tweets with images.
Interaction Features
Supports interaction operations such as replying to tweets, quoting tweets, and liking tweets.
User Management
You can follow/unfollow users and get user information.
List Management
Create and manage Twitter lists, add/remove list members.
Search Function
Search for tweets and get trending topics.
Advantages
Provides full coverage of the Twitter API v2 functions
Simplifies the complex API call process
Supports image upload and publishing
Good pagination support, suitable for large data volume scenarios
Limitations
Requires a Twitter developer account and API keys
Subject to the usage restrictions of the Twitter API
Some advanced features require additional permissions

How to Use

Get API Keys
Get API keys and access tokens from the Twitter developer platform.
Configure Environment Variables
Set environment variables such as TWITTER_API_KEY.
Install and Run
Install dependencies and start the server.
Use the Tool
Access http://127.0.0.1:6274 to configure the environment and start using.

Usage Examples

Monitor Brand Mentions
Regularly check tweets that mention your brand.
Automatically Reply to Customers
Automatically reply to customers' question tweets.
Automatic Content Publishing
Publish marketing content regularly.

Frequently Asked Questions

How to get Twitter API keys?
Why is my request restricted?
Does it support video upload?

Related Resources

Twitter API Official Documentation
The official documentation of the Twitter API v2
Twitter Developer Platform
The developer platform for applying for API keys
Model Context Protocol
The official documentation of the MCP protocol

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
15.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.9K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.9K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
29.5K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase