{
"mcpServers": {
"toutiao-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 307 days ago. 52 stars.
Will it work with my client?
Transport: http. Compatibility not confirmed.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Toutiao_mcp_server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
一个功能完整的今日头条内容管理MCP服务器,支持自动登录、内容发布、数据分析等功能。完全兼容小红书自动发布工具的数据格式,支持一键多平台发布。
本项目完全兼容您现有的小红书自动发布工具数据格式,可以实现:
publish_xiaohongshu_data - 批量发布小红书格式数据到今日头条publish_single_xiaohongshu_record - 发布单条小红书记录到今日头条process_feishu_records - 处理飞书多维表格记录(兼容小红书工具格式)convert_xiaohongshu_format - 预览小红书格式转换为今日头条格式git clone <repository-url>
cd toutiao_mcp_server
pip install -r requirements.txt
# WebDriver会通过webdriver-manager自动下载
# 确保系统已安装Chrome浏览器
# 复制配置示例文件
cp config.example.py config_local.py
# 根据需要修改配置
# 使用默认端口8003启动
python start_server.py
# 或指定端口和日志级别
python start_server.py --port 8080 --log-level DEBUG
使用集成示例文件(推荐):
# 运行多平台发布示例
python integration_example.py
这个示例文件完全兼容您现有的小红书工具,支持:
或通过MCP工具调用:
import asyncio
import httpx
async def multi_platform_publish():
# 飞书数据格式(与小红书工具完全一致)
records = [
{
"title": "科技前沿:AI发展趋势",
"content": "人工智能正在改变我们的生活...",
"image_url": "https://example.com/image.jpg"
}
]
# 发布到今日头条
async with httpx.AsyncClient() as client:
response = await client.post(
"http://localhost:8003/publish_xiaohongshu_data",
json={
"records": records,
"download_folder": "downloaded_images"
}
)
result = response.json()
print(f"发布结果: {result}")
# 运行示例
asyncio.run(multi_platform_publish())
登录今日头条:
# 通过MCP工具调用
result = login_with_credentials("your_username", "your_password")
发布内容:
# 发布图文文章
result = publish_article(
title="今日头条MCP服务器使用指南",
content="这是一个功能强大的今日头条内容管理工具...",
images=["path/to/image1.jpg", "path/to/image2.jpg"],
tags=["科技", "工具"]
)
# 发布微头条
result = publish_micro_post(
content="这是一条测试微头条 #科技#",
images=["path/to/image.jpg"]
)
auth.py)publisher.py)analytics.py)multi_platform_publisher.py)server.py)# 今日头条相关URL(可自定义)
TOUTIAO_URLS = {
'login': 'https://sso.toutiao.com/login',
'publish_article': 'https://mp.toutiao.com/core/article/add/',
# ... 更多URL配置
}
# Selenium配置
SELENIUM_CONFIG = {
'implicit_wait': 10,
'explicit_wait': 30,
'headless': False, # 是否无头模式
'chrome_options': [...]
}
# 内容发布配置
CONTENT_CONFIG = {
'default_category': '科技',
'max_images_per_article': 20,
'auto_compress_images': True,
# ... 更多配置
}
# 在 integration_example.py 中配置
XIAOHONGSHU_MCP_URL = "http://localhost:8002/xhs-mcp-server"
TOUTIAO_MCP_URL = "http://localhost:8003"
# 飞书多维表格配置(与小红书工具保持一致)
LARK_APP_ID = "your_app_id"
LARK_APP_SECRET = "your_app_secret"
APP_TOKEN = "your_app_token"
TABLE_ID = "your_table_id"