TikTok MCP
Provides TikTok account management, profile retrieval, video listing, creator info lookup, video and photo publishing or draft uploads, post status checks, and search over cached TikTok video metadata through TikTok Login Kit, Display API, and Content Posting API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Community source release (MIT). Self-host using your own credentials. No NabuxAI production accounts or hosted-service access are included.
TikTok MCP by Nabux
Multi-user TikTok MCP gateway using TikTok Login Kit, Display API and Content Posting API.
Production target: https://tiktok.nabuxai.com
MCP endpoint: https://tiktok.nabuxai.com/mcp
MCP tools
tiktok_accountstiktok_profiletiktok_list_videostiktok_creator_infotiktok_publish_videotiktok_upload_video_drafttiktok_publish_photostiktok_upload_photos_drafttiktok_post_statustiktok_search_cached_videos
The gateway stores TikTok access and refresh tokens encrypted at rest, refreshes near-expiry access tokens, and scopes all MCP account selection to the authenticated Nabux owner.
Related MCP server: tiktok-studio-mcp
Official TikTok APIs used
Login Kit OAuth 2.0
User Info / Display API
Video List API
Content Posting API Direct Post
Content Posting API Upload/Draft
Post Status API
Default requested scopes:
user.info.basic
user.info.profile
user.info.stats
video.list
video.publish
video.uploadOnly request/approve the scopes your production product needs.
Posting flow
Before Direct Post, call tiktok_creator_info and respect the privacy/interaction options returned for that creator.
The first version uses TikTok PULL_FROM_URL for video/photo transfer. Media URLs must be HTTPS, not redirect, remain accessible during TikTok's download, and normally belong to a Domain or URL Prefix verified in the TikTok developer app.
Video Direct Post uses /v2/post/publish/video/init/ with video.publish.
Photo Direct Post/Upload uses /v2/post/publish/content/init/.
Draft video upload uses /v2/post/publish/inbox/video/init/ with video.upload.
Status uses /v2/post/publish/status/fetch/.
Important: content posted by unaudited Direct Post API clients is restricted by TikTok to private viewing until the client passes TikTok's audit.
OAuth
Configure Login Kit Web redirect URI exactly:
https://tiktok.nabuxai.com/tiktok/callbackTikTok access tokens are short-lived; refresh tokens are persisted encrypted so the gateway can renew access without requiring the user to reconnect on each expiry.
Data collection
tiktok_list_videos uses the official Display API and caches returned video metadata in the account's local tenant-isolated cache. tiktok_search_cached_videos searches that retained data. This is not browser/session scraping and is limited to data the authorized APIs expose.
Coolify
Deploy branch feature/tiktok-mcp-gateway with docker-compose.coolify.yml, routing tiktok.nabuxai.com to port 8000.
Required configuration:
PUBLIC_BASE_URL=https://tiktok.nabuxai.com
APP_SECRET_KEY=<32+ random chars>
TT_CLIENT_KEY=<TikTok client key>
TT_CLIENT_SECRET=<TikTok client secret>
TT_REDIRECT_URI=https://tiktok.nabuxai.com/tiktok/callback
INTERNAL_SERVICE_TOKEN=<random service token>For PULL_FROM_URL publishing, also verify the media domain/URL prefix in the TikTok app dashboard.
Status
Production-shaped implementation. Real E2E posting requires a TikTok developer app with Login Kit and Content Posting API, approved scopes, exact redirect URI, verified media URL property, and an authorized TikTok creator. Public Direct Post requires TikTok audit approval.
This server cannot be deployed
Maintenance
Related MCP Connectors
Publish and schedule TikTok videos and photo posts from your AI assistant.
Publish and schedule UGC videos, slideshows and images to TikTok and Instagram accounts.
TikTok search demand, videos, creators, comments and captions for AI agents. OAuth or API key.
Public TikTok profiles, videos, comments and keyword search as JSON. No developer account.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables publishing TikTok videos via the TikTok Content Posting API, supporting file upload and URL-based publishing with status checking.MIT
- AlicenseAqualityDmaintenanceMCP server for TikTok that publishes videos to your own TikTok account and retrieves video performance metrics through TikTok's official Content Posting and Display APIs.620 PyPI1MIT
- AlicenseAqualityAmaintenanceEnables AI agents to pull real TikTok profile and video analytics, rank posts by custom metrics, and publish videos or photo carousels or create drafts for the connected account.1434 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables reading TikTok trends, profiles, comments, and own-account metrics via an unofficial facade with fallback providers and risk-tiered tools, plus queued posting capabilities.7 npm-