Skip to content

MCP server: reference for developers

Two endpoints (API key or OAuth), every tool with its cost, the confirmation flow and config examples.

As Markdown (for AI)OpenAPI

Contents and all reference pages

The Flow Marketing MCP server has two endpoints with the same tools: one for your own software with an API key and one for AI apps with OAuth sign-in. Every tool calls the REST API internally – scopes, limits, billing and logging are the same.

If a tool costs money in live mode or changes your account, a price card comes first. Only the human can confirm it, never the AI.

Two endpoints

OAuth in detail: discovery via /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server, clients via Dynamic Client Registration or a Client ID Metadata Document. Access tokens last 1 hour, refresh 30 days with rotation. Only the account owner may approve; up to 20 connections per account.

If an AI app connects without an API account, it pays with your account’s credits. The price card then shows credits and their value in euros; if credits are missing, you get insufficient_credits with a purchase link.

For your own softwareFor AI apps
Addresshttps://flow-marketing.org/api/turbo/mcphttps://flow-marketing.org/mcp
Sign-inAuthorization: Bearer fm_test_… or fm_live_…OAuth 2.1 with PKCE (S256), approval in the browser
TransportStreamable HTTP, POST only with JSON responses; GET → 405Streamable HTTP
Scopesthe key’s scopesthe scopes granted at approval
Modeby key (test or live)chosen at approval
Limits120 messages per minute and IP, batches up to 20, body 64 KB – plus the API limitsAPI limits plus a monthly cap per connection

Calling it directly (JSON-RPC)

For tests and your own agents, call the developer endpoint directly. Methods: initialize, ping, tools/list, tools/call, resources/list, resources/templates/list, resources/read, prompts/list, prompts/get. No session is needed.

initialize
curl -s https://flow-marketing.org/api/turbo/mcp \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"my-script","version":"1.0"}}}'
tools/list
curl -s https://flow-marketing.org/api/turbo/mcp \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
tools/call
curl -s https://flow-marketing.org/api/turbo/mcp \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"estimate_price","arguments":{"template":"release-notes","brief":"Version 4.2 brings dark mode."}}}'

Tools: videos

ToolPurposeCost (live)
list_templates, get_templatetemplates and field schemafree
list_brand_kits, get_brand_kitsaved brand kitsfree
estimate_priceprice and length before creatingfree
create_video_from_text, create_video_from_websitedraft with preview from text or a websitefree; with render: true a price card for render_video follows
upload_document, create_video_from_documentvideo from PDF, PowerPoint or Wordfree (draft)
list_videos, get_video, get_quality_reportstatus, preview, quality checkfree
update_videochange fields; on a finished video the correction rounddraft free; correction with a price card depending on the price list
render_videostart the exportcosts – price card (free rebuild without a card)
get_renderrender status and downloadsfree
cancel_rendercancel a rendernothing charged before it starts, stays charged after
create_language_version, create_variantslanguage version, up to 3 variantsfree (drafts)
get_share_linklink to watch without sign-infree
create_review_linklink with comments and approvalfree, needs confirmation
upload_file, complete_uploadupload an image, logo or documentfree

Tools: voice, avatar, AI media

ToolPurposeCost (live)
list_voices, get_voice, list_voice_modelsvoices, previews, models with price per 1,000 charactersfree
estimate_speechprice of a voice-overfree
create_speechturn text into speech (MP3, WAV, OGG with word timings)costs – price card
list_speech, get_speech, get_speech_subtitlesvoice-overs, download, SRT and WebVTTfree
get_pronunciations, set_pronunciationspronunciation dictionaryfree
start_voice_clone, start_own_avatarlink to the consent page for an own voice or own avatarfree
list_avatars, estimate_avatar_video, get_avatar_video, list_avatar_videosavatars and avatar videos (only when switched on)free
create_avatar_videotalking avatar video (only when switched on)costs – price card
create_image, create_clip, create_print_photo, get_mediaAI image, AI clip, print photo (only when switched on)creating costs – price card; fetching is free

Tools: call assistant, account and billing

ToolPurposeCost / confirmation
list_live_agents, get_live_agent, list_live_connections, list_live_callscall assistants, connections, callsfree
create_live_agentcreate an assistantfree
update_live_agentchange, switch on or offconfirmation; once on, every call minute costs
test_live_agenttest call in the browserfree
assign_phone_number, remove_phone_numberassign or remove a numberconfirmation
get_account, list_teamaccount, credits, teamfree
update_companycompany name and VAT IDconfirmation
create_brand_kit_from_website, update_brand_kitcreate or change a brand kitconfirmation
list_api_keyssee keys (never the secret value)free
create_api_key, rename_api_key, revoke_api_key, set_spending_limitmanage keys and the monthly limitonly via a one-time link on the website
invite_member, set_member_role, remove_membermanage the teamonly via a one-time link on the website
get_balance, list_invoicesbalance, limits, invoicesfree
buy_credits, manage_subscription_link, privacy_request_linklinks to purchase, plan, data export and deletion on the websitefree – paying or cancelling happens only on the website
ask_flow_help, contact_supporthelp answers, hand-over to a humanfree

Note: tools/list only shows what you can use right now: tools for features that are not switched on are missing. confirm_action is a button tool for the app interface and invisible to the model.

Confirmation before costs and changes

  • A confirmation is valid for 15 minutes, once, and only for exactly these arguments, this state of the video and this price.
  • The question in the client only works for small amounts: up to €2 per step and €10 per day per connection. Deleting, keys, team, limits and anything above that you confirm with the button or the one-time link.
  • The button in the price card only exists in apps that promise never to pass the hidden button data to the model. Otherwise the question and the one-time link remain.
  • Test mode has no price card; nothing is charged.
  1. The tool is called without confirmation_id. In live mode it answers with a price card: code confirmation_required, net and gross price, balance, what is left of the monthly cap, confirmation_id and confirm_url.
  2. The AI shows the price to the human. For private customers the final price including VAT applies, with a note on the right of withdrawal.
  3. The human confirms in one of three ways: the question in the client, the button in the price card, or the one-time link confirm_url on our website (signed in). A “yes” typed in the chat does not count.
  4. Then the AI calls the same tool again with the same arguments and the confirmation_id. The confirmed price acts as the ceiling.
AnswerMeaningNext step
confirmation_requiredprice card, nothing started yetshow the price, the human confirms
awaiting_user_confirmation (409)not confirmed yetpoint the human to the button or confirm_url, then call again with the same confirmation_id
declined_by_user (409)declineddo nothing
confirmation_invalid (409)expired, used, arguments or price changedcall again without confirmation_id → new card
Price card (shortened, example values)
{
  "object": "price_confirmation",
  "code": "confirmation_required",
  "tool": "render_video",
  "what": "…",
  "cost": { "cents": 372, "gross_cents": 443, "currency": "eur", "text": "…", "tax_note": "…" },
  "balance_cents": 4210,
  "connection_cap_left_cents": 1628,
  "detail": "Nothing was started or charged yet.",
  "next_step": "Show the user … The user confirms it themselves (button, question or confirm_url) – you cannot. …",
  "confirmation_id": "…",
  "confirm_url": "https://flow-marketing.org/bestaetigen?b=…",
  "expires_in_s": 900
}

Monthly cap per connection

Every AI-app connection that pays with API balance has its own monthly cap: preset to €20.00 plus VAT (€23.80 including VAT). You change it when approving or in your account under “API”. If a step would exceed the cap, the price card says so and nothing starts. The account’s monthly limit and your balance apply on top.

Results and errors

  • Results come as text and as structuredContent. The text starts with a note that it is data, not instructions.
  • Errors carry the REST API code and usually a next_step field with the concrete next step.
  • Finished videos can bring an embedded player (MCP Apps), plus the preview as a resource_link.

Setting up AI apps

All apps use the same address https://flow-marketing.org/mcp. Step-by-step guides for Claude, ChatGPT, Cursor, VS Code and more are in separate help articles (links below). Any other client with Streamable HTTP and OAuth 2.1 works the same way; for apps we do not list, we have not checked the setup ourselves.

Short version with copy buttons for every app: flow-marketing.org/en/connect-ai.

Claude Code
claude mcp add --transport http --scope user flow-marketing https://flow-marketing.org/mcp
# then inside Claude Code: /mcp → sign in
Cursor: ~/.cursor/mcp.json
{ "mcpServers": { "flow-marketing": { "url": "https://flow-marketing.org/mcp" } } }
VS Code (GitHub Copilot): .vscode/mcp.json
{ "servers": { "flow-marketing": { "type": "http", "url": "https://flow-marketing.org/mcp" } } }
Gemini CLI
gemini mcp add --transport http --scope user flow-marketing https://flow-marketing.org/mcp
Codex CLI
codex mcp add flow-marketing --url https://flow-marketing.org/mcp
codex mcp login flow-marketing
mcp-remote (bridge, Node 18+)
{ "mcpServers": { "flow-marketing": { "command": "npx", "args": ["-y", "mcp-remote", "https://flow-marketing.org/mcp", "--transport", "http-only"] } } }

Did this help?

Still have a question?

Mo is an AI and answers right away from these articles. A person on our team replies within 24 hours on business days.

Some services degraded
Create a videoNo subscription needed · cancel any time