mcp-twitter
Twitter MCP 服务器
欢迎使用 Twitter MCP(多渠道平台)服务器!此应用程序提供多种强大功能,可帮助您以编程方式管理 Twitter 帐户。
特征
**获取时间线:**检索您的 Twitter 主页时间线。
**获取任何用户的推文:**从任何公共 Twitter 用户获取推文。
**标签搜索:**搜索包含任何标签(例如
#AI)的推文。**获取回复和摘要:**检索推文的回复并获取总结的见解。
**用户直接消息:**发送和接收 Twitter DM。
**创建帖子:**以编程方式创建新推文。
**删除帖子:**通过 API 删除您的推文。
还有更多...

Related MCP server: TwitGhost
入门
先决条件
Python 3.11+
uvicorn (用于运行服务器)
Twitter API 凭证(在
.env文件中设置)
安装
克隆此存储库。
安装依赖项:
pip install -r requirements.txt使用您的 Twitter API 凭证设置您的
.env文件(请参阅.env.example)。
运行应用程序
要启动服务器,请运行:
uv run --with twikit --with mcp Path\\src\\tweet_service.py{
"mcpServers": {
"twitter-mcp": {
"command": "uv",
"args": [
"--directory",
"Path\\src\\",
"run",
"--with",
"twikit",
"--with",
"mcp",
"tweet_service.py"
],
"env": {
"COOKIES_PATH": "Path\\cookies.json",
"ENV_FILE": ".env"
}
}
}
}欢迎随意贡献或建议新功能!
This server cannot be deployed
Maintenance
Related MCP Connectors
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
Official MCP server for twitterapis.com. Read and write Twitter/X: search, users, tweets, DMs.
Twitter/X read-only MCP server — 12 tools: search, users, tweets, followers, timelines, trends.
Create, schedule, and publish social posts, manage accounts, and read analytics as MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a standardized MCP interface for interacting with Twitter's tools and services, compatible with MCP-compliant applications.1MIT
- AlicenseBqualityDmaintenanceEnables interacting with Twitter/X through natural language, including searching tweets, posting, sending DMs, and managing timelines via any MCP client.8MIT
- AlicenseAqualityAmaintenanceMCP server for the Twitter/X read API, enabling search, user profiles, tweets, followers, and more via natural language.94125 npmMIT
- AlicenseAqualityAmaintenanceMCP server to read X (Twitter) posts, threads, replies, quotes, and search using your own logged-in session, no API key required.825 PyPI3MIT