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.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: tiktok-automation3description: "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."4version: 1.0.05author:6 name: "sickn33 / Antigravity Community"7 github: sickn338tags: [tiktok, automation, marketing]9category: marketing10platforms: [macos, linux, windows]11license: MIT12metadata:13 hermes:14 source: https://skillmd.com/skills/nous-hermeshub/tiktok-automation15 upstream: "antigravity-awesome-skills"16 risk: "critical"17 date_added: "2026-02-27"18 original_author: "Antigravity Community"19---2021# TikTok Automation via Rube MCP2223Automate TikTok content creation and profile operations through Composio's TikTok toolkit via Rube MCP.2425## Prerequisites2627- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)28- Active TikTok connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `tiktok`29- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas3031## Setup3233**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.3435361. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds372. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `tiktok`383. If connection is not ACTIVE, follow the returned auth link to complete TikTok OAuth394. Confirm connection status shows ACTIVE before running any workflows4041## Core Workflows4243### 1. Upload and Publish a Video4445**When to use**: User wants to upload a video and publish it to TikTok4647**Tool sequence**:481. `TIKTOK_UPLOAD_VIDEO` or `TIKTOK_UPLOAD_VIDEOS` - Upload video file(s) [Required]492. `TIKTOK_FETCH_PUBLISH_STATUS` - Check upload/processing status [Required]503. `TIKTOK_PUBLISH_VIDEO` - Publish the uploaded video [Required]5152**Key parameters for upload**:53- `video`: Video file object with `s3key`, `mimetype`, `name`54- `title`: Video title/caption5556**Key parameters for publish**:57- `publish_id`: ID returned from upload step58- `title`: Video caption text59- `privacy_level`: 'PUBLIC_TO_EVERYONE', 'MUTUAL_FOLLOW_FRIENDS', 'FOLLOWER_OF_CREATOR', 'SELF_ONLY'60- `disable_duet`: Disable duet feature61- `disable_stitch`: Disable stitch feature62- `disable_comment`: Disable comments6364**Pitfalls**:65- Video upload and publish are TWO separate steps; upload first, then publish66- After upload, poll FETCH_PUBLISH_STATUS until processing is complete before publishing67- Video must meet TikTok requirements: MP4/WebM format, max 10 minutes, max 4GB68- Caption/title has character limits; check current TikTok guidelines69- Privacy level strings are case-sensitive and must match exactly70- Processing may take 30-120 seconds depending on video size7172### 2. Post a Photo7374**When to use**: User wants to post a photo to TikTok7576**Tool sequence**:771. `TIKTOK_POST_PHOTO` - Upload and post a photo [Required]782. `TIKTOK_FETCH_PUBLISH_STATUS` - Check processing status [Optional]7980**Key parameters**:81- `photo`: Photo file object with `s3key`, `mimetype`, `name`82- `title`: Photo caption text83- `privacy_level`: Privacy setting for the post8485**Pitfalls**:86- Photo posts are a newer TikTok feature; availability may vary by account type87- Supported formats: JPEG, PNG, WebP88- Image size and dimension limits apply; check current TikTok guidelines8990### 3. List and Manage Videos9192**When to use**: User wants to view their published videos9394**Tool sequence**:951. `TIKTOK_LIST_VIDEOS` - List user's published videos [Required]9697**Key parameters**:98- `max_count`: Number of videos to return per page99- `cursor`: Pagination cursor for next page100101**Pitfalls**:102- Only returns the authenticated user's own videos103- Response includes video metadata: id, title, create_time, share_url, duration, etc.104- Pagination uses cursor-based approach; check for `has_more` and `cursor` in response105- Recently published videos may not appear immediately in the list106107### 4. View User Profile and Stats108109**When to use**: User wants to check their TikTok profile info or account statistics110111**Tool sequence**:1121. `TIKTOK_GET_USER_PROFILE` - Get full profile information [Required]1132. `TIKTOK_GET_USER_STATS` - Get account statistics [Optional]1143. `TIKTOK_GET_USER_BASIC_INFO` - Get basic user info [Alternative]115116**Key parameters**: (no required parameters; returns data for authenticated user)117118**Pitfalls**:119- Profile data is for the authenticated user only; cannot view other users' profiles120- Stats include follower count, following count, video count, likes received121- `GET_USER_PROFILE` returns more details than `GET_USER_BASIC_INFO`122- Stats may have slight delays; not real-time123124### 5. Check Publish Status125126**When to use**: User wants to check the status of a content upload or publish operation127128**Tool sequence**:1291. `TIKTOK_FETCH_PUBLISH_STATUS` - Poll for status updates [Required]130131**Key parameters**:132- `publish_id`: The publish ID from a previous upload/publish operation133134**Pitfalls**:135- Status values include processing, success, and failure states136- Poll at reasonable intervals (5-10 seconds) to avoid rate limits137- Failed publishes include error details in the response138- Content moderation may cause delays or rejections after processing139140## Common Patterns141142### Video Publish Flow143144```1451. Upload video via TIKTOK_UPLOAD_VIDEO -> get publish_id1462. Poll TIKTOK_FETCH_PUBLISH_STATUS with publish_id until complete1473. If status is ready, call TIKTOK_PUBLISH_VIDEO with final settings1484. Optionally poll status again to confirm publication149```150151### Pagination152153- Use `cursor` from previous response for next page154- Check `has_more` boolean to determine if more results exist155- `max_count` controls page size156157## Known Pitfalls158159**Content Requirements**:160- Videos: MP4/WebM, max 4GB, max 10 minutes161- Photos: JPEG/PNG/WebP162- Captions: Character limits vary by region163- Content must comply with TikTok community guidelines164165**Authentication**:166- OAuth tokens have scopes; ensure video.upload and video.publish are authorized167- Tokens expire; re-authenticate if operations fail with 401168169**Rate Limits**:170- TikTok API has strict rate limits per application171- Implement exponential backoff on 429 responses172- Upload operations have daily limits173174**Response Parsing**:175- Response data may be nested under `data` or `data.data`176- Parse defensively with fallback patterns177- Publish IDs are strings; use exactly as returned178179## Quick Reference180181| Task | Tool Slug | Key Params |182|------|-----------|------------|183| Upload video | TIKTOK_UPLOAD_VIDEO | video, title |184| Upload multiple videos | TIKTOK_UPLOAD_VIDEOS | videos |185| Publish video | TIKTOK_PUBLISH_VIDEO | publish_id, title, privacy_level |186| Post photo | TIKTOK_POST_PHOTO | photo, title, privacy_level |187| List videos | TIKTOK_LIST_VIDEOS | max_count, cursor |188| Get profile | TIKTOK_GET_USER_PROFILE | (none) |189| Get user stats | TIKTOK_GET_USER_STATS | (none) |190| Get basic info | TIKTOK_GET_USER_BASIC_INFO | (none) |191| Check publish status | TIKTOK_FETCH_PUBLISH_STATUS | publish_id |192193## When to Use194This skill is applicable to execute the workflow or actions described in the overview.195196## Limitations197- Use this skill only when the task clearly matches the scope described above.198- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.199- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.