marketing
TikTok MCP Gateway for AI Agents
Expose TikTok tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 6 read 1 write Bearer token auth
TikTok MCP Gateway
Expose TikTok to MCP clients with `kosmokrator mcp:serve --integration=tiktok`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=tiktok --write=deny --json {
"mcpServers": {
"kosmokrator-tiktok": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=tiktok",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=tiktok --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__tiktok__tiktok_list_videos | tiktok.tiktok_list_videos | Read read |
integration__tiktok__tiktok_get_video | tiktok.tiktok_get_video | Read read |
integration__tiktok__tiktok_upload_video | tiktok.tiktok_upload_video | Write write |
integration__tiktok__tiktok_list_campaigns | tiktok.tiktok_list_campaigns | Read read |
integration__tiktok__tiktok_get_campaign | tiktok.tiktok_get_campaign | Read read |
integration__tiktok__tiktok_list_advertisers | tiktok.tiktok_list_advertisers | Read read |
integration__tiktok__tiktok_get_current_user | tiktok.tiktok_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.