Sponsored by Deepsite.site

X (Twitter) MCP server

Created By
rafaljanicki8 months ago
A Model Context Protocol (MCP) server for interacting with Twitter (X) via AI tools. This server allows you to fetch tweets, post tweets, search Twitter, manage followers, and more, all through natural language commands in AI Tools.
Overview

What is X (Twitter) MCP Server?

X (Twitter) MCP Server is a Model Context Protocol (MCP) server designed for interacting with Twitter (X) through AI tools, enabling users to perform various Twitter actions using natural language commands.

How to use X (Twitter) MCP Server?

To use the server, install it via Smithery or PyPI, configure your Twitter API credentials, and run the server. You can then connect it with Claude Desktop to interact with Twitter using natural language commands.

Key features of X (Twitter) MCP Server?

  • Fetch user profiles, followers, and following lists.
  • Post, delete, and favorite tweets.
  • Search Twitter for tweets and trends.
  • Manage bookmarks and timelines.
  • Built-in rate limit handling for the Twitter API.
  • Complete implementation of Twitter API v2 endpoints.

Use cases of X (Twitter) MCP Server?

  1. Automating tweet posting and management.
  2. Fetching user information and follower lists.
  3. Searching for tweets based on specific queries.
  4. Managing Twitter bookmarks and timelines.

FAQ from X (Twitter) MCP Server?

  • What are the prerequisites for using the server?

You need Python 3.10 or higher and a Twitter Developer Account with API credentials.

  • Is there a recommended installation method?

Yes, installing via Smithery is recommended for ease of use.

  • Can I use this server with Claude Desktop?

Yes, the server is designed to work with Claude Desktop for natural language interactions.

Server Config

{
  "mcpServers": {
    "x-twitter-server": {
      "type": "stdio",
      "command": "x-twitter-mcp-server",
      "args": [],
      "env": {
        "TWITTER_API_KEY": "<TWITTER_API_KEY>",
        "TWITTER_API_SECRET": "<TWITTER_API_SECRET>",
        "TWITTER_ACCESS_TOKEN": "<TWITTER_ACCESS_TOKEN>",
        "TWITTER_ACCESS_TOKEN_SECRET": "<TWITTER_ACCESS_TOKEN_SECRET>",
        "TWITTER_BEARER_TOKEN": "<TWITTER_BEARER_TOKEN>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors