-
securityA
license-
qualityInteract with Twitter search and timeline
Last updated -
4
41
Python
MIT License
一个用于 X (Twitter) 集成的模型上下文协议 (MCP) 服务器,提供读取时间线和与推文互动的工具。专为配合 Claude 桌面使用而设计。
X(Twitter)提供了基本 API 访问的免费层:
注意:对于更高容量的需求,可以选择付费套餐:
您可以通过以下网址访问免费套餐: https://developer.x.com/en/portal/products/free
您需要设置您的 X (Twitter) API 凭证。请遵循以下步骤:
重要的:
要将 X MCP 服务器与 Claude 桌面连接,您需要在 Claude 设置中进行配置。请按照以下步骤操作:
%APPDATA%/Claude
并按 Enterclaude_desktop_config.json
:claude_desktop_config.json
的新文件注意:请确保:
.json
扩展名保存文件从您的主页时间线获取最新的推文。
参数:
limit
(可选):要检索的推文数量(默认值:20,最大值:100)例子:
创建新推文。
参数:
text
(必填):推文的文本内容(最多 280 个字符)例子:
回复推文。
参数:
tweet_id
(必填):要回复的推文的 IDtext
(必填):回复的文本内容(最多280个字符)例子:
npm run build
:构建 TypeScript 代码npm run dev
:在监视模式下运行 TypeScriptnpm start
:启动 MCP 服务器该服务器包括针对 X 免费层的内置速率限制处理:
麻省理工学院
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
X 服务器 (Twitter) 集成,提供阅读时间线和参与推文的工具。专为 Claude 桌面设计。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DataWhisker/x-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server