X (Twitter) MCP server

Created By
rafaljanickia year 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>"
      }
    }
  }
}
Project Info
Created At
a year ago
Updated At
a year ago
Author Name
rafaljanicki
Star
-
Language
-
License
-

Recommend Servers

View All
Wpnews

9 hours ago
Orkestr

10 hours ago
Mnemom

a day ago
Shippo
@Shippo

a day ago