About Twitter MCP Server
Twitter MCP Server is an MCP server published by touchmeangel in the Social category: twitter client MCP Server where you only have to connect your account or auth token and let everything else be handled for you.
The repository has 5 stars and 4 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/touchmeangel/twitter-mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Twitter MCP Server
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 18 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
1 check has not been run yet.
README
twitter-mcp-server
Twitter client MCP Server where you only have to connect your account or auth token and let everything else be handled for you
Tools
Reading Tools
get_tweets- Retrieve the latest tweets from a specific userget_profile- Access profile details of a usersearch_tweets- Find tweets based on hashtags or keywords
Interaction Tools
like_tweet- Like or unlike a tweetretweet- Retweet or undo retweetpost_tweet- Publish a new tweet, with optional media attachments
Timeline Tools
get_timeline- Fetch tweets from various timeline typesget_trends- Retrieve currently trending topics
User Management Tools
follow_user- Follow or unfollow another user
Usage
Add the server config to your MCP client:
On MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
On Windows:
%APPDATA%/Claude/claude_desktop_config.json
Configuration:
{
"mcpServers": {
"twitter-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--name", "twitter-mcp-server",
"touchmeangel/twitter-mcp-server"
]
}
}
}
Or run http server like this
docker run -i --rm --name twitter-mcp-server -e APP_PORT=3000 -p 3000:3000 touchmeangel/twitter-mcp-server
You can even just run it inside docker compose
services:
twitter-mcp:
image: touchmeangel/twitter-mcp-server
restart: unless-stopped
environment:
- APP_PORT=3000
ports:
- 3000:3000
Now use http://twitter-mcp:3000/mcp or http://localhost:3000/mcp for connection
Authentication
Authorization: Bearer <auth_token>:<ct0>
auth_token and ct0 are X (Twitter) cookies which allow access to your account.
Error Handling
The server implements comprehensive error handling:
- Input validation for all parameters
- Rate limiting protection
- Detailed error messages
- Proper error propagation
- Logging for debugging
Development & Testing
Contributions are welcome! Please feel free to submit a Pull Request.
To test tools use
npx @modelcontextprotocol/inspector
README fetched from the repository 18 hours ago. The original is authoritative.