TikTok Automation via Rube MCP
Automate TikTok content creation and profile operations through Composio's TikTok toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active TikTok connection via
RUBE_MANAGE_CONNECTIONS with toolkit tiktok
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit tiktok
- If connection is not ACTIVE, follow the returned auth link to complete TikTok OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Upload and Publish a Video
When to use: User wants to upload a video and publish it to TikTok
Tool sequence:
TIKTOK_UPLOAD_VIDEO or TIKTOK_UPLOAD_VIDEOS - Upload video file(s) [Required]
TIKTOK_FETCH_PUBLISH_STATUS - Check upload/processing status [Required]
TIKTOK_PUBLISH_VIDEO - Publish the uploaded video [Required]
Key parameters for upload:
video: Video file object with s3key, mimetype, name
title: Video title/caption
Key parameters for publish:
publish_id: ID returned from upload step
title: Video caption text
privacy_level: 'PUBLIC_TO_EVERYONE', 'MUTUAL_FOLLOW_FRIENDS', 'FOLLOWER_OF_CREATOR', 'SELF_ONLY'
disable_duet: Disable duet feature
disable_stitch: Disable stitch feature
disable_comment: Disable comments
Pitfalls:
- Video upload and publish are TWO separate steps; upload first, then publish
- After upload, poll FETCH_PUBLISH_STATUS until processing is complete before publishing
- Video must meet TikTok requirements: MP4/WebM format, max 10 minutes, max 4GB
- Caption/title has character limits; check current TikTok guidelines
- Privacy level strings are case-sensitive and must match exactly
- Processing may take 30-120 seconds depending on video size
2. Post a Photo
When to use: User wants to post a photo to TikTok
Tool sequence:
TIKTOK_POST_PHOTO - Upload and post a photo [Required]
TIKTOK_FETCH_PUBLISH_STATUS - Check processing status [Optional]
Key parameters:
photo: Photo file object with s3key, mimetype, name
title: Photo caption text
privacy_level: Privacy setting for the post
Pitfalls:
- Photo posts are a newer TikTok feature; availability may vary by account type
- Supported formats: JPEG, PNG, WebP
- Image size and dimension limits apply; check current TikTok guidelines
3. List and Manage Videos
When to use: User wants to view their published videos
Tool sequence:
TIKTOK_LIST_VIDEOS - List user's published videos [Required]
Key parameters:
max_count: Number of videos to return per page
cursor: Pagination cursor for next page
Pitfalls:
- Only returns the authenticated user's own videos
- Response includes video metadata: id, title, create_time, share_url, duration, etc.
- Pagination uses cursor-based approach; check for
has_more and cursor in response
- Recently published videos may not appear immediately in the list
4. View User Profile and Stats
When to use: User wants to check their TikTok profile info or account statistics
Tool sequence:
TIKTOK_GET_USER_PROFILE - Get full profile information [Required]
TIKTOK_GET_USER_STATS - Get account statistics [Optional]
TIKTOK_GET_USER_BASIC_INFO - Get basic user info [Alternative]
Key parameters: (no required parameters; returns data for authenticated user)
Pitfalls:
- Profile data is for the authenticated user only; cannot view other users' profiles
- Stats include follower count, following count, video count, likes received
GET_USER_PROFILE returns more details than GET_USER_BASIC_INFO
- Stats may have slight delays; not real-time
5. Check Publish Status
When to use: User wants to check the status of a content upload or publish operation
Tool sequence:
TIKTOK_FETCH_PUBLISH_STATUS - Poll for status updates [Required]
Key parameters:
publish_id: The publish ID from a previous upload/publish operation
Pitfalls:
- Status values include processing, success, and failure states
- Poll at reasonable intervals (5-10 seconds) to avoid rate limits
- Failed publishes include error details in the response
- Content moderation may cause delays or rejections after processing
Common Patterns
Video Publish Flow
1. Upload video via TIKTOK_UPLOAD_VIDEO -> get publish_id
2. Poll TIKTOK_FETCH_PUBLISH_STATUS with publish_id until complete
3. If status is ready, call TIKTOK_PUBLISH_VIDEO with final settings
4. Optionally poll status again to confirm publication
Pagination
- Use
cursor from previous response for next page
- Check
has_more boolean to determine if more results exist
max_count controls page size
Known Pitfalls
Content Requirements:
- Videos: MP4/WebM, max 4GB, max 10 minutes
- Photos: JPEG/PNG/WebP
- Captions: Character limits vary by region
- Content must comply with TikTok community guidelines
Authentication:
- OAuth tokens have scopes; ensure video.upload and video.publish are authorized
- Tokens expire; re-authenticate if operations fail with 401
Rate Limits:
- TikTok API has strict rate limits per application
- Implement exponential backoff on 429 responses
- Upload operations have daily limits
Response Parsing:
- Response data may be nested under
data or data.data
- Parse defensively with fallback patterns
- Publish IDs are strings; use exactly as returned
Quick Reference
| Task |
Tool Slug |
Key Params |
| Upload video |
TIKTOK_UPLOAD_VIDEO |
video, title |
| Upload multiple videos |
TIKTOK_UPLOAD_VIDEOS |
videos |
| Publish video |
TIKTOK_PUBLISH_VIDEO |
publish_id, title, privacy_level |
| Post photo |
TIKTOK_POST_PHOTO |
photo, title, privacy_level |
| List videos |
TIKTOK_LIST_VIDEOS |
max_count, cursor |
| Get profile |
TIKTOK_GET_USER_PROFILE |
(none) |
| Get user stats |
TIKTOK_GET_USER_STATS |
(none) |
| Get basic info |
TIKTOK_GET_USER_BASIC_INFO |
(none) |
| Check publish status |
TIKTOK_FETCH_PUBLISH_STATUS |
publish_id |
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
1---
2name: tiktok-automation
3description: "Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas."
4risk: critical
5source: community
6date_added: "2026-02-27"
7metadata:
8 source: https://skillmd.com/skills/kursku/tiktok-automation
9---
10
11# TikTok Automation via Rube MCP
12
13Automate TikTok content creation and profile operations through Composio's TikTok toolkit via Rube MCP.
14
15## Prerequisites
16
17- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
18- Active TikTok connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `tiktok`
19- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
20
21## Setup
22
23**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
24
25
261. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
272. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `tiktok`
283. If connection is not ACTIVE, follow the returned auth link to complete TikTok OAuth
294. Confirm connection status shows ACTIVE before running any workflows
30
31## Core Workflows
32
33### 1. Upload and Publish a Video
34
35**When to use**: User wants to upload a video and publish it to TikTok
36
37**Tool sequence**:
381. `TIKTOK_UPLOAD_VIDEO` or `TIKTOK_UPLOAD_VIDEOS` - Upload video file(s) [Required]
392. `TIKTOK_FETCH_PUBLISH_STATUS` - Check upload/processing status [Required]
403. `TIKTOK_PUBLISH_VIDEO` - Publish the uploaded video [Required]
41
42**Key parameters for upload**:
43- `video`: Video file object with `s3key`, `mimetype`, `name`
44- `title`: Video title/caption
45
46**Key parameters for publish**:
47- `publish_id`: ID returned from upload step
48- `title`: Video caption text
49- `privacy_level`: 'PUBLIC_TO_EVERYONE', 'MUTUAL_FOLLOW_FRIENDS', 'FOLLOWER_OF_CREATOR', 'SELF_ONLY'
50- `disable_duet`: Disable duet feature
51- `disable_stitch`: Disable stitch feature
52- `disable_comment`: Disable comments
53
54**Pitfalls**:
55- Video upload and publish are TWO separate steps; upload first, then publish
56- After upload, poll FETCH_PUBLISH_STATUS until processing is complete before publishing
57- Video must meet TikTok requirements: MP4/WebM format, max 10 minutes, max 4GB
58- Caption/title has character limits; check current TikTok guidelines
59- Privacy level strings are case-sensitive and must match exactly
60- Processing may take 30-120 seconds depending on video size
61
62### 2. Post a Photo
63
64**When to use**: User wants to post a photo to TikTok
65
66**Tool sequence**:
671. `TIKTOK_POST_PHOTO` - Upload and post a photo [Required]
682. `TIKTOK_FETCH_PUBLISH_STATUS` - Check processing status [Optional]
69
70**Key parameters**:
71- `photo`: Photo file object with `s3key`, `mimetype`, `name`
72- `title`: Photo caption text
73- `privacy_level`: Privacy setting for the post
74
75**Pitfalls**:
76- Photo posts are a newer TikTok feature; availability may vary by account type
77- Supported formats: JPEG, PNG, WebP
78- Image size and dimension limits apply; check current TikTok guidelines
79
80### 3. List and Manage Videos
81
82**When to use**: User wants to view their published videos
83
84**Tool sequence**:
851. `TIKTOK_LIST_VIDEOS` - List user's published videos [Required]
86
87**Key parameters**:
88- `max_count`: Number of videos to return per page
89- `cursor`: Pagination cursor for next page
90
91**Pitfalls**:
92- Only returns the authenticated user's own videos
93- Response includes video metadata: id, title, create_time, share_url, duration, etc.
94- Pagination uses cursor-based approach; check for `has_more` and `cursor` in response
95- Recently published videos may not appear immediately in the list
96
97### 4. View User Profile and Stats
98
99**When to use**: User wants to check their TikTok profile info or account statistics
100
101**Tool sequence**:
1021. `TIKTOK_GET_USER_PROFILE` - Get full profile information [Required]
1032. `TIKTOK_GET_USER_STATS` - Get account statistics [Optional]
1043. `TIKTOK_GET_USER_BASIC_INFO` - Get basic user info [Alternative]
105
106**Key parameters**: (no required parameters; returns data for authenticated user)
107
108**Pitfalls**:
109- Profile data is for the authenticated user only; cannot view other users' profiles
110- Stats include follower count, following count, video count, likes received
111- `GET_USER_PROFILE` returns more details than `GET_USER_BASIC_INFO`
112- Stats may have slight delays; not real-time
113
114### 5. Check Publish Status
115
116**When to use**: User wants to check the status of a content upload or publish operation
117
118**Tool sequence**:
1191. `TIKTOK_FETCH_PUBLISH_STATUS` - Poll for status updates [Required]
120
121**Key parameters**:
122- `publish_id`: The publish ID from a previous upload/publish operation
123
124**Pitfalls**:
125- Status values include processing, success, and failure states
126- Poll at reasonable intervals (5-10 seconds) to avoid rate limits
127- Failed publishes include error details in the response
128- Content moderation may cause delays or rejections after processing
129
130## Common Patterns
131
132### Video Publish Flow
133
134```
1351. Upload video via TIKTOK_UPLOAD_VIDEO -> get publish_id
1362. Poll TIKTOK_FETCH_PUBLISH_STATUS with publish_id until complete
1373. If status is ready, call TIKTOK_PUBLISH_VIDEO with final settings
1384. Optionally poll status again to confirm publication
139```
140
141### Pagination
142
143- Use `cursor` from previous response for next page
144- Check `has_more` boolean to determine if more results exist
145- `max_count` controls page size
146
147## Known Pitfalls
148
149**Content Requirements**:
150- Videos: MP4/WebM, max 4GB, max 10 minutes
151- Photos: JPEG/PNG/WebP
152- Captions: Character limits vary by region
153- Content must comply with TikTok community guidelines
154
155**Authentication**:
156- OAuth tokens have scopes; ensure video.upload and video.publish are authorized
157- Tokens expire; re-authenticate if operations fail with 401
158
159**Rate Limits**:
160- TikTok API has strict rate limits per application
161- Implement exponential backoff on 429 responses
162- Upload operations have daily limits
163
164**Response Parsing**:
165- Response data may be nested under `data` or `data.data`
166- Parse defensively with fallback patterns
167- Publish IDs are strings; use exactly as returned
168
169## Quick Reference
170
171| Task | Tool Slug | Key Params |
172|------|-----------|------------|
173| Upload video | TIKTOK_UPLOAD_VIDEO | video, title |
174| Upload multiple videos | TIKTOK_UPLOAD_VIDEOS | videos |
175| Publish video | TIKTOK_PUBLISH_VIDEO | publish_id, title, privacy_level |
176| Post photo | TIKTOK_POST_PHOTO | photo, title, privacy_level |
177| List videos | TIKTOK_LIST_VIDEOS | max_count, cursor |
178| Get profile | TIKTOK_GET_USER_PROFILE | (none) |
179| Get user stats | TIKTOK_GET_USER_STATS | (none) |
180| Get basic info | TIKTOK_GET_USER_BASIC_INFO | (none) |
181| Check publish status | TIKTOK_FETCH_PUBLISH_STATUS | publish_id |
182
183## When to Use
184This skill is applicable to execute the workflow or actions described in the overview.