抖音视频上传 Skills
让你的 AI 助手能够自动上传视频到抖音创作者平台。支持 OpenClaw、Claude Code 等 AI 工具。
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
让你的 AI 助手能够自动上传视频到抖音创作者平台。支持 OpenClaw、Claude Code 等 AI 工具。
🎥 Douyin (TikTok China) MCP Server - Automated video upload service via Model Context Protocol for AI integration
# 1. 克隆项目
git clone https://github.com/lancelin111/douyin-mcp-server.git
cd douyin-mcp-server
# 2. 安装依赖并构建
npm install && cd mcp-server && npm install && npm run build && cd ..
# 3. 复制 Skill 到 OpenClaw(或 Claude Code)
# OpenClaw:
mkdir -p ~/.openclaw/workspace/skills/douyin && cp skills/SKILL.md ~/.openclaw/workspace/skills/douyin/
# Claude Code:
mkdir -p ~/.claude/skills/douyin && cp skills/SKILL.md ~/.claude/skills/douyin/
# 测试脚本是否可用
npx tsx scripts/manage.ts info
输出 No saved cookies found. 表示安装成功。
首次使用必须先登录,获取并保存登录凭证。
在 OpenClaw/Claude Code 中:
帮我登录抖音
或
/douyin
命令行方式:
cd douyin-mcp-server
npx tsx scripts/login.ts
流程说明:
✅ Login successful!登录成功输出:
🚀 Starting Douyin login...
Headless: false
Timeout: 180000ms
✅ Login successful!
User: 你的抖音昵称
Cookies saved: 25
⚠️ 注意:Cookie 有效期约 30 天,过期后需重新登录。
📱 重要提示:登录成功后,第一次上传视频需要短信验证。按提示输入验证码即可。完成一次验证后,之后的上传将完全自动化,无需再次验证。
登录成功后,就可以上传视频了。
在 OpenClaw/Claude Code 中:
上传视频 /Users/xxx/video.mp4 到抖音,标题是"我的第一个视频",标签是"日常,生活"
命令行方式:
npx tsx scripts/upload.ts \
--video "/Users/xxx/video.mp4" \
--title "我的第一个视频" \
--description "这是视频描述" \
--tags "日常,生活,记录"
参数说明:
上传成功输出:
🚀 Starting Douyin upload...
Video: /Users/xxx/video.mp4
Title: 我的第一个视频
Tags: 日常, 生活, 记录
Auto-publish: true
✅ Video upload and publish successful!
Title: 我的第一个视频
Status: Published
遇到短信验证:
📱 检测到短信验证页面
✅ 已发送验证码到您的手机
请输入收到的验证码:
验证码: 123456
✅ 验证码已提交
定期检查登录状态,避免上传时才发现 Cookie 过期。
检查登录是否有效:
npx tsx scripts/manage.ts check
输出:
🔍 Checking login status...
✅ Cookies are valid. Can auto-login as: 你的昵称
查看 Cookie 信息:
npx tsx scripts/manage.ts info
输出:
📋 Cookie information:
Count: 25
Created: 2024/3/16 22:30:00
清除登录数据(切换账号时使用):
npx tsx scripts/manage.ts clear
输出:
🗑️ Clearing login data...
✅ Cookies and browser data cleared successfully.
本项目提供一个统一的 Skill,符合 Agent Skills 开放标准。
Skill 名称:douyin
触发方式:/douyin 或自然语言如 "登录抖音"、"上传视频到抖音"、"检查抖音登录状态"
功能:
skills/
└── SKILL.md # 统一的技能定义文件
OpenClaw:
cp skills/SKILL.md ~/.openclaw/workspace/skills/douyin/SKILL.md
# 然后在 OpenClaw 中输入: refresh skills
Claude Code:
mkdir -p ~/.claude/skills/douyin && cp skills/SKILL.md ~/.claude/skills/douyin/
其他支持 Agent Skills 的工具:
按照各工具的 Skills 安装方式,将 skills/SKILL.md 复制到相应位置。
不依赖 AI 工具,直接通过命令行使用。
npx tsx scripts/login.ts [选项]
npx tsx scripts/upload.ts --video <路径> --title <标题> [选项]
npx tsx scripts/manage.ts <命令>
# 重新安装 Chrome
npx puppeteer browsers install chrome
Cookie 已过期,需要重新登录:
npx tsx scripts/manage.ts clear
npx tsx scripts/login.ts
--headless,观察浏览器状态这是正常情况,抖音会对视频进行审核,通常几分钟到几小时不等。
# 1. 清除当前登录
npx tsx scripts/manage.ts clear
# 2. 重新登录新账号
npx tsx scripts/login.ts
douyin-mcp-server/
├── skills/ # Agent Skills 定义
│ └── SKILL.md # 统一的技能定义文件
├── scripts/ # CLI 脚本
│ ├── login.ts
│ ├── upload.ts
│ └── manage.ts
├── mcp-server/ # 核心代码
│ ├── douyin-uploader.ts # 自动化逻辑
│ ├── index.ts # MCP 服务器入口
│ └── __tests__/ # 单元测试
├── install.sh # 一键安装脚本
└── README.md
MIT License
🎥 Douyin (TikTok China) MCP Server - Automated video upload service via Model Context Protocol for AI integration
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Douyin ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-27 🎥 Douyin (TikTok China) MCP Server - Automated video upload service via Model Context Protocol for AI integration