Publit.Si
TikTok

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) or direct (through the API).
  • For direct posts sets TikTok's choices: privacy, allowComments, allowDuet, allowStitch, commercial, yourBrand, brandedContent and aigc (plus autoAddMusic for photos).
  • Writes captions within 2,200 characters (emojis count as 2); photo posts get a photoTitle of 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

ToolWhat it does for TikTok
list_backlogFolders still missing on TikTok (missingOn=TIKTOK), oldest first.
get_platform_rulesFormats video and photo, the caption rule and the fields mode, privacy, photoTitle, allowComments, allowDuet, allowStitch, autoAddMusic, commercial, yourBrand, brandedContent, aigc and coverSecond.
list_accountsYour TikTok accounts with their ids.
get_posting_slotsFree posting times per TikTok account.
get_goal_progressToday's TikTok goal (for example 3 posts a day), what's still missing and the streak.
create_draftA TikTok draft; without fields.mode it goes out through TikTok Studio.
get_post_performanceViews, likes, comments and shares per video, score, rating and the best times.
get_account_growthNew followers, views, likes and comments per day.

Set it up

  1. Connect your TikTok account under Accounts in Publit.Si, with your own TikTok developer app and the tunnel.[2]
  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.
  3. 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.
  4. Ask your agent “List my Publit.Si projects”. It calls list_projects and names your projects.
Claude Code – Run once in the publitsi folder (Mac and Linux):
claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcp
Claude Code – Windows (PowerShell, in the folder):
claude mcp add --scope user publitsi -- cmd /c pnpm --silent --dir "$PWD" mcp
Codex – Add Publit.Si's MCP server to ~/.codex/config.toml:
[mcp_servers.publitsi]
command = "pnpm"
args = ["--silent", "--dir", "/path/to/publitsi", "mcp"]
OpenCode – Add Publit.Si's MCP server to ~/.config/opencode/opencode.json:
{
  "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_progress for stillMissing, get_posting_slots for today's free slots, list_backlog with missingOn=TIKTOK, then one create_draft per slot.
  • “Turn the images in this folder into a TikTok photo post.” → get_platform_rules for TIKTOK, then create_draft with format: "photo", fields.photoTitle and backlogItem.
  • “Which TikToks beat my median this month, and at what times?” → get_post_performance with days=30 for the TikTok account, reading rating, score and bestTimes.

Limits

  • It never publishes. create_draft and update_draft only 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_comments returns 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.

Sources

  1. [1] Publit.Si docs: MCP tools: publit.si/docs/guide/mcp
  2. [2] Publit.Si docs: Connect TikTok: publit.si/docs/platforms/tiktok
  3. [3] Publit.Si docs: Comments inbox: publit.si/docs/guide/comments
  4. [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. [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.“