x.com-mcp-server

tiovikram/x.com-mcp-server

3.3

If you are the rightful owner of x.com-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server that provides access to X.com's API capabilities, enabling LLMs to interact with X.com through OAuth 2.0 authentication.

The X.com MCP Server is a robust Model Context Protocol server designed to facilitate seamless interaction with X.com (formerly Twitter) via its API. This server supports OAuth 2.0 authentication, ensuring secure access to X.com's extensive API capabilities. It covers all major post-related operations, including reading, writing, searching, and managing posts, likes, retweets, and bookmarks. The server is implemented in TypeScript with Zod validation, ensuring type safety and reliability. With comprehensive tools, it provides developers with the ability to perform a wide range of operations on X.com, making it an essential tool for those looking to integrate X.com functionalities into their applications. The server is easy to install and configure, with support for both pnpm and Docker, and it requires an X.com OAuth 2.0 access token for authentication.

Features

  • OAuth 2.0 Authentication for secure access
  • Complete Post API Coverage
  • Type Safety with TypeScript and Zod validation
  • Comprehensive Tools for X.com operations
  • Easy Installation and Configuration

Tools

  1. getSinglePost

    Retrieve a single post by ID with optional field expansions

  2. createPost

    Create a new post with text, media, polls, replies, etc.

  3. searchRecent

    Search recent posts (last 7 days)

  4. likePost

    Like a post

  5. bookmarkPost

    Bookmark a post