TikTok MCP Server for Cursor
Manage your entire TikTok campaign directly from Cursor. The TokPortal MCP server gives your AI assistant 32 tools to create accounts, configure videos, publish content, and track analytics — all through natural language in your IDE.
One-click install
Or add manually to .cursor/mcp.json:
{
"mcpServers": {
"tokportal": {
"command": "npx",
"args": ["-y", "tokportal-mcp"],
"env": {
"TOKPORTAL_API_KEY": "tok_live_your_key_here"
}
}
}
}
Get your API key from the Developer Portal.
Verify it works
Ask Cursor:
"What's my TokPortal credit balance?"
If the MCP server is connected, Cursor calls get_credit_balance and returns your balance.
What developers use it for
Ship a TikTok campaign without leaving your editor
You're building a product. You want to launch TikTok content in the US. Instead of switching to a dashboard, tell Cursor:
"Create a US TikTok bundle with 10 videos and niche warming for SaaS/tech content"
Cursor runs:
{
"tool": "create_bundle",
"args": {
"platform": "tiktok",
"country": "USA",
"bundle_type": "account_and_videos",
"videos_quantity": 10,
"warming": "niche"
}
}
Cost: 42 credits. Account + 10 video slots + warming.
Configure videos from your project files
"Configure videos 1-5 on bundle abc123. Use the descriptions from my marketing/copy.md file, schedule them daily starting next Monday"
Cursor reads your file, extracts the copy, and calls batch_configure_videos with the right dates and descriptions.
Monitor performance in context
"Show me view counts and engagement rates for all my published accounts"
Cursor calls get_analytics for each account and displays the results inline.
Retrieve verification codes instantly
"I need the TikTok verification code for @mybrand_us"
Cursor calls get_verification_code and returns the 6-digit code from TokMail. No need to log into email.
Also works with Claude Desktop
Same configuration format:
{
"mcpServers": {
"tokportal": {
"command": "npx",
"args": ["-y", "tokportal-mcp"],
"env": {
"TOKPORTAL_API_KEY": "tok_live_your_key_here"
}
}
}
}
Add this to your claude_desktop_config.json. Claude Code and Windsurf also support MCP with the same config.
npm package
The MCP server runs via npx — no global install needed:
npx tokportal-mcp
Published as tokportal-mcp on npm.
What's next
- Full MCP documentation — All 32 tools with descriptions
- OpenClaw Skill — Use TokPortal on ClawHub
- Getting Started — API quickstart
- Analytics — Track performance programmatically