Set up the douyin-poster (抖音) plugin — install dependencies and complete QR code login. Run this after installing the media-publish-marketplace to get douyin-poster working. Trigger when the user mentions setup douyin, 配置抖音, or douyin-poster not working.
Guide the user through setting up the douyin-poster plugin step by step.
Run in the plugin directory:
cd ${CLAUDE_PLUGIN_ROOT} && bun install
If bun is not found, tell the user to install Bun first: curl -fsSL https://bun.sh/install | bash
Use the get_login_qrcode MCP tool to open a browser window, then ask the user to scan the QR code directly in that window with the Douyin app. After scanning, use check_login_status to verify.
The login tool now opens a visible browser window automatically for setup and login.
Run list_accounts to confirm the login was saved. Then try check_login_status to make sure the session is valid.
cd ${CLAUDE_PLUGIN_ROOT} && bun install manually, check for errors.DOUYIN_COOKIES_PATH env var to override the default ~/.media-mcp/douyin/ storage location.