MCP.so
登录

Twitter Cookie mcpServer

@dewkiks

关于 Twitter Cookie mcpServer

Twitter MCP Server

基本信息

分类

其他

传输方式

stdio

发布者

dewkiks

提交者

dewkiks

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Twitter Cookie mcpServer?

A Model Context Protocol (MCP) server that enables AI assistants to interact with Twitter using cookie-based authentication. It leverages the unofficial twikit library for Twitter integration and is intended for educational/experimental use.

How to use Twitter Cookie mcpServer?

Install via Smithery or manually clone the repository and install dependencies with pip install -r requirements.txt. Obtain the ct0 and auth_token cookies from your logged-in Twitter/X browser session, then configure Claude Desktop by adding environment variables TWITTER_CT0 and TWITTER_AUTH_TOKEN to the server entry in claude_desktop_config.json.

Key features of Twitter Cookie mcpServer

  • Post, like, retweet, and search tweets
  • Get user profiles and follow/unfollow users
  • Access your timeline or other user timelines
  • Send, read, and react to direct messages
  • Retrieve trending topics by category

Use cases of Twitter Cookie mcpServer

  • Post tweets about AI developments
  • Search for tweets and display the top results
  • Send direct messages to users
  • Get your latest timeline tweets
  • Like or retweet specific tweet IDs
  • Get trending topics in sports

FAQ from Twitter Cookie mcpServer

Is this an official Twitter API?

No, it uses the unofficial twikit library and is not endorsed by Twitter/X. It may break without notice and is intended for educational/experimental purposes only.

What cookies are required for authentication?

You need the ct0 (CSRF token) and auth_token (authentication token) from your Twitter/X browser session, accessible via Developer Tools > Application/Storage > Cookies.

How do I install Twitter Cookie mcpServer?

You can install automatically via Smithery using npx -y @smithery/cli install @dewkiks/twitter-mcp-server --client claude, or manually by cloning the repository and running pip install -r requirements.txt.

What tools are available with Twitter Cookie mcpServer?

Available tools include tweet, like_tweet, retweet, search_tweets, get_user_info, get_timeline, send_dm, get_dm_history, add_reaction_to_message, delete_dm, get_tweet_replies, and get_trends.

What are the risks of using this server?

Account restrictions are possible. The server uses an unofficial API that may break without notice. Use at your own risk.

评论

其他 分类下的更多 MCP 服务器