Skip to main content
Glama

Twitter MCP 服务器

欢迎使用 Twitter MCP(多渠道平台)服务器!此应用程序提供多种强大功能,可帮助您以编程方式管理 Twitter 帐户。

特征

  • **获取时间线:**检索您的 Twitter 主页时间线。

  • **获取任何用户的推文:**从任何公共 Twitter 用户获取推文。

  • **标签搜索:**搜索包含任何标签(例如#AI )的推文。

  • **获取回复和摘要:**检索推文的回复并获取总结的见解。

  • **用户直接消息:**发送和接收 Twitter DM。

  • **创建帖子:**以编程方式创建新推文。

  • **删除帖子:**通过 API 删除您的推文。

  • 还有更多...

Twitter MCP 服务器

Twitter MCP 服务器

Related MCP server: X (Twitter) MCP server

入门

先决条件

  • Python 3.11+

  • uvicorn (用于运行服务器)

  • Twitter API 凭证(在.env文件中设置)

安装

  1. 克隆此存储库。

  2. 安装依赖项:

    pip install -r requirements.txt
  3. 使用您的 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"  
    }
  }

}
}

欢迎随意贡献或建议新功能!

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuniaKunal/mcp-twitter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server