Summary
Connect the TikTok API to ChatGPT via MCP. Analyze video performance, track followers, and monitor engagement with natural language using AnythingMCP.
Analyze Your TikTok Performance with ChatGPT
AnythingMCP has no ready-made connector for TikTok's organic content (your videos and followers). With AnythingMCP, you can convert TikTok's Content Posting and Research APIs into an MCP server and let ChatGPT analyze your content performance and audience.
Running TikTok ads? The ready-made TikTok Ads connector reads spend, clicks, conversions and audiences from your ad account, with none of the steps below.
Step-by-Step Guide
Step 1: Deploy AnythingMCP
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 2: Get TikTok API Access
Register at https://developers.tiktok.com. Create an app and apply for the required API products (Display API, Content Posting API). Get your OAuth access token.
Step 3: Create a REST Connector
Create a REST connector with base URL https://open.tiktokapis.com/v2. Set Bearer token authentication.
Step 4: Expose Key Endpoints
POST /video/list/— List your videosPOST /video/query/— Video details and metricsGET /user/info/— Profile info (followers, following)POST /research/video/query/— Research API for public video search
Step 5: Connect ChatGPT
ChatGPT connects from OpenAI's servers, so your AnythingMCP instance needs a public HTTPS URL; localhost does not work. You can also use cloud.anythingmcp.com.
- Go to chatgpt.com/plugins, click +, then Add custom MCP server.
- Enter a name, e.g. Name:
AnythingMCP. - Under Connection, enter the Server URL
https://your-anythingmcp-instance.com/mcpand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Step 6: Analyze Your Content
- "Which of my TikTok videos had the most views this month?"
- "What's my average engagement rate?"
- "How is my follower count trending?"
- "Which videos had the best like-to-view ratio?"
- "Show me performance of my last 20 posts"
Next Steps
Was this guide helpful?