MCP Catalogs
Home

twitter-mcp

by Dishant27·3·Score 30

MCP server for X (Twitter) integration enabling CRUD operations via Twitter API.

communicationproductivitydeveloper-tools
1
Forks
0
Open issues
14 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides comprehensive interaction with X (formerly Twitter) through the Model Context Protocol. It allows posting tweets, searching content, managing profiles, and organizing lists using Twitter's API. The server offers various tools for account management, including following/unfollowing users, retrieving follower lists, and updating profile information.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automate social media posting through AI agents
you:Monitor mentions and track engagement on tweets
you:Manage Twitter accounts programmatically for businesses
you:Does this server support Twitter API v2?
you:Are there any rate limits?

When to choose this

Choose this server for Twitter/X integration when you need a straightforward MCP interface for basic operations like posting, searching, and account management.

When NOT to choose this

Don't choose this if you need advanced Twitter features like analytics, API v2 endpoints not covered here, or if you require enterprise-level access controls.

Tools this server exposes

11 tools extracted from the README
  • post_tweet

    Post new content to X

  • search_tweets

    Search for content on X

  • get_profile

    Get profile information for a user or the authenticated account

  • update_profile

    Update the authenticated user's profile

  • follow_user

    Follow a user

  • unfollow_user

    Unfollow a user

  • list_followers

    List followers of a user or the authenticated account

  • list_following

    List accounts that a user or the authenticated account is following

  • create_list

    Create a new list

  • get_list_info

    Get information about a list

  • get_user_lists

    Get all lists owned by the authenticated user

Comparable tools

social-media-mcptwitter-api-clientx-python-sdk

Installation

Installation

  1. Create an X Developer account and get API keys from [X Developer Portal](https://developer.twitter.com/en/portal/dashboard)
  2. Set required environment variables:

``bash TWITTER_API_KEY=your_api_key TWITTER_API_SECRET=your_api_secret TWITTER_ACCESS_TOKEN=your_access_token TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret ``

  1. Clone and install:

``bash git clone https://github.com/Dishant27/twitter-mcp.git cd twitter-mcp npm install npm start ``

Claude Desktop Configuration

Add to your Claude MCP config file:

{
  "name": "x",
  "display_name": "X",
  "description": "X MCP allows Claude to interact with X (formerly Twitter)",
  "path": "path/to/twitter-mcp/dist/index.js",
  "startup": {
    "env": {
      "TWITTER_API_KEY": "your_api_key",
      "TWITTER_API_SECRET": "your_api_secret",
      "TWITTER_ACCESS_TOKEN": "your_access_token",
      "TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
    }
  },
  "transport": "stdio"
}

FAQ

Does this server support Twitter API v2?
Yes, the server supports both Twitter API v1 and v2 as required for full functionality.
Are there any rate limits?
Yes, the server is subject to Twitter's standard API rate limits, which vary depending on the specific endpoint used.

Compare twitter-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.