sau-mcp
Provides tools for checking cookie validity and publishing videos or notes to Bilibili.
Provides tools for checking cookie validity and publishing videos or notes to Kuaishou.
Provides tools for checking cookie validity and publishing videos or notes to Xiaohongshu.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sau-mcp Verify my Douyin account cookies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sau-mcp
基于 social-auto-upload 的 sau CLI,封装成 MCP 服务,供 Cursor 等 AI 客户端调用。
调用方法与目录说明 → docs/MCP_API.md
支持:抖音 / 快手 / 小红书 / Bilibili 的 Cookie 校验与视频(图文)发布。不实现浏览器自动化本身,只做薄封装。
前置条件
本机已安装并可运行
social-auto-upload(见上游文档)。在真实终端登录一次(不要走 MCP):
sau douyin login --account <account>
sau douyin check --account <account>Related MCP server: douyin-mcp-server
安装 sau-mcp
cd <SAU_MCP_ROOT>
python -m venv .venv
.venv\Scripts\activate
python -m pip install -e .若已安装 uv,也可用 uv venv + uv pip install -e .。
环境变量
变量 | 说明 |
|
|
|
|
| 子进程超时秒数(默认 |
复制 .env.example,按本机路径填写。不要把真实路径或账号名提交进仓库。
本地运行(stdio)
$env:SAU_CWD="<SAU_ROOT>"
$env:SAU_CMD="<SAU_ROOT>/.venv/Scripts/sau.exe"
python -m sau_mcp.serverCursor MCP 配置
参考 cursor-mcp.example.json,把占位符换成你的本机路径,再合并到 Cursor 的 MCP 设置或项目 .cursor/mcp.json。
保存后重启 Cursor / 刷新 MCP。
MCP 工具
工具 | 作用 |
| 检查 |
| 抖音 Cookie 是否有效 |
| 发布抖音视频 |
| 发布抖音图文 |
| 其他平台 |
登录(扫码 / 短信)不通过 MCP 暴露,需在本机终端执行。
对接 n8n
n8n 建议用 Execute Command 直接调 sau;MCP 面向 AI 客户端。
sau douyin upload-video --account <account> --file <VIDEO_PATH> --title "<title>"说明
上传在 MCP 所在机器上跑浏览器自动化。
Cookie 会过期,发布前先
douyin_check。属于模拟客户端发布,存在平台风控风险,请自行评估。
Available Tools
10 toolsbilibili_checkB
Check whether a Bilibili account cookie is valid.
Inputs: account (required). Returns: result
bilibili_upload_videoC
Upload and publish a Bilibili video via sau CLI.
Inputs: file (required), title (required), account (required), tid, +4 more. Returns: result
douyin_checkA
Check whether a Douyin account cookie is valid (stdout: valid/invalid).
Inputs: account (required). Returns: result
douyin_upload_noteC
Upload and publish a Douyin image note via sau CLI.
Inputs: title (required), images (required), account (required), note, +3 more. Returns: result
douyin_upload_videoC
Upload and publish a Douyin video via sau CLI.
Inputs: file (required), title (required), account (required), desc, +3 more. Returns: result
kuaishou_checkB
Check whether a Kuaishou account cookie is valid.
Inputs: account (required). Returns: result
kuaishou_upload_videoC
Upload and publish a Kuaishou video via sau CLI.
Inputs: file (required), title (required), account (required), desc, +3 more. Returns: result
sau_healthA
Check MCP wrapper config and whether sau --help runs.
Inputs: no named parameters. Returns: result
xiaohongshu_checkB
Check whether a Xiaohongshu account cookie is valid.
Inputs: account (required). Returns: result
xiaohongshu_upload_videoC
Upload and publish a Xiaohongshu video via sau CLI.
Inputs: file (required), title (required), account (required), desc, +3 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool is uniquely identified by platform (douyin, kuaishou, xiaohongshu, bilibili) and action (check, upload_video, upload_note). No two tools overlap in purpose; check tools validate cookies while upload tools publish content.
All tools follow a consistent pattern of platform_action (e.g., kuaishou_upload_video, bilibili_check), with douyin_upload_note as a logical variant. The utility sau_health also uses snake_case and fits the naming scheme.
10 tools serve four platforms, each with a check and upload video action, plus an extra Douyin note upload and a health check. This is well-scoped and not excessive for the apparent purpose.
Core functionality (cookie validation and video upload) is covered for all platforms, and Douyin additionally supports image notes. Minor gaps exist, such as no note upload for other platforms and no management operations (list/delete), but these are not critical for the upload-focused domain.
Maintenance
Related MCP Connectors
MCP server for QPost — lets AI agents publish video and image posts to YouTube, TikTok, Instagram.
Douyin short video, Xiaohongshu (RedNote) notes, comments & creator profile scraper remote MCP API.
Douyin short video, Xiaohongshu (RedNote) notes, comments & creator profile scraper remote MCP API.
Hosted MCP server for AI agents to post to LinkedIn profiles and X and upload to YouTube.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server enabling AI assistants to search, analyze, and generate content for Xiaohongshu (RedNote), China's leading lifestyle social media platform.69MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables LLMs to automatically upload videos to the Douyin (TikTok China) creator platform with features like automated login, smart upload, SMS verification, and flexible publishing.1MIT
- FlicenseAqualityDmaintenanceA lightweight MCP server that lets AI assistants publish notes to Xiaohongshu (Little Red Book) via browser automation. Supports login, image-text note publishing with up to 9 images, and search.41-
- AlicenseNot gradedqualityDmaintenanceMCP server for Xiaohongshu (xiaohongshu.com) enabling login, note/video publishing, search, recommendations, and comment management via CLI or MCP protocol.1MIT