docs: fix Douyin MCP installation instructions
This commit is contained in:
@@ -44,6 +44,27 @@ xhs favorites # 可能返回 API error
|
|||||||
|
|
||||||
## 抖音 / Douyin
|
## 抖音 / Douyin
|
||||||
|
|
||||||
|
### 安装与配置
|
||||||
|
|
||||||
|
`douyin-mcp-server` 是 **stdio 模式**的 MCP server,需先安装再注册到 mcporter:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 1. 安装
|
||||||
|
pipx install douyin-mcp-server
|
||||||
|
|
||||||
|
# 2. 查找安装路径
|
||||||
|
pipx runpip douyin-mcp-server show -f 2>/dev/null | grep "Location" \
|
||||||
|
|| find ~/.local -name "douyin-mcp-server" 2>/dev/null | head -1
|
||||||
|
|
||||||
|
# 3. 注册到 mcporter(使用 stdio 模式,将路径替换为上一步的输出)
|
||||||
|
mcporter config add douyin --command "/path/to/douyin-mcp-server" --scope home
|
||||||
|
```
|
||||||
|
|
||||||
|
> **注意**:`agent-reach install --channels douyin` 暂不支持抖音渠道(抖音在"可选渠道待解锁"列表)。
|
||||||
|
> HTTP 模式(`mcporter config add douyin http://localhost:18070/mcp`)**无法正常工作**,请使用上方 stdio 方式。
|
||||||
|
|
||||||
|
### 用法
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 解析视频信息
|
# 解析视频信息
|
||||||
mcporter call 'douyin.parse_douyin_video_info(share_link: "https://v.douyin.com/xxx/")'
|
mcporter call 'douyin.parse_douyin_video_info(share_link: "https://v.douyin.com/xxx/")'
|
||||||
|
|||||||
Reference in New Issue
Block a user