欢迎来到 Twitter MCP(多渠道平台)服务器!此应用程序帮助您通过多种强大功能以编程方式管理您的 Twitter 账户。
#AI)的推文。
.env 文件中)pip install -r requirements.txt
.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"
}
}
}
}
欢迎贡献或建议新功能!