An MCP (Model Context Protocol) server that provides tools for interacting with Twitter using the agent-twitter-client library.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"twitter-scraper-mcp": {
"args": [
"-y",
"fastmcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP (Model Context Protocol) server that provides tools for interacting with Twitter using the agent-twitter-client library.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'fastmcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked fastmcp against OSV.dev.
Click any tool to inspect its schema.
Be 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 / data
Query and manage PostgreSQL databases directly from AI assistants
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Manage Supabase projects — databases, auth, storage, and edge functions
MCP Security Weekly
Get CVE alerts and security updates for Twitter Scraper Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server that provides tools for interacting with Twitter using the agent-twitter-client library.
npm install
# or
yarn install
.env file in the root directory with your Twitter credentials:TWITTER_USERNAME=your_twitter_username
TWITTER_PASSWORD=your_twitter_password
TWITTER_EMAIL=your_email@example.com (optional)
TWITTER_2FA_SECRET=your_2fa_secret (optional)
# Optional API credentials (used as fallback)
TWITTER_API_KEY=your_api_key
TWITTER_API_SECRET_KEY=your_api_secret_key
TWITTER_ACCESS_TOKEN=your_access_token
TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret
You can run the server using the FastMCP CLI tools:
# For development and testing in the terminal
npx fastmcp dev
# For visual inspection with the MCP Inspector
npx fastmcp inspect
Retrieves a tweet by its ID.
Parameters:
tweetId (string): The ID of the tweet to retrieveExample:
getTweet({"tweetId": "1734609533274853865"})
Posts a new tweet to Twitter.
Parameters:
text (string): The text content of the tweet to sendExample:
sendTweet({"text": "Hello World from MCP!"})
This server is built using:
To build the TypeScript code:
npx tsc
MIT