Submit

Twitter MCP Server

@gkydev

A Unofficial Twitter MCP Server with cookie auth.
Overview

What is Twitter MCP Server?

Twitter MCP Server is an unofficial Model Context Protocol (MCP) server that allows AI assistants to interact with Twitter using cookie-based authentication through the twikit library.

How to use Twitter MCP Server?

To use the server, clone the repository, install the dependencies, and run the server. You will need to provide Twitter cookies (ct0 and auth_token) in each tool call for authentication.

Key features of Twitter MCP Server?

  • Cookie Authentication for secure access
  • Session Caching for efficiency
  • Access to user timelines and tweets
  • User information retrieval
  • Tweet management including posting, liking, and retweeting
  • Search functionality for tweets

Use cases of Twitter MCP Server?

  1. Automating tweet posting and management for social media bots.
  2. Retrieving user statistics and profiles for analytics.
  3. Searching for tweets based on specific queries for research purposes.

FAQ from Twitter MCP Server?

  • Is this server officially supported by Twitter?

No, it uses an unofficial API and is intended for educational and experimental purposes only.

  • How do I obtain the Twitter cookies?

You can get the cookies by logging into Twitter, opening Developer Tools, and copying the ct0 and auth_token values from the cookies section.

  • What happens if my cookies expire?

You will need to obtain new cookies and re-authenticate using the authenticate tool.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.