# Create TikTok accounts

Source: https://developers.tokportal.com/agents/for/create-tiktok-accounts/
Markdown: https://developers.tokportal.com/agents/for/create-tiktok-accounts.md

To create TikTok accounts from any MCP-capable agent, connect the TokPortal MCP server and ask for a bundle: `create_bundle` opens a work order for a new account in a given country, `configure_bundle_account` sets the handle and profile, `publish_bundle` hands it to a human account manager in that country, and `list_accounts` returns the delivered account a few days later. There is no official TikTok endpoint that creates accounts at all — the Login Kit / Content Posting API only let a user who already owns an account authorize your app — so this job is only possible with human-operated infrastructure like TokPortal.

## Try the workflow without spending

For this trial, use the remote MCP endpoint `https://app.tokportal.com/api/ext/mcp`, local `tokportal-mcp` **1.15.1 or later**, or the REST API. Upgrade and restart an older local server first. Version 1.15.0 does not forward the dry-run header; do not use its write tools for a simulation. If you cannot verify the installed local version, use the remote endpoint or REST.

Use the [sandbox](https://developers.tokportal.com/sandbox) for the first attempt. MCP write tools accept `dry_run: true` as a top-level argument, beside `body`; REST writes accept the `X-TokPortal-Dry-Run: true` header. Keep your usual authentication and scopes. Each simulated write validates the request and returns `credits_would_charge` with `credits_charged: 0`. Nothing is created or published.

Simulated IDs start with `00000000-0000-4000-8000-`. Use them only in later dry-run writes. GET requests read real data, so skip publish-readiness checks and polling for synthetic IDs. Simulations have no cross-call memory and upload URLs are placeholders: do not upload files to them.

To run for real, review the returned price and confirm **before the first live write**. Bundle creation charges credits immediately; publishing hands the order to a manager. Repeat creation without dry-run mode and use the new real IDs for configuration and publishing. A synthetic ID cannot be reused in a live request.

## How it works

A TokPortal **bundle** is the unit of work. For a new account you create it with `bundle_type: "account_only"` (just the account) or `"account_and_videos"` (account plus a schedule of `videos_quantity` posts). The `country` field decides which pool of managers gets the order: a `US` bundle is created and warmed by a manager physically in the United States, on a US SIM and residential connection, so the account is native to that region from day one. Call `list_countries` first — it returns the countries currently open for new-account creation and, separately, the ones open for `videos_only` orders on existing accounts.

Once the bundle exists you configure the account: `username` (1–24 chars, letters/digits/`_`/`.`, no trailing dot), `visible_name` (≤30), `biography` (≤80 on TikTok), an optional `profile_picture_url` and `link_in_bio`. Then `publish_bundle`. The account setup and selected slots are charged when the bundle is created. Simulate creation with `dry_run: true` first to see the exact `credits_would_charge` without spending. The manager creates the account, warms it and finalizes it; the account then appears in `list_accounts` with `status`, `country`, `profile_url` and a `ban_appeal` block that stays `null` while the account is healthy. Credentials are never returned by ordinary tools — the account is *managed*, which is exactly what keeps it alive; `reveal_account_credentials` exists but detaches the account from management and needs a two-step confirmation.

Add `wants_advanced_warming: true` and 3–30 `advanced_warming_terms` (multiples of 3) if you want the manager to warm the account on niche searches with a recorded, verified session per term before you post — see [Warm accounts](https://developers.tokportal.com/agents/for/warm-accounts).

## Tool sequence

1. `tokportal_list_countries` — Confirm the target country is open for new-account creation (returns `data[]` for new accounts and `videos_only_countries[]`).
2. `tokportal_get_credit_costs` — Read the live account-setup price and any contract allowance before quoting the user.
3. `tokportal_create_bundle` — `bundle_type: account_only` (or `account_and_videos` with `videos_quantity`), `platform: tiktok`, `country: US`; optional `external_ref` for de-duplication.
4. `tokportal_configure_bundle_account` — Set `username`, `visible_name`, `biography`, `profile_picture_url`, `link_in_bio` (PUT, can be called again before publishing).
5. `tokportal_get_bundle_publish_readiness` — Returns what is still missing (account fields, credits) so the agent fixes it instead of hitting a 400.
6. `tokportal_publish_bundle` — Sends the order to a manager in the chosen country. Bundle creation already charged the credits.
7. `tokportal_get_bundle` — Poll `account_status` (configured → published → in\_review → finalized) or subscribe to `account.finalized` with `create_webhook_endpoint`.
8. `tokportal_list_accounts` — Filter `platform=tiktok&country=US` to retrieve the delivered account and its `profile_url`.

## Pick your agent

- [Create TikTok accounts with Claude](https://developers.tokportal.com/agents/claude/create-tiktok-accounts) — Anthropic's assistant on claude.ai, the mobile apps and Claude Desktop, with custom MCP connectors.
- [Create TikTok accounts with Claude Code](https://developers.tokportal.com/agents/claude-code/create-tiktok-accounts) — Anthropic's terminal coding agent; MCP servers are added with `claude mcp add` and used in any session.
- [Create TikTok accounts with ChatGPT](https://developers.tokportal.com/agents/chatgpt/create-tiktok-accounts) — OpenAI's assistant; plans with developer mode can add remote MCP servers as custom connectors.
- [Create TikTok accounts with OpenAI Codex](https://developers.tokportal.com/agents/codex/create-tiktok-accounts) — OpenAI's coding agent (Codex CLI and IDE extension); MCP servers live in `~/.codex/config.toml`.
- [Create TikTok accounts with Cursor](https://developers.tokportal.com/agents/cursor/create-tiktok-accounts) — AI code editor with an agent mode; MCP servers are configured in `.cursor/mcp.json` or via a one-click deeplink.
- [Create TikTok accounts with Windsurf](https://developers.tokportal.com/agents/windsurf/create-tiktok-accounts) — Codeium's agentic IDE (Cascade); MCP servers are declared in `~/.codeium/windsurf/mcp_config.json`.
- [Create TikTok accounts with Cline](https://developers.tokportal.com/agents/cline/create-tiktok-accounts) — Open-source autonomous coding agent for VS Code with an MCP marketplace and per-tool approval.
- [Create TikTok accounts with OpenClaw](https://developers.tokportal.com/agents/openclaw/create-tiktok-accounts) — Open-source autonomous agent runtime with a skills registry (ClawHub); TokPortal ships as a first-party skill.
- [Create TikTok accounts with Hermes Agent](https://developers.tokportal.com/agents/hermes-agent/create-tiktok-accounts) — Nous Research's open-source agent runtime; MCP servers are declared under `mcp_servers` in `~/.hermes/config.yaml`.
- [Create TikTok accounts with Gemini CLI](https://developers.tokportal.com/agents/gemini-cli/create-tiktok-accounts) — Google's open-source terminal agent for Gemini; MCP servers via `gemini mcp add` or `~/.gemini/settings.json`, plus extensions.
- [Create TikTok accounts with Goose](https://developers.tokportal.com/agents/goose/create-tiktok-accounts) — Block's open-source local agent; remote MCP servers are added as extensions (Streaming HTTP) or via a `goose://` deeplink.
- [Create TikTok accounts with Perplexity](https://developers.tokportal.com/agents/perplexity/create-tiktok-accounts) — Answer engine with custom MCP connectors on paid plans; good for read-only research over your TokPortal data.
- [Create TikTok accounts with Microsoft Copilot Studio](https://developers.tokportal.com/agents/copilot-studio/create-tiktok-accounts) — Microsoft's low-code agent builder; MCP servers are added as tools through the MCP onboarding wizard (Streamable transport).
- [Create TikTok accounts with Factory Droid](https://developers.tokportal.com/agents/factory-droid/create-tiktok-accounts) — Factory's software-engineering agent (`droid` CLI); HTTP MCP servers are added with `droid mcp add`.
- [Create TikTok accounts with n8n](https://developers.tokportal.com/agents/n8n/create-tiktok-accounts) — Open-source workflow automation; use the built-in MCP Client Tool node with an AI Agent, or the community node `n8n-nodes-tokportal` for deterministic steps.
- [Create TikTok accounts with Make](https://developers.tokportal.com/agents/make/create-tiktok-accounts) — Visual automation platform (ex-Integromat); call TokPortal from HTTP modules with `X-API-Key`, or from Make's MCP Client module where available.
- [Create TikTok accounts with Zapier](https://developers.tokportal.com/agents/zapier/create-tiktok-accounts) — Automation platform; today TokPortal is used via Webhooks by Zapier (REST) — a native TokPortal app is coming.
- [Create TikTok accounts with Pipedream](https://developers.tokportal.com/agents/pipedream/create-tiktok-accounts) — Serverless integration platform for developers; call TokPortal from a Node.js/Python code step or the HTTP action, and receive webhooks on an HTTP trigger.
- [Create TikTok accounts with Dify](https://developers.tokportal.com/agents/dify/create-tiktok-accounts) — Open-source LLM app platform; MCP servers are registered under Tools → MCP and used by Agent nodes and Agent apps.
- [Create TikTok accounts with Flowise](https://developers.tokportal.com/agents/flowise/create-tiktok-accounts) — Open-source visual builder for LLM flows; the Custom MCP node connects any Streamable HTTP server to Agentflow / tool agents.
- [Create TikTok accounts with Langflow](https://developers.tokportal.com/agents/langflow/create-tiktok-accounts) — Open-source visual framework for agents; the MCP Tools component connects to servers registered in Settings → MCP Servers.
- [Create TikTok accounts with CrewAI](https://developers.tokportal.com/agents/crewai/create-tiktok-accounts) — Python multi-agent framework; `MCPServerAdapter` from `crewai-tools` turns any MCP server into agent tools.
- [Create TikTok accounts with LangChain](https://developers.tokportal.com/agents/langchain/create-tiktok-accounts) — LangChain / LangGraph agents load MCP tools with `langchain-mcp-adapters` (`MultiServerMCPClient`).
- [Create TikTok accounts with Vercel AI SDK](https://developers.tokportal.com/agents/vercel-ai-sdk/create-tiktok-accounts) — TypeScript toolkit for AI apps; the MCP client (`@ai-sdk/mcp`, formerly `experimental_createMCPClient` in `ai`) turns TokPortal tools into `generateText`/`streamText` tools.
- [Create TikTok accounts with Mastra](https://developers.tokportal.com/agents/mastra/create-tiktok-accounts) — TypeScript agent framework; `MCPClient` from `@mastra/mcp` connects HTTP or stdio MCP servers and hands their tools to an `Agent`.

## Related

- [Bulk TikTok account creation](https://developers.tokportal.com/use-cases/platform-guides/bulk-tiktok-accounts-api)
- [Create Bundle](https://developers.tokportal.com/create-bundle)
- [Account configuration](https://developers.tokportal.com/account-configuration)
- [MCP server](https://developers.tokportal.com/mcp)
- [Getting started](https://developers.tokportal.com/getting-started)
- [All agents](https://developers.tokportal.com/agents)
