Run multi-client agency operations with any AI agent
Run an agency's TikTok/Instagram operations from any of 25 agents: per-client external_ref, bulk account fleets, videos_only reposting, ban webhooks and…
An agency using any MCP-capable agent with TokPortal runs every client through the same four primitives — bundles, accounts, videos, webhooks — and keeps them separate with external_ref and account filters. create_bundles_bulk opens a client's fleet in their market, list_bundles/list_accounts filter by client reference, videos_only bundles carry each month's content onto delivered accounts, create_webhook_endpoint pushes account.banned and video.finalized into the agency's tooling, and export_analytics_videos / create_analytics_report produce the client deliverable. One API key, no per-client OAuth, no app audit, human-operated accounts the agency never has to log into.
How it works
Structure comes from external_ref: put the client slug in it (acme-us, bloom-fr) on every bundle — create_bundle and create_bundles_bulk both accept it, and list_bundles?external_ref=acme-us returns that client's work. Video slots have their own external_ref for creative ids. Accounts inherit their bundle; list_account_bundles on an account gives its history. If clients need real isolation, use one API key per client (keys are per workspace, shown once, revocable individually) — the agent can hold several and pick by client.
Monthly operations from any MCP-capable agent then look like this. Onboarding: create_bundles_bulk (accounts_count, videos_per_account, country, warming terms) plus per-account configure_bundle_account from the client's brand sheet. Content: upload_video for each asset, batch_configure_bundle_videos for the month at ≤3/day, publish_bundle. Reposting existing accounts next month: create_bundle with bundle_type: videos_only and account_id, videos_quantity, then the same batch fill. Corrections: request_bundle_video_corrections when the client rejects a post during the 72-hour review (in_review), or finalize_bundle_video to approve immediately; set auto_finalize_videos: false on bundles where the client insists on approving.
Risk and reporting: one webhook endpoint per client system with account.banned, account.ban_appeal.submitted, account.ban_resolution.decided, video.finalized; list_account_bans as the single source of truth for ban state and refund/remake outcomes; create_analytics_report (or export_analytics_report_html) for a branded monthly report and export_analytics_videos for the raw CSV. Credits are shared per workspace — list_credit_transactions gives the per-bundle ledger to re-invoice each client.
Tool sequence
tokportal_get_credit_costs— Per-client quotes; contract allowances show here.tokportal_create_bundles_bulk— Client fleet withexternal_ref: <client>.tokportal_list_bundles—external_ref,status,platformfilters per client.tokportal_create_bundle—videos_only+account_idfor next month's content on delivered accounts.tokportal_batch_configure_bundle_videos— Month of slots per bundle.tokportal_request_bundle_video_corrections— Client rejects a post in review → manager redoes it.tokportal_create_webhook_endpoint— Per-client endpoint:account.banned,account.ban_appeal.submitted,account.ban_resolution.decided,video.finalized.tokportal_list_account_bans— Ban lifecycle + refund/remake resolution for client comms.tokportal_create_analytics_report— Monthly report per client (orexport_analytics_report_html).tokportal_list_credit_transactions— Ledger to re-invoice credits per client.
Pick your agent
- Run multi-client agency operations with Claude — Anthropic's assistant on claude.ai, the mobile apps and Claude Desktop, with custom MCP connectors.
- Run multi-client agency operations with Claude Code — Anthropic's terminal coding agent; MCP servers are added with
claude mcp addand used in any session. - Run multi-client agency operations with ChatGPT — OpenAI's assistant; plans with developer mode can add remote MCP servers as custom connectors.
- Run multi-client agency operations with OpenAI Codex — OpenAI's coding agent (Codex CLI and IDE extension); MCP servers live in
~/.codex/config.toml. - Run multi-client agency operations with Cursor — AI code editor with an agent mode; MCP servers are configured in
.cursor/mcp.jsonor via a one-click deeplink. - Run multi-client agency operations with Windsurf — Codeium's agentic IDE (Cascade); MCP servers are declared in
~/.codeium/windsurf/mcp_config.json. - Run multi-client agency operations with Cline — Open-source autonomous coding agent for VS Code with an MCP marketplace and per-tool approval.
- Run multi-client agency operations with OpenClaw — Open-source autonomous agent runtime with a skills registry (ClawHub); TokPortal ships as a first-party skill.
- Run multi-client agency operations with Hermes Agent — Nous Research's open-source agent runtime; MCP servers are declared under
mcp_serversin~/.hermes/config.yaml. - Run multi-client agency operations with Gemini CLI — Google's open-source terminal agent for Gemini; MCP servers via
gemini mcp addor~/.gemini/settings.json, plus extensions. - Run multi-client agency operations with Goose — Block's open-source local agent; remote MCP servers are added as extensions (Streaming HTTP) or via a
goose://deeplink. - Run multi-client agency operations with Perplexity — Answer engine with custom MCP connectors on paid plans; good for read-only research over your TokPortal data.
- Run multi-client agency operations with Microsoft Copilot Studio — Microsoft's low-code agent builder; MCP servers are added as tools through the MCP onboarding wizard (Streamable transport).
- Run multi-client agency operations with Factory Droid — Factory's software-engineering agent (
droidCLI); HTTP MCP servers are added withdroid mcp add. - Run multi-client agency operations with n8n — Open-source workflow automation; use the built-in MCP Client Tool node with an AI Agent, or the community node
n8n-nodes-tokportalfor deterministic steps. - Run multi-client agency operations with Make — Visual automation platform (ex-Integromat); call TokPortal from HTTP modules with
X-API-Key, or from Make's MCP Client module where available. - Run multi-client agency operations with Zapier — Automation platform; today TokPortal is used via Webhooks by Zapier (REST) — a native TokPortal app is coming.
- Run multi-client agency operations with Pipedream — 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.
- Run multi-client agency operations with Dify — Open-source LLM app platform; MCP servers are registered under Tools → MCP and used by Agent nodes and Agent apps.
- Run multi-client agency operations with Flowise — Open-source visual builder for LLM flows; the Custom MCP node connects any Streamable HTTP server to Agentflow / tool agents.
- Run multi-client agency operations with Langflow — Open-source visual framework for agents; the MCP Tools component connects to servers registered in Settings → MCP Servers.
- Run multi-client agency operations with CrewAI — Python multi-agent framework;
MCPServerAdapterfromcrewai-toolsturns any MCP server into agent tools. - Run multi-client agency operations with LangChain — LangChain / LangGraph agents load MCP tools with
langchain-mcp-adapters(MultiServerMCPClient). - Run multi-client agency operations with Vercel AI SDK — TypeScript toolkit for AI apps; the MCP client (
@ai-sdk/mcp, formerlyexperimental_createMCPClientinai) turns TokPortal tools intogenerateText/streamTexttools. - Run multi-client agency operations with Mastra — TypeScript agent framework;
MCPClientfrom@mastra/mcpconnects HTTP or stdio MCP servers and hands their tools to anAgent.