Model Context Protocol Server for Accessing twitter
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"x-twitter": {
"env": {
"X_API_KEY": "your_api_key",
"X_API_SECRET": "your_api_secret",
"X_ACCESS_TOKEN": "your_access_token",
"X_ACCESS_TOKEN_SECRET": "your_access_token_secret"
},
"args": [
"/path/to/twitter-server/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Model Context Protocol Server for Accessing twitter
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in communication
An MCP server that securely interfaces with your iMessage database via the Model Context Protocol (MCP), allowing LLMs to query and analyze iMessage conversations. It includes robust phone number validation, attachment processing, contact management, group chat handling, and full support for sending and receiving messages.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
MCP server for Kaseya Autotask PSA — 39 tools for companies, tickets, projects, time entries, and more
Email & SMS infrastructure for AI agents — send and receive real email and text messages programmatically
MCP Security Weekly
Get CVE alerts and security updates for Mcp Twitter Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A comprehensive Model Context Protocol server implementation for X (Twitter) API integration with professional workflow automation, enhanced error handling, and real-time documentation.
Clone and Install
git clone <repository-url>
cd twitter-server
npm install
Environment Setup
cp .env.example .env
# Edit .env with your credentials
Required Environment Variables:
# Twitter API credentials (Required)
X_API_KEY=your_api_key_here
X_API_SECRET=your_api_secret_here
X_ACCESS_TOKEN=your_access_token_here
X_ACCESS_TOKEN_SECRET=your_access_token_secret_here
# SocialData.tools API key (Optional - enables enhanced research tools)
SOCIALDATA_API_KEY=your_socialdata_api_key_here
SOCIALDATA_BASE_URL=https://api.socialdata.tools # Optional, uses default if not set
Build and Run
npm run build
npm start
Test the Server
# Test with JSON-RPC calls
source .env && echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | node dist/index.js
# Test specific tool
source .env && echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "getUserInfo", "arguments": {"username": "elonmusk"}}}' | node dist/index.js
Add these to your .env file:
X_API_KEY=your_api_key_here
X_API_SECRET=your_api_secret_here
X_ACCESS_TOKEN=your_access_token_here
X_ACCESS_TOKEN_SECRET=your_access_token_secret_here
| Tier | Cost | Working Tools | Limited Tools |
|---|---|---|---|
| Basic | $200/month | 18/22 tools | searchTweets, getHashtagAnalytics |
| Pro | $5,000/month | All 22 tools | None |
postTweet - Post new tweetsgetTweetById - Retrieve specific tweetsreplyToTweet - Reply to tweetsdeleteTweet - Delete your tweetslikeTweet / unlikeTweet - Like/unlike tweetsretweet / undoRetweet - Retweet/undo retweetsgetRetweets - Get retweet usersgetUserInfo - Get user profiles ✅getUserTimeline - Get user tweets ✅followUser / unfollowUser - Follow/unfollow users ✅getFollowers - Get followers ⚠️ (403 - requires special permissions)getFollowing - Get following ⚠️ (403 - requires special permissions)createList - Create X (Twitter) listsgetUserLists - Get user's listsaddUserToList / removeUserFromList - Manage list membersgetListMembers - Get list memberssearchTweets - Search tweets (requires Pro tier - $5,000/month)getHashtagAnalytics - Hashtag analytics (requires Pro tier)getLikedTweets - Get liked tweets (API access issue)*Note: These tools gracefully handle missing AP