douyin-media-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOUYIN_MCP_CDP_URL | No | 附着到用户已启动的Chromium的CDP URL。 | |
| DOUYIN_MCP_BROWSER_CHANNEL | No | 留空后使用Playwright自带Chromium;默认使用系统Chrome。 | |
| DOUYIN_MCP_BROWSER_PROFILE | No | 使用由用户管理的持久化profile目录。目录不会被复制或提交。 | |
| DOUYIN_MCP_BROWSER_HEADLESS | No | 使用无头模式;更容易触发平台风控,不推荐作为默认值。默认为0(有头模式) | 0 |
| DOUYIN_MCP_USE_BROWSER_COOKIES | No | 仅在用户明确允许时,把当前上下文Cookie临时用于媒体请求;Cookie不落盘到manifest或日志。 | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| resolve_douyin_urlA | Resolve a Douyin share URL without saving media or exposing signed stream URLs. Use browser_mode="auto" normally. "direct" only expands redirects; "browser" forces Playwright network observation. Human verification challenges are reported, never bypassed. |
| download_douyin_mediaA | Download, stream-copy mux, probe, decode-check, and hash authorized Douyin media. If no independent audio stream is captured, a validated video-only file is returned with media_mode="video_only" and an explicit warning. Signed URLs are never exposed. |
| probe_mediaC | Inspect a local media file with FFprobe, SHA-256, and optional three-point decoding. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: resolving URLs, downloading media, and probing local files. No overlap in functionality.
All tool names follow a consistent verb_noun pattern: resolve_douyin_url, download_douyin_media, probe_media. Naming is uniform and predictable.
With only 3 tools, the server is tightly scoped to the Douyin media domain. Each tool serves a necessary function without redundancy.
The set covers the core workflow: resolving, downloading, and probing. Missing a tool for fetching metadata from a URL without downloading might be a minor gap, but overall complete for its purpose.