From e36f737bb671e01567365270cf643ec965179530 Mon Sep 17 00:00:00 2001 From: Harshit Anand Date: Mon, 13 Apr 2026 14:46:11 +0530 Subject: [PATCH] docs: fix Douyin MCP installation and configuration instructions (#256) (#257) docs: fix Douyin MCP installation instructions --- agent_reach/skill/references/social.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/agent_reach/skill/references/social.md b/agent_reach/skill/references/social.md index ecb7a59..fa75260 100644 --- a/agent_reach/skill/references/social.md +++ b/agent_reach/skill/references/social.md @@ -44,6 +44,27 @@ xhs favorites # 可能返回 API error ## 抖音 / 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 # 解析视频信息 mcporter call 'douyin.parse_douyin_video_info(share_link: "https://v.douyin.com/xxx/")'