Twitter MCP Server

Twitter MCP Server

twitter-mcp-server-dewkiks•bydewkiks

A Model Context Protocol server that lets AI assistants interact with Twitter using cookie-based authentication.

License: Not specified•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Posts, likes, retweets, and searches tweets through MCP tools.
  • •Provides user operations such as retrieving profiles, following or unfollowing, and accessing timelines.
  • •Supports direct messages including sending, fetching history, reacting, and deleting.
  • •Retrieves trending topics by category.

BEST FOR

  • •Having an AI assistant post tweets and search Twitter content.
  • •Sending direct messages and checking Twitter timelines via an assistant.
  • •Fetching replies to a tweet or trending topics.

ABOUT TWITTER-MCP-SERVER-DEWKIKS

Twitter MCP Server is cataloged as an MCP server attributed to dewkiks. A Model Context Protocol server that lets AI assistants interact with Twitter using cookie-based authentication. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Twitter MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 9952abc8ccca · 采集于 2026-11-13 13:46:26 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Twitter MCP Server

smithery badge

A Model Context Protocol (MCP) server for Twitter integration using cookie-based authentication. Allows AI assistants to interact with Twitter through a standardized protocol.

⚠️ Disclaimer

This uses an unofficial Twitter API via the twikit library. Not endorsed by Twitter/X and may break without notice. Use for educational/experimental purposes only. Account restrictions possible.

Quick Setup

Installing via Smithery

To install Twitter MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @dewkiks/twitter-mcp-server --client claude

Manual Installation

  1. Install
git clone <repository-url>
cd twitter-mcp
pip install -r requirements.txt
  1. Get Twitter Cookies

    • Open Twitter/X in browser and login
    • Open Developer Tools (F12) → Application/Storage → Cookies → twitter.com
    • Copy these values:
      • ct0 (CSRF token)
      • auth_token (Authentication token)
  2. Configure Claude Desktop Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "twitter": {
      "command": "./path/to/python.exe",
      "args": ["./path/to/server.py"],
      "env": {
        "TWITTER_CT0": "your_ct0_here",
        "TWITTER_AUTH_TOKEN": "your_auth_token_here"
      }
    }
  }
}

Main Features

  • Tweet Management: Post, like, retweet, search tweets
  • User Operations: Get profiles, follow/unfollow users
  • Timeline Access: Get your timeline and user timelines
  • Direct Messages: Send DMs, get history, react to messages
  • Trending Topics: Get trending topics by category

Key Tools

Tweet Operations

  • tweet - Post a new tweet
  • like_tweet - Like a tweet by ID
  • retweet - Retweet by ID
  • search_tweets - Search for tweets

User Operations

  • get_user_info - Get user profile info
  • get_timeline - Get your timeline

Direct Messages

  • send_dm - Send direct message to username
  • get_dm_history - Get DM history with user
  • add_reaction_to_message - React with emoji
  • delete_dm - Delete a message

Other

  • get_tweet_replies - Get replies to a tweet
  • get_trends - Get trending topics

Example Usage

Post a tweet about AI developments

Search for tweets about "artificial intelligence" and show me the top 10

Send a DM to @username saying "Hello from MCP!"

Get my timeline with the latest 20 tweets

Like the tweet with ID 1234567890123456789

Get trending topics in sports

Show me replies to tweet ID 9876543210987654321

That's it! All tools require the cookies to be set in your environment variables.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Twitter MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/twitter-mcp-server-dewkiks)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication