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
18

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 TweetsYou can get the tweets published by a user through the user ID, or get a specific tweet through the tweet ID.
Publish a TweetSupports publishing plain text tweets or tweets with images.
Interaction FeaturesSupports interaction operations such as replying to tweets, quoting tweets, and liking tweets.
User ManagementYou can follow/unfollow users and get user information.
List ManagementCreate and manage Twitter lists, add/remove list members.
Search FunctionSearch for tweets and get trending topics.

Advantages and Limitations

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 MentionsRegularly check tweets that mention your brand.
Automatically Reply to CustomersAutomatically reply to customers' question tweets.
Automatic Content PublishingPublish 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.
Featured MCP Services
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
141
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
830
4.3 points
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
1.7K
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
87
4.3 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
6.7K
4.5 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#
567
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
754
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase