Home / Guides / Connect an AI app
Setup guide

Connect an AI app

Claude, ChatGPT and Claude Code can connect to your ContentFlow workspace through ContentFlow's MCP server. Once connected, the AI knows the product, looks at what your workspace has set up, and answers in plain words, in Arabic or English. It is for marketers and product teams as much as for developers.

In short
  • An admin turns on Allow AI apps to connect in Settings → AI assistant (or on Developers → MCP).
  • In Claude or ChatGPT, add https://api.contentflow.click/mcp as a custom connector, sign in to ContentFlow and click Allow.
  • In Claude Code, add the server with one command and give it your session token from Developers → MCP.
  • The AI reads and plans. It can create drafts for review, but it never approves, sends or publishes, and it never sees who your customers are.
Overview

What the AI expert does

  • Knows the product. What each area of ContentFlow is for, when to use it, how to set it up, which role does what, and what ContentFlow does not cover.
  • Checks your workspace. What each area has set up and what is missing: connected apps, languages, channels, segments, campaigns, journeys, goals and more.
  • Plans your app setup. A step-by-step plan from what it finds in your app, with the SDK code for your platform and who does each step: you, your developer or an admin.
  • Answers results questions. Campaigns, journeys, in-app content, goals, surveys, delivery, audience growth and Ads, with real numbers and where they came from.
  • Suggests one next step. At the end of an answer it may offer one idea that fits your goal and a gap in your workspace, and it does not repeat an idea you declined.

What it cannot do

  • It cannot approve, send, publish, activate or pay for anything, or change workspace settings. People do that in the dashboard.
  • It cannot see personal data. User and device ids, emails, phone numbers, tokens and secrets are removed before anything reaches the AI, and lists stop at 50 items.
  • It sees what your role sees, in your own workspace only. With a viewer role it only reads; with an editor or admin role it can also create drafts that a person reviews.
  • On the demo workspace it only reads.
Hosted connector

Connect Claude or ChatGPT

Claude and ChatGPT connect by URL to ContentFlow's hosted connector. There is nothing to install. First, an admin turns on AI apps once per workspace: in the dashboard, open Settings → AI assistant (or Developers → MCP) and turn on Allow AI apps to connect. Turning it off later disconnects every app, for every member.

Claude (web and desktop app)

  1. Open Claude's connectors. In Claude, go to Customize → Connectors (claude.ai/customize/connectors).
  2. Add ContentFlow as a custom connector. Click + Add → Add custom connector. Name it ContentFlow and paste the server URL:
    https://api.contentflow.click/mcp
    Click Continue, keep the sign-in settings Claude fills in, and click Add.
  3. Sign in and click Allow. Click Connect next to ContentFlow. ContentFlow opens: sign in with your own account, check the workspace name, and click Allow.
  4. Use it in a chat. In a new chat, open + → Connectors and switch ContentFlow on. Then ask: What can ContentFlow do for my app? Start with a checkup of my workspace.

On a Claude Team or Enterprise plan, an owner adds ContentFlow first in the organization's connectors; then each person clicks Connect.

ChatGPT

  1. Turn on developer mode. In ChatGPT on the web, go to Settings → Apps → Advanced settings and switch on Developer mode. It needs a paid plan; on Business, Enterprise and Edu an admin must allow it for the workspace first.
  2. Create the ContentFlow app. Back in Settings → Apps, click Create app. Name it ContentFlow, paste the same URL as the MCP Server URL, choose OAuth for authentication, confirm that you trust the app, and click Create.
  3. Sign in and click Allow. ContentFlow opens: sign in, check the workspace name, and click Allow.
  4. Use it in a chat. In each new chat, click + and pick ContentFlow.

On Plus and Pro, ChatGPT can read your workspace and answer; creating drafts needs Business, Enterprise or Edu. ChatGPT renames its menus often: if a label differs, look for Developer mode. These steps follow OpenAI's developer mode guide.

Each member connects with their own account and role. Settings → AI assistant lists the connected apps; an admin sees every member's apps and can disconnect any of them.

In your editor

Connect Claude Code

Claude Code reads your app's code, so it can plan the setup for your app as it is. The quickest way uses the same hosted connector: one command, then sign in.

  1. Add ContentFlow, once, in a terminal.
    claude mcp add --transport http --scope user contentflow https://api.contentflow.click/mcp
  2. Sign in and click Allow. Start Claude Code, type /mcp, choose contentflow and follow the browser: sign in, check the workspace name, and click Allow.

Or run the server on your computer

For working with your portal session instead of the hosted connector. It needs Node.js 20 or later.

  1. Add the server, once, in a terminal. The command carries no token.
    claude mcp add -s user contentflow -- npx -y --prefer-offline \
    https://dev.contentflow.click/mcp/contentflow-mcp-1.0.1.tgz

    -s user makes it available in all your projects. To replace an earlier version, run claude mcp remove -s user contentflow first. The tarball's SHA-256 is at the same URL with .sha256 added.

  2. Give it your session token. Sign in at app.contentflow.click with your own account (never the demo account), open Developers → MCP, tick the confirmation and copy the command. Paste it into a terminal: it saves the token to ~/.config/contentflow/token, readable by you only. Then start Claude Code, or restart it if it's open.
Your token is your portal session

It expires with your session (by default after 15 minutes of inactivity or 8 hours after sign-in) and when you sign out. Keep it in the token file only: never paste it into a chat, commit it or pass it with claude mcp add -e. If it leaks, sign out of the dashboard to end it.

Without the token, the server still answers product and docs questions and checks plans; it just cannot read your workspace.

Optional

Skills for Claude

Six ContentFlow skills teach Claude the steps for common jobs, so it calls the right tools in the right order:

  • Set up your app (contentflow-setup-app): connect a mobile or web app to ContentFlow, with the SDK, push and in-app content you can edit without a release.
  • Plan a campaign (contentflow-plan-campaign): plan a campaign or journey for the right audience in Arabic and English, as a draft for approval.
  • Review results (contentflow-review-results): answer how something did, compare channels or segments, and say what to change next time.
  • Translate missing text (contentflow-translations): find text missing in one of your languages and draft the translations for review.
  • Fix delivery (contentflow-fix-delivery): find out why a message or in-app content did not reach people, and what to do about it.
  • Take a product tour (contentflow-product-tour): explain what ContentFlow can do for your business, and what it does not do.

Download the skills (.zip)

Unzip the download once. You get a contentflow-skills folder with one zip per skill, each ready to upload as it is.

  • Claude (web and desktop): open Customize → Skills, click +, choose Create skill → Upload a skill and upload one skill's zip, for example contentflow-plan-campaign.zip. Repeat for each skill you want. Skills need code execution turned on in Claude's settings; on Team and Enterprise plans an owner may need to allow skills first.
  • Claude Code: from the contentflow-skills folder, run:
    for f in *.zip; do unzip -o "$f" -d ~/.claude/skills; done
    Then restart Claude Code.

You don't need the skills to use the connector. ChatGPT and other apps that read MCP prompts get the same six recipes as prompts, named as the skills.

Reference

Tools by goal

The AI picks the tools itself; you ask in your own words. Workspace tools appear once the connection is signed in, and draft tools only for an editor or admin.

All tools
  • Understand the product: contentflow_start, product_guide, concept_explain, docs_search
  • Check my workspace: workspace_checkup, block_types_list, block_instance_get, segments_list, segment_get, campaigns_list, journeys_list, goals_list, strings_overview, approvals_list, content_search
  • Set up my app: setup_plan, sdk_snippet, sdk_key_check, card_type_validate, app_events_list
  • Plan content and campaigns: plan_check, segment_find, attributes_catalog, segment_estimate, block_type_get, campaign_get, journey_get
  • Review results: analytics_query, analytics_summary, survey_results, page_results, surveys_list, pages_list, ads_overview
  • Fix delivery: campaign_delivery, delivery_problems, messages_list, message_get
  • Translations: strings_overview, strings_search
  • Other areas: predictive_scores_status, whatsapp_bot_get, live_activities_list
  • Next step: suggest_next
  • Register block types and source strings (Claude Code, with the workspace write key): card_type_register, strings_sync_source
  • Create drafts (editor or admin): plan_apply, plan_status, block_publish_test, block_submit_for_review, campaign_submit_for_review, undo_plan

Drafts wait for a person: a different person approves a campaign and a person activates it. Anything an AI app asks to apply becomes a request on the Approvals page, even when an admin connected it (see Approvals). undo_plan removes only the drafts a plan created that nobody has changed since.

Try it

Questions to try

  • What is set up in our workspace, and what should we do next?
  • Set up ContentFlow in my Flutter app.
  • Change the home banner without an app release.
  • Plan a Ramadan banner in Arabic and English for new customers.
  • Remind people 3 days after sign up if they have not ordered.
  • How did our campaigns perform in the last 7 days?
  • Why were some messages not delivered?
  • ترجمات عربية ناقصة (“Arabic translations are missing”: ask in Arabic or English)
Help

When it doesn't work

What you seeWhat to do
The Allow screen says AI apps are offAsk a workspace admin to turn on Allow AI apps to connect in Settings → AI assistant.
The AI can read but not create draftsYour role is viewer. Ask an admin for an editor role, or ask a teammate to apply the plan.
Claude Code says the session expiredSign in to the dashboard again, copy the command from Developers → MCP again and restart Claude Code.
Claude Code answers but cannot see your workspaceThe token file is missing or expired: repeat step 2 of Connect Claude Code.

Next