Douyin Upload Mcp Skill logo

Douyin Upload Mcp Skill

Community
WJZ-P
douyin-upload-mcp-skill

通过抖音创作者平台(creator.douyin.com)发布视频和图文内容。首选调用 MCP 工具完成操作,MCP 无法满足时可运行 Skill 脚本兜底。禁止自行启动外部浏览器访问抖音。

Overview

PublisherWJZ-P
Repositorydouyin-upload-mcp-skill
Skill namedouyin-upload-mcp-skill
Stars
90
Forks
21
Bundled files
18
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 18 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by WJZ-P on GitHub. Read the source before you install it.

Installation

Install the Douyin Upload Mcp Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/WJZ-P/douyin-upload-mcp-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WJZ-P/douyin-upload-mcp-skill.git \
  .claude/skills/douyin-upload-mcp-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Douyin Upload Mcp Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Douyin Upload Mcp Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Douyin Upload Mcp Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

抖音 MCP Skill

⚠️ 操作优先级(必须遵守)

  1. 🥇 首选:调用 MCP 工具 — 直接调用本 Skill 暴露的 MCP 工具完成操作。绝大多数场景都应该走这条路径。
  2. 🥈 兜底:运行 Skill 脚本 — 当 MCP 工具无法满足需求时,运行本 Skill 项目中的脚本(如 demo.js、demo-imagetext.js)
  3. 🥉 最次:连接 Skill 管理的浏览器 — 仅前两种方式都无法解决时,通过 douyin_browser_info 获取 CDP 连接信息接管浏览器。需先征得用户同意

绝对禁止:自行启动新的浏览器实例访问抖音页面。

支持范围

类型支持说明
发布视频✅上传视频 + 选封面 + 填标题简介 + 发布
发布图文✅上传图片 + 填标题简介 + 选音乐 + 发布
发布全景视频❌不支持(场景极少)
发布纯文字❌不支持(场景极少)

可用 MCP 工具

核心发布工具

工具名说明入参
douyin_publish_video发布视频(全自动,内部自动检查登录)filePath(必填), title, description, timeout
douyin_publish_imagetext发布图文(全自动,内部自动检查登录)filePaths(必填,字符串数组), title, description

登录与状态

工具名说明入参
douyin_check_login检查登录状态并推进登录流程smsCode(可选,短信验证码)
douyin_probe探测页面各元素状态无
douyin_screenshot对当前页面截图保存无

页面操作

工具名说明入参
douyin_navigate_to打开指定抖音页面 URL(仅 douyin.com 域名)url, timeout
douyin_reload_page刷新页面timeout
douyin_browser_info获取浏览器连接信息(兜底接管用)无

典型使用流程

1. 登录(多次调用 douyin_check_login 推进)

第1次调用 → phase: qrcode      → 用户扫码
第2次调用 → phase: sms_verification → 自动点击接收短信
第3次调用 → phase: sms_code_input   → 用户告知验证码
第4次调用(smsCode="123456") → phase: logged_in → 登录完成

2. 发布视频

调用 douyin_publish_video:
  filePath: "C:/videos/test.mp4"
  title: "我的视频"
  description: "视频简介 #标签"

3. 发布图文

调用 douyin_publish_imagetext:
  filePaths: ["C:/images/1.png", "C:/images/2.png"]
  title: "我的图文"
  description: "图文简介 #标签"

MCP 客户端配置

json
{
  "mcpServers": {
    "douyin": {
      "command": "node",
      "args": ["<项目绝对路径>/src/mcp-server.js"]
    }
  }
}

也可通过 npm run mcp 手动启动。

架构

MCP Client → mcp-server.js → index.js → browser.js → Daemon
                                ↓
                          douyin-ops.js → operator.js → CDP → Chrome → douyin.com
  • Daemon(独立进程):管理浏览器生命周期,闲置 30 分钟自动销毁
  • browser.js:Skill 侧连接器,按需自启 Daemon
  • operator.js:纯 CDP 底层原子操作
  • douyin-ops.js:抖音业务编排层
  • mcp-server.js:MCP 工具协议层

端口配置(与 gemini-skill 共享同一浏览器实例)

配置项默认值说明
CDP 端口40821与 gemini-skill 共享
Daemon 端口40225与 gemini-skill 共享

多个 skill 共用同一个浏览器实例 + 同一个 Daemon,各 skill 各用各的 tab。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Douyin Upload Mcp Skill AI skill do?

通过抖音创作者平台(creator.douyin.com)发布视频和图文内容。首选调用 MCP 工具完成操作,MCP 无法满足时可运行 Skill 脚本兜底。禁止自行启动外部浏览器访问抖音。

Why use Douyin Upload Mcp Skill on TypingMind?

Because you install it once and use it with any model. Douyin Upload Mcp Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Douyin Upload Mcp Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/WJZ-P/douyin-upload-mcp-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Douyin Upload Mcp Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Douyin Upload Mcp Skill?

As many as you like. As long as a model supports skills, you can use Douyin Upload Mcp Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Douyin Upload Mcp Skill AI skill free?

Yes. It is published on GitHub by WJZ-P under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇