A TikTok MCP server for videos, photo posts and daily goals
Publit.Si's MCP server lets Claude Code, Codex, Cursor or OpenCode plan TikTok on your own computer: videos and photo posts from your backlog, the way each one goes out, and your daily TikTok goal. With TikTok statistics turned on, it reads views, likes and shares per video. You approve every draft.
What your agent does for TikTok
- Drafts TikTok videos and photo posts of 1–35 images from backlog folders still missing on TikTok.
- Picks how a post goes out with
fields.mode:studio(the default: a copy page, you post in TikTok Studio),inbox(into your TikTok drafts) ordirect(through the API). - For direct posts sets TikTok's choices:
privacy,allowComments,allowDuet,allowStitch,commercial,yourBrand,brandedContentandaigc(plusautoAddMusicfor photos). - Writes captions within 2,200 characters (emojis count as 2); photo posts get a
photoTitleof up to 90. - Once TikTok has approved your app's statistics scopes and TikTok statistics are on in Publit.Si's settings, reads every video's views, likes, comments and shares with a score against your account's median, and the best times.
The tools for TikTok
| Tool | What it does for TikTok |
|---|---|
list_backlog | Folders still missing on TikTok (missingOn=TIKTOK), oldest first. |
get_platform_rules | Formats video and photo, the caption rule and the fields mode, privacy, photoTitle, allowComments, allowDuet, allowStitch, autoAddMusic, commercial, yourBrand, brandedContent, aigc and coverSecond. |
list_accounts | Your TikTok accounts with their ids. |
get_posting_slots | Free posting times per TikTok account. |
get_goal_progress | Today's TikTok goal (for example 3 posts a day), what's still missing and the streak. |
create_draft | A TikTok draft; without fields.mode it goes out through TikTok Studio. |
get_post_performance | Views, likes, comments and shares per video, score, rating and the best times. |
get_account_growth | New followers, views, likes and comments per day. |
Set it up
- Connect your TikTok account under Accounts in Publit.Si, with your own TikTok developer app and the tunnel.[2]
- Connect Publit.Si's MCP server once in your agent with the lines below. Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows them with your real path.
- Cursor: Publit.Si → Settings → MCP for Claude Code, Codex, Cursor & OpenCode shows the block for ~/.cursor/mcp.json with your real path. Paste it there.
- Ask your agent “List my Publit.Si projects”. It calls
list_projectsand names your projects.
claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcpclaude mcp add --scope user publitsi -- cmd /c pnpm --silent --dir "$PWD" mcp[mcp_servers.publitsi]
command = "pnpm"
args = ["--silent", "--dir", "/path/to/publitsi", "mcp"]{
"mcp": {
"publitsi": { "type": "local", "command": ["pnpm", "--silent", "--dir", "/path/to/publitsi", "mcp"], "enabled": true }
}
}Example prompts
- “Fill today's TikTok goal from the backlog.” →
get_goal_progressforstillMissing,get_posting_slotsfor today's free slots,list_backlogwithmissingOn=TIKTOK, then onecreate_draftper slot. - “Turn the images in this folder into a TikTok photo post.” →
get_platform_rulesfor TIKTOK, thencreate_draftwithformat: "photo",fields.photoTitleandbacklogItem. - “Which TikToks beat my median this month, and at what times?” →
get_post_performancewithdays=30for the TikTok account, readingrating,scoreandbestTimes.
Limits
- It never publishes.
create_draftandupdate_draftonly make drafts, and you approve each one under Queue › Review. The MCP server your coding agent connects to has no tool that schedules or publishes.[1] - Until TikTok audits an app, its API posts are private, and a tool that uploads to your own or your team's accounts doesn't qualify for the audit. So public posts go through TikTok Studio, where you click Post.[4][5]
- No comments: Publit.Si reads no TikTok comments, so
list_commentsreturns nothing for TikTok.[3] - Photo posts need the tunnel and a domain you verify with TikTok, because TikTok downloads the images from a public address.[2]
- The optional Chrome extension fills in TikTok Studio for you. It never clicks Post, and you use it at your own risk.[2]
Questions
Can the agent post to TikTok on its own?
No. It creates drafts, and you approve each one under Queue › Review. With TikTok Studio you then click Post yourself; inbox posts land in your TikTok drafts, and direct posts go out from your own computer.
Why do TikTok posts go through TikTok Studio?
TikTok keeps posts from unaudited apps private, and a tool for your own accounts doesn't qualify for the audit. So public posts go through TikTok Studio, where you click Post.
Can my agent read TikTok comments?
No. Publit.Si reads no TikTok comments. With TikTok statistics turned on, get_post_performance still has each video's views, likes, comment count and shares.
Related
Sources
- [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
- [2] Publit.Si docs: Connect TikTok: publit.si/docs/platforms/tiktok
- [3] Publit.Si docs: Comments inbox: publit.si/docs/guide/comments
- [4] TikTok: Content Sharing Guidelines: https://developers.tiktok.com/doc/content-sharing-guidelines, checked November 17, 2026
„all content uploaded via this endpoint will be restricted to private viewing mode.“
- [5] TikTok: Content Sharing Guidelines: https://developers.tiktok.com/doc/content-sharing-guidelines, checked November 17, 2026
„A utility tool to help upload contents to the account(s) you or your team manages.“