MCP server implementation for X.com API with OAuth 2.0 support
{
"mcpServers": {
"x-com-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server implementation for X.com API with OAuth 2.0 support
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 309 days ago. 7 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Search, evaluate, and compare 17,000+ MCP servers — each scored on security, maintenance, and efficiency.
AI agents get on-chain identity, credentials, reputation, escrow, and persistent memory on XRPL.
MCP server for scanning and remediating hardcoded secrets using GitGuardian’s API. Detect over 500 secret types and prevent credential leaks before code goes public.
Trust infrastructure for AI agents — DIDs, reputation, verifiable credentials, USDC.
MCP Security Weekly
Get CVE alerts and security updates for X.Com Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
getSinglePost - Retrieve a single post by ID with optional field expansionsgetBulkPosts - Retrieve up to 100 posts by their IDscreatePost - Create a new post with text, media, polls, replies, etc.deletePost - Delete a post by IDhideReply - Hide or unhide a reply to a postgetUserTimeline - Get a user's timeline of postsgetUserMentions - Get posts that mention a specific usersearchRecent - Search recent posts (last 7 days)searchAll - Search all posts (full archive - requires Academic/Enterprise access)getPostCountsRecent - Get time-bucketed post counts for recent postsgetPostCountsAll - Get time-bucketed post counts for all posts (Academic/Enterprise)getRetweets - Get posts that retweet a specific postcreateRetweet - Retweet a postdeleteRetweet - Remove a retweetgetLikingUsers - Get users who liked a specific postgetLikedTweets - Get posts that a user has likedlikePost - Like a postunlikePost - Unlike a postgetUserBookmarks - Get a user's bookmarked postsbookmarkPost - Bookmark a postremoveBookmark - Remove a bookmarkpnpm install
pnpm run build
After installation, you can run it using:
node dist/index.js
docker build -t x.com-mcp .
docker run -i --rm -e X_COM_ACCESS_TOKEN=your-access-token x.com-mcp
X_COM_ACCESS_TOKEN (required): Your X.com OAuth 2.0 access tokenX_COM_ACCESS_TOKENAdd to your Claude settings:
"mcpServers": {
"x-com": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"X_COM_ACCESS_TOKEN": "your-access-token"
}
}
}
"mcpServers": {
"x-com": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "X_COM_ACCESS_TOKEN=your-access-token", "x.com-mcp"]
}
}
{
"name": "createPost",
"arguments": {
"text": "Hello world! This is my first post via the MCP server.",
"reply_settings": "everyone"
}
}
{
"name": "searchRecent",
"arguments": {
"query": "artificial intelligence",
"max_results": 10,
"tweet.fields": "created_at,author_id,public_metrics"
}
}
{
"name": "getUserTimeline",
"arguments": {
"id": "123456789",
"max_results": 20,
"expansions": "author_id"
}
}
{
"name": "likePost",
"arguments": {
"user_id": "123456789",
"tweet_id": "987654321"
}
}
{
"name": "getPostCountsRecent",
"arguments": {
"query": "machine learning",
"granularity": "day"
}
}