
An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

An MCP server that offers unofficial X/Twitter access through browser automation with Playwright, letting AI agents create content, interact with posts, and scrape timelines, profiles, and search results.
X/Twitter MCP Server is cataloged as an MCP server attributed to barresider. An MCP server that offers unofficial X/Twitter access through browser automation with Playwright, letting AI agents create content, interact with posts, and scrape timelines, profiles, and search results. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for X/Twitter MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 77817e489836 · 采集于 2026-11-13 10:22:26 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides unofficial X/Twitter API access through browser automation using Playwright. This server enables AI agents and applications to interact with X/Twitter programmatically for content creation, scraping, and social media automation.
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"x-mcp": {
"command": "npx",
"args": ["-y", "@barresider/x-mcp"],
"env": {
"TWITTER_USERNAME": "your_twitter_username",
"TWITTER_PASSWORD": "your_twitter_password"
}
}
}
}
With proxy (optional):
{
"mcpServers": {
"x-mcp": {
"command": "npx",
"args": ["-y", "@barresider/x-mcp"],
"env": {
"TWITTER_USERNAME": "your_twitter_username",
"TWITTER_PASSWORD": "your_twitter_password",
"PROXY_URL": "http://proxy-server:port"
}
}
}
}
That's it! Claude can now interact with X/Twitter through 25+ powerful tools including:
tweet: Post a new tweet with optional mediathread: Post a multi-tweet threadsearch_twitter: Search for tweets with advanced filtersscrape_profile: Get comprehensive user profile datascrape_timeline: Extract posts from timelineslike_post, retweet_post, bookmark_post: Interact with postsTry asking Claude:
git clone <repository-url>
cd x-mcp
npm install
npm run build
docker build -t x-mcp .
docker-compose --profile mcp up --build
Create a .env file in the project root:
# Required: X/Twitter credentials
TWITTER_USERNAME=your_username
TWITTER_PASSWORD=your_password
# Optional: Proxy configuration
PROXY_URL=http://proxy-server:port # Full proxy URL (supports http/https)
# or with authentication
PROXY_URL=http://username:password@proxy-server:port
# or separately
PROXY_URL=http://proxy-server:port
PROXY_USERNAME=proxy_username # Optional: separate username
PROXY_PASSWORD=proxy_password # Optional: separate password
# Optional: MCP server configuration
MCP_TRANSPORT=stdio # Options: stdio, sse, http
MCP_PORT=3000 # Port for HTTP/SSE transport
# Optional: Directory for authentication state (default: playwright/.auth)
AUTH_DIR=playwright/.auth
AUTH_DIR environment variable:export AUTH_DIR=/path/to/auth/dir
mkdir -p "${AUTH_DIR:-playwright/.auth}"
npm run cli login
# or
node dist/cli.js login
The server provides 25+ tools for comprehensive X/Twitter interaction:
login - Authenticate with X/Twittertweet - Post a single tweet with optional mediathread - Post a multi-tweet threadreply_to_post - Reply to a specific postquote_tweet - Quote tweet with additional textlike_post / unlike_post - Like/unlike postsretweet_post / unretweet_post - Retweet/unretweet postsbookmark_post / unbookmark_post - Bookmark managementlike_comment_by_id / unlike_comment_by_id - Like/unlike commentsreply_to_comment_by_id - Reply to commentsreplace_comment_by_id - Edit comments (if supported)scrape_posts - Scrape posts from current pagescrape_profile - Get user profile and recent postsscrape_comments - Extract comments from postsscrape_timeline - Scrape For You/Following timelinesscrape_trending - Get trending topicssearch_twitter - General search functionalitysearch_viral - Search for viral content with minimum engagementinterface TwitterPost {
postId: string;
author: TwitterUser;
content: string;
timestamp: Date;
media: TwitterMedia[];
metrics: PostMetrics;
engagementRate: number;
isRetweet?: boolean;
retweetedFrom?: TwitterUser;
quotedPost?: TwitterPost;
url: string;
}
interface TwitterProfile extends TwitterUser {
bannerUrl?: string;
bio?: string;
location?: string;
website?: string;
joinedDate?: Date;
followingCount: number;
followersCount: number;
postsCount: number;
isFollowing?: boolean;
isFollowedBy?: boolean;
latestPosts?: TwitterPost[];
}
interface PostMetrics {
likesCount: number;
retweetsCount: number;
quotesCount: number;
repliesCount: number;
impressionsCount: number;
bookmarksCount: number;
}
AUTH_DIR environment variable (default playwright/.auth/)PROXY_URL environment variablehttp://proxy-server:porthttp://username:password@proxy-server:portPROXY_USERNAME and PROXY_PASSWORD# Start the MCP server
docker-compose --profile mcp up
# With environment variables
TWITTER_USERNAME=your_username TWITTER_PASSWORD=your_password docker-compose --profile mcp up
docker run -d \
--name x-mcp \
-e TWITTER_USERNAME=your_username \
-e TWITTER_PASSWORD=your_password \
-e PROXY_URL=http://proxy-server:port \
-e MCP_TRANSPORT=sse \
-e MCP_PORT=3000 \
-p 3000:3000 \
x-mcp
src/
├── mcp.ts # Main MCP server implementation
├── cli.ts # Command line interface
├── types.ts # TypeScript type definitions
├── utils.ts # Utility functions
├── behaviors/ # User interaction behaviors
│ ├── login.ts # Authentication logic
│ ├── interact-with-post.ts # Post interaction functions
│ ├── interact-with-comment.ts # Comment interaction functions
│ └── upload-media.ts # Media upload functionality
└── scrapers/ # Data scraping modules
├── index.ts # Scraper exports
├── post-scraper.ts # Post scraping logic
├── profile-scraper.ts # Profile scraping logic
├── comment-scraper.ts # Comment scraping logic
├── search-scraper.ts # Search functionality
├── timeline-scraper.ts # Timeline scraping
└── utils.ts # Scraping utilities
# Build TypeScript
npm run build
# Run MCP server
npm run mcp
# Run CLI commands
npm run cli <command>
[License information here]
Authentication Failures
.env filenpm run cli loginElement Not Found Errors
Rate Limiting
Container Issues
For more help, please open an issue on the project repository.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for X/Twitter MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/x-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.
Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

A Telegram CLI with background sync that can run an optional MCP server for a personal account using MTProto, not the bot API.