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.
コメント