@twitterapis/mcp
Exposes the Twitter/X API as native MCP tools, letting agents search tweets and users, pull profiles, timelines, followers, lists, communities, and trends, and read account-scoped data like bookmarks, DMs, and home timeline. It also performs write actions such as posting, liking, retweeting, following, and their reversals, using an API key with optional linked or per-call X account credentials.
安装
npx -y @twitterapis/mcp
把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
{
"mcpServers": {
"twitter-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<TWITTERAPIS_KEY>",
"TWITTERAPIS_BASE_URL": "<TWITTERAPIS_BASE_URL>",
"TWITTERAPIS_TIMEOUT_MS": "<TWITTERAPIS_TIMEOUT_MS>",
"TWITTERAPIS_FEEDBACK_DIR": "<TWITTERAPIS_FEEDBACK_DIR>"
}
}
}
}把上面的配置写入 MCP 客户端的配置文件(Claude Desktop 为 claude_desktop_config.json),重启客户端后生效。
数据来源:公开的 MCP Server 目录。本站为独立第三方目录,与各 MCP Server 维护方均无隶属或背书关系;名称与简介如实标注,介绍文案由本站再加工。