X.com MCP Server
@tiovikram
About X.com MCP Server
MCP server implementation for X.com API with OAuth 2.0 support
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"x.com-mcp-server": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is X.com MCP Server?
A Model Context Protocol server that provides access to X.com's API capabilities. It 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.
How to use X.com MCP Server?
Install via pnpm or Docker, then set the required X_COM_ACCESS_TOKEN environment variable with an OAuth 2.0 Bearer token obtained from an X.com Developer account. After building and running the server, configure your MCP client (e.g., Claude.app) to use the server and start making tool calls.
Key features of X.com MCP Server
- OAuth 2.0 Bearer token authentication
- 21 tools covering all major X.com operations
- Type safety with TypeScript and Zod validation
- Lookup, manage, search, timeline, and counts
- Manage retweets, likes, and bookmarks
- Docker and pnpm installation options
Use cases of X.com MCP Server
- Search recent posts about a specific topic and analyze engagement metrics.
- Create, delete, hide replies, and manage user posts.
- Retrieve user timelines and mentions for monitoring.
- Manage likes, retweets, and bookmarks programmatically.
- Get time‑bucketed post counts for trend analysis.
FAQ from X.com MCP Server
What authentication does X.com MCP Server require?
It requires an OAuth 2.0 Bearer access token, set as the X_COM_ACCESS_TOKEN environment variable. Obtain this token from your X.com Developer account after implementing the Authorization Code with PKCE flow.
Which X.com API endpoints are covered?
The server implements all Post-related endpoints from X.com API v2, including lookup, manage posts, timelines, search, post counts, retweets, likes, and bookmarks.
What rate limits apply to X.com MCP Server?
Most read operations: 300 requests per 15 minutes; write operations: 50 per 15 minutes; bookmark operations: 50 write and 180 read per 15 minutes.
What OAuth 2.0 scopes are required?
Required scopes: tweet.read, tweet.write, tweet.moderate.write, users.read, like.read, like.write, bookmark.read, bookmark.write.
Can I search the full archive of posts?
Yes, via the searchAll tool, but it requires Academic or Enterprise access to the X.com API.
More Developer Tools MCP servers
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
MCP Framework
QuantGeekDevThe Typescript MCP Framework
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. 🦀
Comments