X.com MCP Server
@tiovikram
About X.com MCP Server
MCP server implementation for X.com API with OAuth 2.0 support
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.
Frequently asked questions
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.
Basic information
More Developer Tools MCP servers

Repo Test Architect
RepoAssayLocal-first, read-only MCP server for evidence-backed repository test architecture audits and test planning.

Apiosk
obcraftAI-native payments for tools and APIs. Discover, pay for, execute, and publish monetized APIs directly from your agent, settled per call in USDC over x402, through the Model Context Protocol. payments · finance · x402 ·

endoflife.ai
endoflife.aiFree MCP server for software end-of-life intelligence: EOL dates, support status, and the 0-100 EOL Risk Score across 480+ tracked products. Agents can check a single version, pull a product's full lifecycle schedule, or
ZeroBeacon — 1000-Tool Collision-Proof Commerce Router
DavidFox998ZeroBeacon.ai — Collision-proof commerce router for AI agents. 1000 MCP tools: commerce, trust, billing, sovereign ID + everyday tools. LIVE.

Routebase
RoutebaseRoutebase keeps your API's design, docs, contract tests, mocks and monitoring in one living OpenAPI spec so they can't drift apart. Agents work on that same source of truth, under your team's permissions.
Comments