Skip to content

Gemini CLI and TikTok

Prepare TikTok posts with Gemini CLI.

A person confirms before anything posts by default. A workspace owner can explicitly enable auto-publish for this agent in this workspace.

Check channel access first

Limited

TikTok has not audited heyeveryone yet, so posts go out as private (Only me), the TikTok account must be private at the time of posting, and at most 5 accounts can post through heyeveryone in any 24 hours. Sending to TikTok drafts isn't limited this way: you choose who can see the post when you post it in TikTok.

Read all TikTok formats and limits

Connect your agent

# OAuth: then run /mcp auth heyeveryone inside Gemini CLI
gemini mcp add --transport http heyeveryone https://heyeveryone.ai/mcp

# Personal access token
gemini mcp add --transport http --header "Authorization: Bearer hey_pat_..." \
  heyeveryone https://heyeveryone.ai/mcp

--scope user writes ~/.gemini/settings.json; the default is the project's .gemini/settings.json. By hand:

{
  "mcpServers": {
    "heyeveryone": {
      "httpUrl": "https://heyeveryone.ai/mcp",
      "headers": { "Authorization": "Bearer hey_pat_..." }
    }
  }
}
  • httpUrl means Streamable HTTP. url alone means the old SSE transport, although gemini mcp add --transport http writes "url" with "type": "http", which also works.
  • Gemini's docs don't promise $VAR expansion inside headers. Paste the token, or use /mcp auth instead.

Source: gemini-cli docs: MCP servers.

Draft, review, then confirm

  1. Connect your channel in heyeveryone and grant the agent access to its workspace.
  2. Ask: “Draft a TikTok post from these notes. Check the channel rules and show me the content link. Do not schedule or publish.”
  3. Open the draft and inspect it. Ask the agent to request a review; a person creates the review link or reviews it personally.
  4. Review the current text and approve it if sign-off is required. Confirm the channels and time before publishing.

Access and credits

Agent access is included in every plan. MCP and API calls do not cost credits; actions that run heyeveryone’s own AI do, with cost shown first. Your agent provider may charge separately.

Full Gemini CLI guide