Design Engineer Logo
Visit Repo
Open Graph preview

Twitter MCP

A Model Context Protocol server allows to interact with X, enabling posting tweets and searching X

Site favicon
📱 Content Tools

Overview

Twitter-MCP

Description:
A server that enables Claude to post tweets and search X content directly.

Category: Social Media Integration

Overview:
This MCP server provides Claude with X interaction capabilities through two main tools:

  • post_tweet: Create and publish tweets
  • search_tweets: Search through X content

Requirements:

  • Twitter Developer account
  • API keys from X Developer Portal

Configuration:

{
  "mcpServers": {
    "twitter-mcp": {
      "command": "npx",
      "args": ["-y", "@enescinar/twitter-mcp"],
      "env": {
        "API_KEY": "your_api_key_here",
        "API_SECRET_KEY": "your_api_secret_key_here",
        "ACCESS_TOKEN": "your_access_token_here",
        "ACCESS_TOKEN_SECRET": "your_access_token_secret_here"
      }
    }
  }
}

Quick Install:

npx -y @enescinar/twitter-mcp

Log Locations:

  • Windows: %APPDATA%\Claude\logs\mcp-server-twitter.log
  • macOS: ~/Library/Logs/Claude/mcp-server-twitter.log

Example Usage:

  • "Can you post a tweet saying 'Hello from Claude!'"
  • "Can you search for tweets about Claude AI?"

Licensed under MIT