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

An MCP server for creating, managing, and publishing X/Twitter posts through Claude code and Gemini CLI.
X(Twitter) MCP Server is cataloged as an MCP server attributed to cjkcr. An MCP server for creating, managing, and publishing X/Twitter posts through Claude code and Gemini CLI. 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.
Yes; the server schedules single tweets, threads, and recurring tweets, supporting absolute and relative time formats.
Yes; media files can be uploaded and attached to tweets, with alt text for accessibility.
README.md · 5c2ecaa5da9a · 采集于 2026-11-13 11:00:55 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
English | 中文
An MCP server to create, manage and publish X/Twitter posts directly through Claude code and Gemini CLI chat.
Note: This project is modified from vidhupv/x-mcp, with added reply functionality for tweets.
Before starting the installation, please ensure your system meets the following requirements:
macOS Users:
# Install Homebrew (if you don't have it)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install required software
brew install python node git uv
Windows Users:
# Using Chocolatey (recommended)
choco install python nodejs git
# Then install UV
pip install uv
Linux Users:
# Ubuntu/Debian
sudo apt update
sudo apt install python3 python3-pip nodejs npm git
pip3 install uv
# CentOS/RHEL
sudo yum install python3 python3-pip nodejs npm git
pip3 install uv
To install X(Twitter) MCP Server for Claude code automatically via Smithery:
npx -y @smithery/cli install x-mcp --client claude
Clone project and set up environment:
# Clone the repository
git clone https://github.com/yourusername/x-mcp.git
cd x-mcp
# Install UV (Python package manager)
# macOS users (recommended):
brew install uv
# Or use pip:
pip install uv
Install dependencies (choose one method):
Method 1: Automatic environment creation and installation (Recommended)
# One step: create virtual environment and install dependencies
uv sync
# Activate virtual environment (if manual operation needed)
# macOS/Linux:
source .venv/bin/activate
# Windows:
# .venv\Scripts\activate
Method 2: Manual environment creation and installation
# Manually create virtual environment
uv venv
# Activate virtual environment
# macOS/Linux:
source .venv/bin/activate
# Windows:
# .venv\Scripts\activate
# Install dependencies from pyproject.toml
uv pip sync pyproject.toml
Create claude_desktop_config.json:
~/Library/Application Support/Claude/ and create the file inside it%APPDATA%/Claude/ and create the file inside itAdd this configuration to claude_desktop_config.json:
{
"mcpServers": {
"x_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/x-mcp",
"run",
"x-mcp"
],
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
}
}
}
}
{
"mcpServers": {
"x_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/x-mcp",
"run",
"x-mcp"
],
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret",
"TWITTER_BEARER_TOKEN": "your_bearer_token"
}
}
}
}
💡 Recommended to use dual authentication configuration: Adding
TWITTER_BEARER_TOKENcan significantly improve the stability and success rate of tweet retrieval functions.
Visit X API Developer Portal:
Create Project and App:
Configure App Permissions:
http://localhost/http://example.com/Generate API Keys and Tokens:
Update the config file:
/path/to/x-mcp with your actual project path (e.g., /Users/yourname/x-mcp)your_* placeholders with your actual API credentialsQuit Claude completely and reopen it
Test the connection in Claude:
test api connection
If everything is configured correctly, you should see successful connection test results.
If you want to use this MCP server with Gemini CLI instead of Claude code:
Clone project and set up environment:
# Clone the repository
git clone https://github.com/yourusername/x-mcp.git
cd x-mcp
# Install UV (Python package manager)
# macOS users:
brew install uv
# Or use pip:
pip install uv
Install dependencies (choose one method):
Method 1: Automatic environment creation and installation (Recommended)
# One step: create virtual environment and install dependencies
uv sync
# Activate virtual environment (if manual operation needed)
# macOS/Linux:
source .venv/bin/activate
# Windows:
# .venv\Scripts\activate
Method 2: Manual environment creation and installation
# Manually create virtual environment
uv venv
# Activate virtual environment
# macOS/Linux:
source .venv/bin/activate
# Windows:
# .venv\Scripts\activate
# Install dependencies from pyproject.toml
uv pip sync pyproject.toml
Install Gemini CLI:
npm install -g @google/gemini-cli
Create or update your MCP configuration file:
# Create configuration directory (if it doesn't exist)
mkdir -p ~/.gemini
# Create configuration file
touch ~/.gemini/settings.json
Edit configuration file ~/.gemini/settings.json:
{
"mcpServers": {
"x_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/x-mcp",
"run",
"x-mcp"
],
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
}
}
}
}
{
"mcpServers": {
"x_mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/x-mcp",
"run",
"x-mcp"
],
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret",
"TWITTER_BEARER_TOKEN": "your_bearer_token"
}
}
}
}
Visit X API Developer Portal:
Create Project and App:
Configure App Permissions:
http://localhost/http://example.com/Generate API Keys and Tokens:
Update the config file:
/path/to/x-mcp with your actual project path (e.g., /Users/yourname/x-mcp)your_* placeholders with your actual API credentialsStart Gemini CLI:
# Start Gemini CLI with MCP support
gemini-cli
# Or if you need to specify config file path:
gemini-cli --config ~/.gemini/settings.json
Test the connection in Gemini CLI:
test api connection
If everything is configured correctly, you should see successful connection test results.
When tweet publishing fails, you can choose whether to automatically delete drafts:
"AUTO_DELETE_FAILED_DRAFTS": "true" or "false" in your configuration fileWorks with both Claude code and Gemini CLI:
UV not found or installation failed:
# Check if UV is properly installed
which uv
uv --version
# If not found, reinstall
pip uninstall uv
brew install uv # macOS
# or
pip install uv # other systems
Virtual environment issues:
# Delete existing virtual environment
rm -rf .venv
# Recreate (choose one method):
# Method 1: Automatic creation and installation (recommended)
uv sync
# Method 2: Manual creation and installation
uv venv
source .venv/bin/activate # macOS/Linux or .venv\Scripts\activate (Windows)
uv pip sync pyproject.toml
Python version incompatibility:
# Check Python version (requires 3.8+)
python --version
python3 --version
# If version is too old, upgrade Python
brew install python@3.11 # macOS
# or use your system package manager to upgrade
If not working:
pip uninstall uv and reinstall with brew install uv)which uv and replace "command": "uv" with the full pathQuick Diagnosis:
test api connection
Running this command in Claude will:
Run Test Script:
cd /path/to/x-mcp
python test_tweet_functions.py
Problem Symptoms:
Solutions:
Add Bearer Token (Recommended):
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret",
"TWITTER_BEARER_TOKEN": "your_bearer_token"
}
Regenerate API Credentials:
Check Project Settings:
http://localhost/http://example.com/Dual Authentication Benefits:
Common Errors and Solutions:
| Error Code | Cause | Solution |
|---|---|---|
| 401 | Authentication failed | Check API credentials, regenerate tokens |
| 403 | Insufficient permissions | Upgrade API plan or check permission settings |
| 404 | Tweet not found | Verify tweet ID, check if tweet is public |
| 429 | Rate limit exceeded | Wait 15 minutes or upgrade API plan |
API Plan Limitations:
Check Authentication Status:
test api connection
Verify Configuration:
Test Specific Functions:
search for tweets containing "hello"
get tweet 1234567890 content
Review Detailed Logs:
This project is based on the excellent work by Vidhu Panhavoor Vasudevan in the original x-mcp repository.
Special thanks to the original author for creating the foundation of this MCP server!
For more detailed functionality descriptions and usage guides, please refer to:
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-cjkcr)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.