Hermoso is a marketing MCP server: 301 tools over one OAuth’d endpoint that let an agent research the ads already running in a market, generate finished image and video ads, publish them, and build the paid campaigns behind them. Cursor reaches all of it through one connection. This page is about one slice of that — what Cursor can actually do on TikTok, and what TikTok will not let it do.
Connect Hermoso to Cursor
- Create an API key. In Hermoso, open Settings → Agents & API keys and press + Create API key. It looks like
hmk_…and carries real spend authority, so treat it like a password. - Add it to
~/.cursor/mcp.json(or the project’s.cursor/mcp.json):{ "mcpServers": { "hermoso": { "url": "https://app.hermoso.ai/mcp", "headers": { "Authorization": "Bearer <your key>" } } } } - Or use the one-click install from the MCP page. That deeplink installs the bare URL and leaves authentication to Cursor’s own OAuth flow instead of a pasted key — both work, they are just different prerequisites.
- Ask Cursor for something. “Pull my three closest competitors’ longest-running ads and remix the best hook into a 9:16 video,” or “post this render to the channel.” The agent picks the tools; you approve the spend.
The config above is the path Hermoso publishes and tests. If you use the deeplink instead, Cursor performs dynamic client registration against our authorization server and you never hold a key.
Then connect TikTok itself, once, under Settings → Connectors in Hermoso. That is an OAuth consent screen, so it is the one step that needs a browser — everything after it is a tool call.
The TikTok tools Cursor gets
post_to_tiktok— uploads a finished video, or a photo post of up to 35 images, either straight to the profile or into your TikTok drafts. It also carries the interaction settings — comments, duet, stitch — the cover frame, and the branded-content disclosure.schedule_post— queues it for later on the shared calendar.tiktok_account / tiktok_creator_info— the account’s bio, verification, follower and video counts, and what privacy levels the account itself allows.list_tiktok_videos— recent posts with views, likes, comments and shares.search_tiktok— keyword search across public TikTok — the research half.
Two more operational facts. TikTok photo posts are pulled from a URL rather than uploaded, so the host serving the images has to be verified in TikTok’s developer portal before photo posts can go out at all. And there are no TikTok comment or moderation tools here — publishing and reading are covered, replying is not.
TikTok limits worth knowing before you automate anything
| Text | A TikTok video caption is capped at 2,200 characters, a photo-post caption at 4,000, and a photo title at 90. It is enforced when the post is created or queued — refused while you are still there to fix it, rather than silently cut on the way out. |
|---|---|
| Visibility | This is the one to read before you plan anything. TikTok’s content-sharing guidelines restrict an unaudited app to self-only posts, TikTok enforces it at post time, and Hermoso refuses up front rather than failing hours later: “until the app passes TikTok’s review, their content-sharing guidelines restrict it to SELF_ONLY (private-to-you) posts. Two things that DO work right now: post with privacy SELF_ONLY, or send it to TikTok drafts (destination 'draft') and publish it yourself in the app.” Hermoso has not passed TikTok’s review yet, so that is today’s behaviour — and the scheduler removes public from TikTok’s options at enqueue rather than accepting a schedule that is guaranteed to fail. |
| Carousel | Up to 35 images as a TikTok photo post, images only. That number is TikTok’s: “An array containing up to 35 photo content URLs.” The order is the slideshow, so slide order is the product. One image is simply a one-slide post, not a refusal. |
| Which account | None — TikTok publishes to the connected account. |
Try it in Cursor
Ask for it in ordinary language — these are sentences, not a DSL:
“Build a 35-image TikTok photo post from ./assets/slides in filename order, set slide 3 as the cover, and send it to drafts.”
That walks search_tiktok → plan_ad → render_ad → post_to_tiktok. Cursor surfaces each tool call in the composer before it runs, so a publish is a click rather than a side effect.
Cursor on TikTok: the part that bites
Photo posts are the TikTok format an editor is unusually good at, because the slides are files and the order is the story. One prerequisite that is not obvious: TikTok pulls photo posts from a URL rather than accepting an upload, so the host serving those images has to be verified in TikTok’s developer portal first. Video is unaffected.
Put the config in the project’s .cursor/mcp.json rather than the home directory when several brands share a machine — the key is what pins the workspace.
Research TikTok before you post
There is no TikTok ad library to search the way Meta’s can be searched, so TikTok research is organic: search_tiktok finds what is working by keyword, and analyze_video will pull a clip apart into its hook, beats and on-screen text so the pattern can be reused rather than guessed at.
The paid half
Hermoso does not manage TikTok ad campaigns, and says so rather than implying it. TikTok Ads is a separate connector that has not been built. What Hermoso does on TikTok is organic: make the video, post or draft it, read the account back.
What Cursor cannot do on its own
An agent with a budget is only useful if the blast radius is bounded, so the fence is in the server rather than in a prompt. Every ad campaign, ad set, ad group and ad is created paused, and the status switches that arm real money refuse to run without an explicit confirmation flag. Every render is quoted first — hermoso_capabilities publishes each model’s exact credit cost before anything spends — and credits are reserved before the first provider call and settled at the exact cost afterwards, so a failed dispatch refunds rather than leaving you billed for nothing. Deletes are confirm-gated too, and every campaign tree is read back from the ad platform before your agent tells you what it built.
One step is deliberately not headless: linking an account is an OAuth consent screen, so you connect the channel once in a browser. Everything after that is a tool call.
The rest of the matrix
From Cursor, post to: Facebook · Instagram · Threads · YouTube · X · LinkedIn · Pinterest — or see everything Cursor can publish to.
Post to TikTok from: Claude · ChatGPT · Claude Code · Codex · Cline · OpenClaw · Hermes
Frequently asked questions
Can Cursor post to TikTok?
Yes, through Hermoso's MCP server. Create an API key in Hermoso under Settings → Agents & API keys, then add https://app.hermoso.ai/mcp to Cursor with an Authorization: Bearer header. Cursor then has 301 tools, including the ones that publish to TikTok — and the ones that research the ads already running in your market and render the creative in the first place.
How do I connect TikTok to Cursor?
Two steps, once each. Create an API key in Hermoso under Settings → Agents & API keys, then add https://app.hermoso.ai/mcp to Cursor with an Authorization: Bearer header. Then connect TikTok inside Hermoso under Settings → Connectors, which is an OAuth consent screen in a browser. After that Cursor publishes to TikTok as an ordinary tool call.
Can Cursor post privately or as a draft to TikTok?
Yes, and right now that is the point. While Hermoso is unaudited, TikTok accepts only a self-only (private to you) post from it, or an upload into your TikTok drafts that you publish yourself in the app. Hermoso refuses a visibility TikTok cannot honour at the moment you ask for it, rather than quietly publishing something weaker.
Can Cursor run TikTok ads as well as posting?
No. Hermoso does not manage TikTok ad campaigns — that is a separate connector that has not been built, and we would rather say so than imply it.
Start free — 25 credits at signup and 250+ more to earn, and every feature on every plan.
Start free → See pricing