Developer Tools · Social Media

X.com MCP Server

tiovikram/x.com-mcp-server

A Model Context Protocol server that provides access to X.com's API capabilities. This server enables LLMs to interact with X.com (formerly Twitter) through OAuth 2.0 authentication, supporting all major Post-related operations including reading, writing, searching, and managing posts, likes, retweets, and bookmarks.

Install

docker run -i --rm -e X_COM_ACCESS_TOKEN=<value> x.com-mcp
Category
Developer Tools, Social Media
Updated
Oct 6, 2026

Features

  • OAuth 2.0 Authentication - Secure Bearer token authentication

  • Complete Post API Coverage - All X.com Post endpoints from the official API

  • Type Safety - Full TypeScript implementation with Zod validation

  • Comprehensive Tools - 21 tools covering all major X.com operations

Tools (27)

  • getSinglePost

    Retrieve a single post by ID with optional field expansions

  • getBulkPosts

    Retrieve up to 100 posts by their IDs

  • createPost

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

  • deletePost

    Delete a post by ID

  • hideReply

    Hide or unhide a reply to a post

  • getUserTimeline

    Get a user's timeline of posts

  • getUserMentions

    Get posts that mention a specific user

  • searchRecent

    Search recent posts (last 7 days)

  • searchAll

    Search all posts (full archive - requires Academic/Enterprise access)

  • getPostCountsRecent

    Get time-bucketed post counts for recent posts

  • getPostCountsAll

    Get time-bucketed post counts for all posts (Academic/Enterprise)

  • getRetweets

    Get posts that retweet a specific post

  • createRetweet

    Retweet a post

  • deleteRetweet

    Remove a retweet

  • getLikingUsers

    Get users who liked a specific post

  • getLikedTweets

    Get posts that a user has liked

  • likePost

    Like a post

  • unlikePost

    Unlike a post

  • getUserBookmarks

    Get a user's bookmarked posts

  • bookmarkPost

    Bookmark a post

  • removeBookmark

    Remove a bookmark

  • Lookup

    2/tweets/:id, /2/tweets

  • Timelines

    2/users/:id/tweets, /2/users/:id/mentions

  • Search

    2/tweets/search/recent, /2/tweets/search/all

  • Retweets

    2/tweets/:id/retweets, /2/users/:id/retweets

  • Likes

    2/tweets/:id/liking_users, /2/users/:id/liked_tweets, /2/users/:id/likes

  • Bookmarks

    2/users/:id/bookmarks

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools