MCP Catalogs
Home

agent-twitter-client-mcp

by ryanmac·28·Score 44

A comprehensive MCP server for interacting with Twitter, supporting various operations including tweet management, user interactions, and Grok AI integration.

communicationai-llmproductivity
15
Forks
24
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides extensive Twitter functionality through three authentication methods: cookie-based, username/password, and Twitter API v2. It enables operations like fetching tweets, posting content, creating polls, following users, and interacting with Grok AI. The server includes a testing interface, demo scripts, and comprehensive documentation. Its active maintenance with recent commits indicates a well-supported project with clear implementation guidelines.

Try asking AI

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

you:Social media management for AI agents to post, monitor and analyze Twitter content
you:Integration with AI models to provide real-time Twitter data and trending topics through Grok
you:Automated content creation and engagement without needing direct Twitter API access
you:What authentication methods are supported?
you:How do I use Grok integration?
you:Can this MCP server handle media in tweets?

When to choose this

Choose this server when you need AI agents to interact with Twitter/Grok for social media monitoring, content creation, or conversation analysis.

When NOT to choose this

Don't choose this if you need direct Twitter API access or require support for non-X Twitter-like platforms.

Tools this server exposes

12 tools extracted from the README
  • get_user_tweets

    Fetch tweets from a specific user

  • get_tweet_by_id

    Fetch a specific tweet by ID

  • search_tweets

    Search for tweets

  • send_tweet

    Post a new tweet

  • send_tweet_with_poll

    Post a tweet with a poll

  • like_tweet

    Like a tweet

  • retweet

    Retweet a tweet

  • quote_tweet

    Quote a tweet

  • get_user_profile

    Get a user's profile

  • follow_user

    Follow a user

  • get_followers

    Get a user's followers

  • get_following

    Get users a user is following

Comparable tools

twitter-api-mcpsocial-media-managerweb-scraping-mcp

Installation

Installation

# Install globally
npm install -g agent-twitter-client-mcp

# Or install locally
npm install agent-twitter-client-mcp

Claude Desktop Configuration

{
  "mcpServers": {
    "agent-twitter-client-mcp": {
      "command": "npx",
      "args": ["-y", "agent-twitter-client-mcp"],
      "env": {
        "AUTH_METHOD": "cookies",
        "TWITTER_COOKIES": "[\"auth_token=YOUR_AUTH_TOKEN; Domain=.twitter.com\", \"ct0=YOUR_CT0_VALUE; Domain=.twitter.com\", \"twid=u%3DYOUR_USER_ID; Domain=.twitter.com\"]"
      }
    }
  }
}

FAQ

What authentication methods are supported?
The server supports three authentication methods: cookie-based authentication (recommended), username/password authentication, and Twitter API v2 credentials.
How do I use Grok integration?
Grok functionality requires agent-twitter-client v0.0.19 or higher and proper authentication. Use the 'grok_chat' tool to chat with Grok via Twitter, or continue conversations with conversation IDs.
Can this MCP server handle media in tweets?
Yes, the server supports posting tweets with images and videos. You can specify media content when posting tweets.

Compare agent-twitter-client-mcp with

GitHub →

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