# How to connect Unbounce with ChatGPT

```json
{
  "title": "How to connect Unbounce with ChatGPT",
  "toolkit": "Unbounce MCP",
  "toolkit_slug": "unbounce_mcp",
  "framework": "ChatGPT",
  "framework_slug": "chatgpt",
  "url": "https://composio.dev/toolkits/unbounce_mcp/framework/chatgpt",
  "markdown_url": "https://composio.dev/toolkits/unbounce_mcp/framework/chatgpt.md",
  "updated_at": "2026-12-04T05:32:37.285Z"
}
```

## Introduction

### How to connect Unbounce MCP with ChatGPT
[ChatGPT](https://chatgpt.com/) can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.
In this guide, I will explain the easiest and most secure way to connect your Unbounce account to ChatGPT via Composio Connect, so it can build landing pages, manage variants, set conversion goals, read page stats, and publish updates through natural language commands without ever putting your account credentials at risk.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/unbounce_mcp).

## Also integrate Unbounce MCP with

- [Claude Cowork](https://composio.dev/toolkits/unbounce_mcp/framework/claude-cowork)

## TL;DR

### Why use Composio over default connectors?
- Apps with read and write access. Default connectors mostly can read your data. Composio's Unbounce integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
- 2,000+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
- One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
- Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
- Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

## Connect Unbounce MCP to ChatGPT

### Prerequisites
- A ChatGPT account. We will use the [ChatGPT desktop app](https://openai.com/chatgpt/download/), and the steps are the same on the web.
- Access to the Unbounce workspace you want to connect.
- [Composio plugin](https://dashboard.composio.dev/login?cta_placement=toolkit-framework-chatgpt-composio-connect&next=%2F~%2Forg%2Fconnect%2Fclients%2Fchatgpt).
Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.
### Step-by-step: Connect Unbounce to ChatGPT
### 1. Install the Composio plugin
Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.
[Install in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a58503580c08191b78cc5bdaf4eba6e)
You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.
### 2. Authenticate
After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.
### 3. Start using Composio
That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread Unbounce messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize Unbounce.
### Option 2: Add Composio as an MCP server
If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.
### 1. Open the MCP settings
In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.
### 2. Add the server
Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Unbounce MCP server, and what's possible with it?

The Unbounce MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Unbounce account. It provides structured and secure access to your landing pages, AI Builder pages, variants, conversion goals, URLs, redirects, page groups, and page statistics, so your agent can create, edit, publish, organize, and measure your Unbounce campaigns on your behalf.
- Landing page creation and editing: Have your agent create Classic landing pages from HTML, build AI Builder pages, update page content, and apply targeted changes to AI Builder components or page themes.
- Variant and A/B test management: Let the agent create, clone, rename, edit, delete, and organize page variants, then set traffic splits and manage each variant's testing status.
- Publishing and campaign settings: Direct your agent to publish or unpublish pages, set published URLs, configure redirects, define conversion goals, and update SEO and social sharing metadata.
- Page organization and assets: Instruct your agent to list pages, domains, assets, and page groups, then create, rename, update, or delete groups to keep campaigns organized.
- Performance reporting: Have your agent retrieve page and variant visits, visitors, conversions, and conversion rates, or reset page statistics when you start a new measurement period.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `UNBOUNCE_MCP_BULK_EDIT_VARIANTS` | Bulk edit variants | Apply the same edit to many MCP-managed variants at once. Pass `targets` (page_uuid + variant letter) and `ops`, an ordered list of edits to apply identically to every target. An op is either a `replace` (literal, non-regex find/replace on the html, css, or js stream) or a `selector` op (CSS selector + action — set_text, set_html, set_attribute, set_style, add_class, remove_class — applied to matching elements in the html stream). For a per-target value (e.g. each page's own product name), give the op a `value_map` (page_uuid -> value) instead of a single value; targets missing from the map are left untouched. Selector ops that don't match a given target's markup are a no-op, so stack several to handle mixed markup across the set. `dry_run` defaults to true: it reports match counts per target without writing anything, so you can preview and see which targets a change actually hits. Re-run with `dry_run: false` to stage the changes; nothing goes live until each page is published (publish_page), so a bad batch is recoverable by simply not publishing. Only MCP-managed variants are edited — a hand-built Unbounce-builder variant is reported `skipped`, not failed, so one bad target never aborts the batch. To swap in a new image, upload it first (upload tool) and use its upload:/// reference as an op value (e.g. set_attribute src); it's rehosted to a client-owned CDN URL at apply time. upload:// refs must point at image/font files and only work in html/css ops; a bad ref fails the whole call up front. Referenced images/fonts are rehosted and external refs pre-flighted the same way as update_variant_from_html. Content is read and written server-side and never passes through this conversation. Very large batches run until a wall-clock budget; anything not reached comes back under `not_processed` (with `stopped_early: true`) so you can re-run for just those. Dynamic Text Replacement (``) is a paid feature — if the account isn't entitled, a target whose edit would introduce the tag is reported as an `error`, not applied, without affecting the rest of the batch. |
| `UNBOUNCE_MCP_CREATE_AI_BUILDER_PAGE` | Create ai builder page | Create a new, unpublished AI Builder page in a client from an editor document. The result is a normal AI Builder page: the user can open and edit it in the Unbounce AI builder, and the Classic HTML tools (update_variant_from_html and the like) do not apply to it. Pass exactly one of `document` or `document_ref`. `document` is the editor document itself — GrapesJS project data, the same shape get_ai_builder_document returns — and is how a document under about 100 KB is created in one call, with no upload. Above that, upload the JSON (`upload`, or `upload_inband` when you cannot run shell) and pass `document_ref` instead. Author it with get_ai_builder_catalog first: use only its component types, and style with its style-guide variables rather than hard-coded values. Either way the document must serialize to at most 1,000,000 bytes. Brand colours and fonts the user names go in `theme`, not in literal values: it maps style-guide variables (`style_guide.themeable` in get_ai_builder_catalog) to values and sets them as the page's theme, as the AI builder's theme panel would, so every component styled with `var(--…)` follows and the user can change them in that panel, where each shows as Custom. A theme is merged over any the document already carries. Setting a palette's base colour (`--brand`, `--ub-color-secondary`, `--ub-color-accent`, `--ub-color-text`, `--ub-success`, `--ub-warning`, `--ub-danger`) as a `#` hex also sets its five-step series and moves the colours that still follow it (buttons, links, form focus), as the AI builder does, unless `theme` sets those itself. Give a palette colour as `#` hex or `rgb()`: any other form (a colour name, `hsl()`) is written but moves nothing, and `theme_warnings` says so. A font variable takes a Google Fonts family from the AI builder's catalogue (or a generic or system family), and its web font is declared for loading. A literal colour is for a one-off accent only; never write a literal font family. An unknown variable or family fails the call (`invalid-theme`) before anything is created. The document is validated against the client's catalog and style guide BEFORE anything is created: unknown component types, undefined style variables, event-handler attributes (`on*`), component `script` and `javascript:` URLs fail the call with every problem listed, and no page is left behind, as is a document in which two components share an `attributes.id` (`duplicate-id`). To run code on the page, use set_ai_builder_custom_code — custom-code slot content in this document is refused. A script component is not a slot and is still accepted. `limits` (on success and on a validation failure) names what the check does not cover, so a pass is not a guarantee the page renders as intended. An account whose plan lacks AI Builder (`builders.ai_builder` false in list_accounts_and_clients) is refused before anything is uploaded, naming create_page_from_html when the account has the Classic Builder. The page is pinned to a style guide at creation — the only moment one can be set. Omit `style_guide_id` to use the client's resolved style guide; the call fails, creating nothing, when none resolves. A component's inline `style` (on the component or in its `attributes`) is moved, values unchanged, into its own `#id` rule in `styles`, where the AI builder's Style Manager edits it; a component without an `attributes.id` is given one, listed in `generated_ids`. The published page shows the stored children, while the AI builder rebuilds some of them from traits, so a few are set from their traits before saving: a `ub-form-button`'s `text` (what it publishes) and `aria-label` from its `data-label`, and the items of a `ub-pricing-card`'s own `ul.ub-pricing-card__features` from `data-features` (one `li.ub-pricing-card__feature` per `\|`-separated entry, the entry being its markup, as in the editor). `warnings` lists, without failing the call, a pricing card with no features container (or traits and no children), and a component of a type with `data-*` traits whose children carry none of the classes its catalog default children carry, which the AI builder cannot update from its traits. A document that contains a form and does not already set `activeGoals` is saved with a form conversion goal, so the published form counts. The result says so (`form_goal_defaulted`). Turn it off, or add link, phone, and lightbox goals, with set_conversion_goals before publish_page. Returns the page uuid (`page_id`), `variant_id`, the pinned `style_guide_id`, the theme written (`theme_applied`, and `theme_derived` for the values derived from it) when `theme` was given, and `editor_url` / `overview_url` for the user. The page is left unpublished with no URL. If the page is created but its content cannot be written, the call fails naming the page uuid and variant: that page has no content, cannot be published until content is written, and should be removed with delete_page before retrying. |
| `UNBOUNCE_MCP_CREATE_AI_BUILDER_VARIANT` | Create ai builder variant | Add a variant to an existing AI Builder page, for an A/B test. Pass exactly one source. `document` or `document_ref` adds an authored editor document, the same input create_ai_builder_page takes: `document` is the JSON object itself, for a document under about 100 KB; above that, upload the JSON and pass `document_ref`. Either is validated the same way against the client's catalog and the page's style guide before anything is created. `source_variant` is the letter of one of the page's variants to copy — content, conversion goals, lineage and style guide included — which is the usual way to start an A/B test: copy, then edit_ai_builder_page the copy. A document is prepared as create_ai_builder_page prepares one: a document in which two components share an `attributes.id` is refused (`duplicate-id`), inline styles move into `#id` rules (ids it had to add are in `generated_ids`), and children the AI builder rebuilds from traits are set from them (`warnings` lists what could not be). A document that does not set `activeGoals` takes the champion's conversion goals, so both variants count the same conversions: each goal the document has an element for is copied (`goals_copied_from`, `active_goals`) and the rest are listed in `goals_dropped`. When the champion has no goals to copy, a document with a form is saved with a form goal (`form_goal_defaulted`), as create_ai_builder_page saves one. Goals are page-wide: change them with set_conversion_goals once the variant is routed. The page must be an AI Builder page owned by `context` (list_client_pages with builder: ai_builder), on an account whose plan includes AI Builder and A/B testing; a Classic page is refused — use create_variant_from_html or create_variant_from_existing_variant there. The new variant is STAGED on the page's draft with no traffic. On a page already split (weighted or Smart Traffic) it is added to the test as a challenger at weight 0; on a single-routed page it stays out of the test until set_traffic gives it a share. Either way, set_traffic then publish_page make it live. Returns the new variant's `letter` and `standing`, `version_id` (document path), `style_guide_id` and `editor_url`. If the variant is created but its content cannot be written, the call fails naming the letter: remove it with delete_variant before retrying. |
| `UNBOUNCE_MCP_CREATE_PAGE_FROM_HTML` | Create page from html | Create a new, unpublished Unbounce landing page in a client from already-uploaded HTML/CSS/JS, as an MCP-managed page — it can only be edited afterwards with these MCP tools, never in the Unbounce builder, so don't suggest the builder to the user. Pass `upload://` references from `upload`: `html_ref` (body-content HTML for the page's Custom HTML block), optional `css_refs` (concatenated into the page stylesheet), and optional `scripts` (each becomes a custom-JavaScript element — a .js file, an external `src` include, or verbatim `` markup, each with its own name and placement). Referenced images and fonts are rehosted as client-owned Unbounce assets and the markup rewritten to the resulting CDN URLs — relative references resolve against the HTML file's folder in the same upload bundle, large embedded data URIs are extracted, and external `http(s)` URLs are left untouched. To reuse an asset already in the client's library instead of uploading a duplicate, reference its `cdn_url` from list_assets; assets this tool does upload are deduplicated against the library too. A `` in the HTML is automatically wired for lead capture, pointed at Unbounce's submission gateway. It must be well-formed — one `` with named fields and a submit button, no `pageId`/`pageVariant` fields, no `onsubmit`/`onclick` handlers — or the call fails up front listing every issue. Submission belongs to the Unbounce runtime: no script (inline or in `scripts`) may listen for `submit`, POST to `/fsg`/`/fsn`/`/fs` or the form's `action` itself, or assign to a `window.ub.hooks` array — the call rejects those too (a hand-rolled POST is flagged as spam; remote `src` includes are not inspected). A successful submit shows a default "Thank you!" confirmation dialog; to customize the post-submit experience (message, redirect, hiding the form, mirroring the lead to a webhook), `.push` a callback onto `window.ub.hooks.afterFormSubmit` in a `scripts` entry or an inline `` in the body HTML, which suppresses the default dialog. The page is created in the given numeric `context` (client) and left unpublished — no URL is assigned. Surviving external references are pre-flight checked for reachability (`check_external_refs`, default `fatal`): a dead Unbounce-hosted asset URL fails the call up front (it would abort publish later); dead third-party URLs come back as `unreachable_refs` warnings instead. Head metadata tags in the HTML (``, meta description/keywords/robots, `og:*`, favicon) are lifted out and applied as real page metadata, reported under `head_metadata` (manage it afterwards with set_page_metadata); tags with no platform slot (twitter:*, canonical, hreflang) come back as warnings. An account whose plan lacks the Classic Builder (`builders.classic` false in list_accounts_and_clients) is refused before anything is uploaded, naming create_ai_builder_page when the account has AI Builder. Dynamic Text Replacement (``) is a paid feature — HTML containing it is rejected up front if the account isn't entitled (check with get_account_plan). File bytes are read server-side and never pass through this conversation. Returns the new page's numeric id and variant id (feed the variant id to get_variant), plus the list of created assets. |
| `UNBOUNCE_MCP_CREATE_VARIANT_FROM_EXISTING_VARIANT` | Create variant from existing variant | Clone an existing Unbounce page (one built in the Unbounce builder, not through MCP) into an MCP-managed variant, as an exact copy — a one-way, one-time conversion (edit the result afterwards with these MCP tools only, never in the Unbounce builder). Pass the numeric `source_variant_id` (from list_page_variants) and its `context` (client id). Omit `target_page` to create a NEW page (the source becomes variant a); pass a `target_page` pageUuid to add the copy as a new staged challenger variant on that existing MCP page. The source is rendered and transformed to MCP-format HTML/CSS; a lead form's confirmation subpage carries over as an embedded modal, and Dynamic Text (``) survives. If the source is already MCP-managed, nothing is created and the tool reports it. Autoscale (fixed-width) source pages convert too: the clone carries the per-breakpoint layout and renders faithfully at each breakpoint, but runtime viewport scaling (--scale) is not preserved — the conversion report notes this and points to mcp-modernize for a fully responsive rewrite. The result is created UNPUBLISHED — assign a URL/traffic and publish_page to go live. To copy a whole multi-variant page, call once per variant (first with no target_page, then with the returned page uuid) and set traffic/goals afterwards. Returns the new page/variant identity plus a conversion report. The source's scripts carry over as custom-JavaScript elements, and get_variant hands every one of them back as a `scripts` entry: an editable js file (`ref`), an external include (`src`), or verbatim markup (`tag`). Re-send them on update_variant_from_html to keep them, or omit `scripts` entirely to leave them untouched. |
| `UNBOUNCE_MCP_CREATE_VARIANT_FROM_HTML` | Create variant from html | Add a new variant to an existing Unbounce landing page (by `page_uuid` from list_client_pages) from already-uploaded HTML/CSS/JS, as an MCP-managed variant — editable afterwards with these MCP tools only, never in the Unbounce builder (don't suggest the builder to the user). Pass `upload://` references from `upload`: `html_ref` (body-content HTML for the variant's Custom HTML block), optional `css_refs` (concatenated into the variant stylesheet), optional `scripts` (each becomes a custom-JavaScript element — a .js file, an external `src` include, or verbatim `` markup, each with its own name and placement), and a required `variant_name`. Referenced images and fonts are rehosted as client-owned Unbounce assets and the markup rewritten to the resulting CDN URLs (relative refs resolve against the HTML file's folder in the same upload bundle; large data URIs are extracted; external `http(s)` URLs are left untouched). Reference an existing asset's `cdn_url` from list_assets to reuse it instead of uploading a duplicate — uploaded assets are deduplicated against the client's library too. A `` in the HTML is automatically wired for lead capture, pointed at Unbounce's submission gateway. It must be well-formed — one `` with named fields and a submit button, no `pageId`/`pageVariant` fields, no `onsubmit`/`onclick` handlers — or the call fails listing every issue. Submission belongs to the Unbounce runtime: no script (inline or in `scripts`) may listen for `submit`, POST to `/fsg`/`/fsn`/`/fs` or the form's `action` itself, or assign to a `window.ub.hooks` array — the call rejects those too (a hand-rolled POST is flagged as spam; remote `src` includes are not inspected). A successful submit shows a default "Thank you!" confirmation dialog; to customize the post-submit experience (message, redirect, hiding the form, mirroring the lead to a webhook), `.push` a callback onto `window.ub.hooks.afterFormSubmit` in a `scripts` entry or an inline `` in the body HTML, which suppresses the default dialog. The new variant is added as a CHALLENGER and STAGED: it takes no traffic until set_traffic gives it a share, and nothing goes live until publish_page. Adding a variant runs an A/B test, a paid feature — the call is rejected up front if the account isn't entitled (check with get_account_plan). Dynamic Text Replacement (``) is a paid feature too, gated the same way. File bytes are read server-side and never pass through this conversation. Returns the page uuid, the client `context`, a `variant` object (numeric `id`, `letter` a/b/c, and `standing` — normally `challenger`, or `discarded` with a note if it couldn't be promoted), and the list of created assets. |
| `UNBOUNCE_MCP_DELETE_PAGE` | Delete page | Delete an Unbounce page by its `page_uuid` (from list_client_pages) — deletes one page per call. The page stops serving and disappears from the account immediately, with no publish step. There is NO restore through these tools or the Unbounce app: the platform soft-deletes, and only Unbounce Support can recover a deleted page, on request. To take a page offline reversibly, use unpublish_page instead. Returns `{ ok: true, page_uuid, … }` on success, or `{ ok: false, code, reason, remedy }` so you can correct the inputs and retry. |
| `UNBOUNCE_MCP_DELETE_PAGE_GROUP` | Delete page group | Delete a client's page group (a named folder), by `group_uuid` from list_page_groups. Only the group is removed — its pages are NOT deleted; they remain and still appear under "All Pages". Use manage_page_group with remove_pages first if you only want to take pages out of a group without deleting it. Returns `{ ok: true, group_uuid, … }` on success, or `{ ok: false, code, reason, remedy }`. |
| `UNBOUNCE_MCP_DELETE_VARIANT` | Delete variant | Permanently delete one of an Unbounce page's variants, by `page_uuid` (from list_client_pages) and variant `letter` a/b/c (from list_page_variants). This is the HARD removal — the variant and its history are gone and CANNOT be recovered. To pull a challenger out of the test reversibly (keeping it), use set_variant_standing with standing `discarded` instead. The deletion is STAGED in the page's draft and only takes effect when the page is (re)published (publish_page). Returns `{ ok: true, … }` on success, or `{ ok: false, code, reason, remedy }` so you can correct the inputs and retry. |
| `UNBOUNCE_MCP_DOWNLOAD` | Download | Download objects from your server-side workspace WITHOUT routing their bytes through this conversation. Pass the `upload:///` references returned by `upload`. Returns one temporary download URL per reference; run the printed `curl -o ''` for each (no auth header needed — auth is baked into the URL). The bytes stream straight from storage to disk, never through the model. Can't run shell/curl? Use `download_inband` instead (small text files only). |
| `UNBOUNCE_MCP_DOWNLOAD_INBAND` | Download inband | Read objects from your server-side workspace, returning their content INLINE in this tool's result. Use this ONLY if you cannot run shell/`curl` commands locally; if you can, prefer `download`, which streams the bytes to disk without passing them through this conversation. Pass the `upload:///` references returned by `upload`, `upload_inband`, or `get_variant`. Only small text objects can be returned this way — a binary object (image/font) or one over 2 MiB is refused, with guidance to use `download` instead. Any refused reference fails the whole call, so retry with just the good ones. |
| `UNBOUNCE_MCP_EDIT_AI_BUILDER_PAGE` | Edit ai builder page | Make targeted changes to an existing AI Builder page's variant — insert, update, delete, retext, restyle or move components, or set the page theme — without re-authoring the whole document. Read the page with get_ai_builder_document first to see its components. `operations` (1 to 50) run in order as ONE atomic batch: if any operation cannot be applied, nothing is written and the error names the operation's index. Each names components by `{ id }` (attributes.id — it must match exactly one component; few components carry one) or `{ path }` (the position, e.g. `pages[0].frames[0].component.components[2]`, as the document and validation errors show it). A path is resolved against the document as earlier operations in the batch left it. - `insert { parent?, at?, component }` — add a component object (default parent: the first page's root; default position: last). Its inline `style` (on any component in it, or in their `attributes`) is moved, values unchanged, into each one's own `#id` rule; a component without an attributes.id is given one, reported in `generated_ids`. An attributes.id another component already carries is refused (`duplicate-id`). - `update { target, attributes?, classes?: { add?, remove? }, components? }` — merge attributes (null removes one), add/remove classes, or replace ALL children. - `delete { target }`. - `update_text { target, text }` — plain text of a text node, of a component whose content is text, or of a component with a single text node child. On a component that shows its text in a descendant (a link button's label, a form button's editable child), it sets that descendant. Many components render visible values from their own `data-*` attributes (a button's text from `data-label`, an accordion's question from `data-question`, an image's alt from `data-alt`), and the AI builder rebuilds those values from the attributes whenever it loads the page. So an edit keeps the two in step: changing a rendered value also sets the `data-*` attribute on the node or its component ancestors that held the old value, and setting a `data-*` attribute also sets the text and attributes beneath it that held the old value. Every value changed this way is listed in `synced`. When two `data-*` attributes on one component hold the same value, which one the text comes from cannot be told, so the edit is refused; set the attribute you mean together with its text, using `update` with both `attributes` and `components`. Values an attribute stores as a list (pricing features, breadcrumb items, tabs, social links) are not matched: change those by setting the attribute with `update`. Setting a `ub-pricing-card`'s `data-features` rewrites the items of its own `ul.ub-pricing-card__features` (one `li.ub-pricing-card__feature` per `\|`-separated entry, the entry being its markup, as in the editor), listed once in `synced`; the old value is not matched elsewhere. A card with no such container is left as it is and named in `warnings`. Setting a `ub-form-button`'s `data-label` also sets its `text`, which is what the published page shows, and its `aria-label`; removing it clears both. An `insert` gets the same treatment, and `warnings` also names an inserted component of a type with `data-*` traits whose children carry none of the classes its catalog default children carry, which the AI builder cannot update from its traits. Warnings do not stop the edit. - `update_style { target, style }` — merge CSS into the component's own `#id` style rule; a component without an attributes.id is given one, reported in `generated_ids`. Set colours and fonts with the style guide's `var(--…)` variables: a literal colour is for a one-off accent only, and a literal font family is never right. - `reorder { target, to, at? }` — move a component under `to` at position `at`. - `set_theme { theme }` — set the page's theme: brand colours, fonts and other style-guide variables for the whole page, as the AI builder's theme panel sets them (it shows each as Custom). `theme` maps variables from get_ai_builder_catalog's `style_guide.themeable` to values and is merged over the page's current theme; every component styled with `var(--…)` follows. Setting a palette's base colour (`--brand`, `--ub-color-secondary`, `--ub-color-accent`, `--ub-color-text`, `--ub-success`, `--ub-warning`, `--ub-danger`) as a `#` hex also sets its five-step series and moves the colours that still follow it (buttons, links, form focus), as the AI builder does, unless the batch sets those itself; these are listed in `theme_derived`. Give a palette colour as `#` hex or `rgb()`: any other form (a colour name, `hsl()`) is written but moves nothing, and `theme_warnings` says so. A `null` value undoes a theme value: the variable goes back to its style-guide default (a palette colour's series and followers move back with it), and get_ai_builder_document's `theme` no longer lists it. A font variable takes a Google Fonts family from the AI builder's catalogue (or a generic or system family), and its web font is declared for loading. An unknown variable or family is refused (`invalid-theme`). Use it, not literal values, to change a brand colour or font. Components are objects, never HTML strings; use get_ai_builder_catalog for valid types and style variables. The edited document is validated against the client's catalog and style guide before anything is written (`limits` names what that check does not cover). An event-handler attribute (`on*`) or `javascript:` URL the batch adds is refused; one the page already carried is left alone. To run code, use set_ai_builder_custom_code. Custom-code slot content the page did not already have is refused; an edit keeps the slots the page already had, unchanged. A script component is not a slot and is still accepted. Then the page as it was is saved as a restore point in the variant's version history (`snapshot_version_id`), and the edit is saved against the version you read. `version_id` is required: pass the one get_ai_builder_document returned with the document you planned the operations against. If the variant has been saved since — in the Unbounce AI builder or by another call — the edit fails as a `conflict` and nothing is written, because paths and replacements from your read may no longer mean what you intended. Re-read with get_ai_builder_document, re-plan against what is there now, and retry with its `version_id`. A successful edit returns the new `version_id`, so a further edit can follow without re-reading. `variant` is the variant letter and defaults to `a`. The page stays editable in the Unbounce AI builder; the Classic HTML tools do not apply to it. This does not publish the page. |
| `UNBOUNCE_MCP_GET_ACCOUNT_PLAN` | Get account plan | Return an Unbounce account's plan (name, billing interval) and subscription (renewal date, price with currency). Defaults to the authenticated user's primary account; pass `accountUuid` (from list_accounts_and_clients) to target a specific accessible account. `plan` and `subscription` come back null when your role can't see billing details — visible only to an Account Owner or Administrator, null for Authors and Viewers. That's a normal result, not an error. `builders` says whether the plan includes AI Builder (`ai_builder`) and the Classic Builder (`classic`): true, false, or null when it could not be read. Every role can read it; it is the same block list_accounts_and_clients returns per account. |
| `UNBOUNCE_MCP_GET_AI_BUILDER_CATALOG` | Get ai builder catalog | Return what you need before authoring an AI Builder page: the component types you may use, and the client's resolved style guide. Call it first — the catalog is versioned and owned by the AI Builder team, so authoring against a remembered list eventually emits components that no longer exist. `components` is a projection — `type`, `name`, `category`, `description` — because the full catalog runs to hundreds of kilobytes and choosing a component needs none of it. Then call again with `component_types` for the definition (traits, defaults, default children) of the ones you intend to use. That call returns `component_details` alone, without the list or the style guide you already have. Details are capped at a size a client can take in one result: any requested type that did not fit is named in `deferred_component_types` — call again with those. A component's own CSS is left out unless `include_styles` is true, and its runtime script and icons always are: the editor adds all three to the page itself. Unpaginated: the catalog is a small fixed set, returned whole (`component_count` says how many), like list_page_variants — there is no `next_after` to follow. Many components rebuild their visible text from their own `data-*` traits each time the AI builder loads the page: `ub-button` and `ub-link-button` from `data-label`, `ub-stat-item` from `data-value` and `data-label`, `ub-accordion-item` from `data-question` and `data-answer`, `ub-testimonial-card` from `data-quote`, `data-author` and `data-role`, `ub-pricing-card` from `data-plan` and `data-price`, and the form fields from `data-label` and `data-placeholder`. Set the trait AND write children that say exactly the same thing: the builder's rebuild then changes nothing, and the published page, which shows the stored children, carries the content. Never write children that disagree with the trait. Give the children the structure and classes of the type's default children in `component_details` (a `ub-stat-item`'s `span.ub-stat-item__value` and `span.ub-stat-item__label`): the builder finds them by those classes, and the write tools warn about children that carry none of them. Two exceptions: `ub-form-button` takes `data-label` and no children, or its label renders twice (the write tools set its `text`, which is what publishes, from `data-label`); and a list-encoded trait (`data-features` on `ub-pricing-card`, `data-links` on a navbar or footer) holds every item in one value, so its children render one item each, never the whole trait string, and an item is changed by setting the whole trait with `update`. For `data-features` the write tools build the items of the card's `ul.ub-pricing-card__features` from the trait, so write that container; each entry is published as markup and may hold only text and the inline formatting elements b, i, em, strong, u, s, small, sub, sup, mark, code, br and span, with no attributes; anything else (a link, an image, an attribute) refuses the write. `style_guide` carries the client's brand as CSS custom properties (`variables`) plus the `style_guide_id` to pin at page creation, and `resolved_from` saying whether it came from the client, the account, or Unbounce's default. **Author within these variables rather than hard-coding colours and fonts** — inline values survive neither a rebrand nor the theme editor in the Unbounce AI builder. `themeable` names the variables a page theme can set (each one's style-guide default is its value in `variables`): when the user names brand colours or fonts, set them through create_ai_builder_page's `theme` or edit_ai_builder_page's `set_theme`, never as literal values. A literal colour is for a one-off accent only; never write a literal font family. An account whose plan lacks AI Builder (`builders.ai_builder` false in list_accounts_and_clients) is refused before anything is read, naming create_page_from_html as the route to take instead. Every account that can use AI Builder gets the full catalog and a style guide — Unbounce's default when the account has configured none. If the style-guide read fails, `style_guide` comes back `null` with `style_guide_unavailable` naming the HTTP status while the components are fine. You can still author without it; the page just won't match the account's brand. A 5xx there may be transient, so retrying the call is reasonable. |
| `UNBOUNCE_MCP_GET_AI_BUILDER_DOCUMENT` | Get ai builder document | Return the current editor document of an AI Builder page's variant, by `page_uuid` (from list_client_pages with `builder: "ai_builder"`) and the numeric `context` (the owning client's id). The document is the page itself: a component tree plus its style rules, the same representation the Unbounce AI builder reads and writes. `variant` is the variant letter and defaults to `a`; list_page_variants names a page's variants. The result also carries `version_id` — the version the document was read from. A later write should send it back so the save is refused if someone edited the page in the meantime, rather than silently overwriting their work. It is absent when the variant has never been saved, and can be absent if the backend stops exposing it, so treat its absence as 'cannot take part in the conflict check', never as a reason to skip the read. `updated_at` rides alongside it, so you can say how stale a copy is rather than only whether it is stale. `custom_code` is the variant's three custom-code slots (`head`, `before_body_end`, `after_body_tag`), read from the stored document in either view, so a paged components view cannot hide them. Write them with set_ai_builder_custom_code; pass a slot back to leave it unchanged. `view` defaults to `components`: the document without the editor's own bookkeeping — the style guide's data source, the `:root` rule binding its variables, the copies of each component's catalog CSS, the editor's interaction flags (`removable`, `draggable`, `selectable` and the like; `locked` is kept), `data-ub-type` attributes that repeat a node's `type`, and the drawing inside each `svg` node — most of a saved document and none of it authored. `omitted` counts what was left out. Both views carry `theme`: the theme values the page overrides, the ones the AI builder's theme panel shows as Custom, each style-guide variable mapped to `{ value, default }` — the value it renders and the style guide's default it replaces. A variable at its default is not listed; its value is the style guide's (`style_guide` in get_ai_builder_catalog). Change it with edit_ai_builder_page's `set_theme`, not by editing `dataSources` or the `:root` rule. It is empty for a page that overrides no theme value. The components view is paged by **section** (the components directly under a page's root, such as a navbar, a hero or a footer) so a result stays a size a client can take. Sections not in this page are stubs with `omitted_section: true` and their `type` and id, never removed, so every path is the same as in the full document. `total` is the number of sections and `sections` the range returned in full; when `next_after` is present, pass it as `after` for the next sections, and stop when it is absent. To read one section, pass its index as `after` with `first: 1`. Pass `view: "full"` for the document exactly as stored, unpaged; it can run to hundreds of kilobytes. edit_ai_builder_page reads the whole document itself, so edits planned against either view behave the same; style-variable names are in get_ai_builder_catalog. The result carries `conversion_goals` on a full view and on the first page of a components view (no `after`, or `after: 0`): the variant's stored `active` goals (`pages[0].settings.activeGoals`) and the `candidates` a set_conversion_goals call can enable, each flagged `active`. The block is the whole page, not one section. A later page omits it and does not read the component catalog. This is the AI Builder counterpart of get_variant, which reads Classic pages and does not work here — the two builders store pages in entirely different ways. |
| `UNBOUNCE_MCP_GET_AI_BUILDER_RENDER` | Get ai builder render | Check what an AI Builder page's variant actually renders to, by `page_uuid` (from list_client_pages with `builder: "ai_builder"`) and the numeric `context` (the owning client's id). `variant` is the variant letter and defaults to `a`. Read-only: it renders the variant's **current saved version** — what create_ai_builder_page or edit_ai_builder_page last wrote, published or not — and changes nothing. It does not publish and does not save a version. It is not the live page: on a published page saved since its last publish, it renders the newer save, which visitors do not see until the page is published again. Use it after a create or edit, whose validator cannot say whether a document renders. `renders` is `true` when the page rendered, with its `title`, its h1–h3 `headings`, its visible `text` and an `html_excerpt` of the body markup (scripts and styles removed; `stripped` counts what was taken out). The result is capped at 40,000 characters: `truncated` says something was cut to fit (`text_truncated` and `headings_truncated` say which besides the excerpt), and `html_chars_total` is the excerpt's full length. Placeholders such as `{UB:PAGE_ID}` are filled in only when the page is published. `renders: false` with a `reason` means the backend could not render the variant. It does not say why: the cause may be the page — a broken document, or a linked style guide with no published version — or a passing backend fault. Retry once; if it still fails, check the document with get_ai_builder_document, fix it with edit_ai_builder_page and check again. A variant that has never been saved is an error (`not-saved`), not a failed render. There is no screenshot and no preview link: this checks the markup and text, not the look. |
| `UNBOUNCE_MCP_GET_LAYOUT_HINTS` | Get layout hints | Analyze an MCP-managed variant's rendered layout into a structural skeleton — top-to-bottom sections, each with `rows` of element ids clustered left-to-right — for rewriting an absolutely-positioned page as responsive HTML (flex/grid). Identify the variant by page_uuid (from list_client_pages) and letter (from list_page_variants); use the rows as the flex/grid skeleton instead of translating absolute coordinates. Also returns per-element geometry, `cross_section_overlays` (elements whose vertical span crosses into later sections — reserve their column in every section they span, or that section's content hides behind them), and `design_width` (the fixed canvas width content is pinned to). It includes fidelity signals measured from the rendered page — treat these as ground truth, never re-derive or assume them: `page_defaults` (body text color, background, and typography — the baseline everything else deltas against), per-section `background_color`/`background_image` (with natural size, so a decorative accent reads differently from a full-bleed cover), per-element `color`/`typography` (measured on the element's dominant text node, so it describes what actually renders rather than the container's inherited defaults; both are omitted when an element paints no text of its own), plus `text_colors` (multi-color text), `secondary_typography` (a second distinct type style, e.g. heading + body copy), `text_excerpt`/`text_length`, `images` (exact src, natural and rendered size), `links` (exact href), `row_stats` (columns, alignment, vertical gaps), `content_extent` (natural content-column width), `palette` (every color on the page with usage counts — authored CSS should introduce no color outside it), `loaded_fonts`, and `hidden_elements` (present in the source but not rendered — preserve, don't surface). Meaningful only for variants imported from an existing Unbounce page via create_variant_from_existing_variant, which carry an absolutely-positioned tree; a variant authored as responsive HTML returns an empty structure. Pages built in the Unbounce builder aren't analyzable directly — import them first. Rendering takes a few seconds. |
| `UNBOUNCE_MCP_GET_PAGE_STATS` | Get page stats | Return a page's A/B stats — page-level totals plus a per-variant breakdown of `visits`, `visitors`, `conversions`, and `conversion_rate` — by `page_uuid` (from list_client_pages). Also includes each variant's `conversion_rate_delta` and statistical `confidence`. Numbers are all-time cumulative since the last reset by default (see reset_page_stats); pass `start_date`/`end_date` (RFC 3339 UTC timestamps) to narrow to a period. `visits` sum exactly across adjacent windows, but `visitors`/`conversions` are visitor-deduplicated and attributed to the period where first counted, so a narrow window can show fewer than the events inside it; no window reaches data zeroed by a reset. `conversions` counts conversion-goal hits deduplicated per visitor — NOT the number of form submissions (the two totals legitimately differ). Every variant comes back in one response (no paging), and `last_reset_at` is the last reset's timestamp, or null if never reset. Errors if the page isn't found or accessible. Works the same for pages from any builder. A page with no traffic recorded yet has no per-variant breakdown: `variants` is then empty and a `variants_unavailable` note says so. |
| `UNBOUNCE_MCP_GET_VARIANT` | Get variant | Read an MCP-managed variant's current draft content — body HTML, CSS, and JavaScript — so you can inspect it or edit it and re-submit with update_variant_from_html. Identify the variant by page_uuid (from list_client_pages) and letter (a/b/c, from list_page_variants). This is a read: nothing on the page or in the account changes. Returns the editable source as html_ref / css_refs references plus a `scripts` array (one entry per custom-JavaScript element: a `ref` to an editable .js file, an external `src` include, or verbatim `tag` markup) — pass them straight back to update_variant_from_html. The references point at a private, auto-expiring copy of the draft that exists only to carry the result (the same upload:// form the upload tool returns), so the bytes never pass through this conversation. This is DRAFT (editor) content, which may differ from what's published if the variant has unpublished changes. Also returns the variant's conversion_goals (the configured goal set plus candidates) and its metadata (SEO title/description/keywords, robots noindex, favicon, Open Graph — settable via set_page_metadata). The source refs are streams and do NOT render individually in a browser — for a local preview, use the also-returned preview_ref: a standalone preview.html composed for viewing (fetch it with download or download_inband). preview.html is view-only; never submit it back as html_ref. Source is returned for MCP-managed variants only — for a variant hand-built in the Unbounce builder the result degrades to is_mcp_managed:false with its conversion_goals and metadata (both readable for any variant), an autoscale flag (true when the Classic page scales a fixed-width design to the viewport rather than reflowing per breakpoint), and no source refs. |
| `UNBOUNCE_MCP_LIST_ACCOUNTS_AND_CLIENTS` | List accounts and clients | Return the Unbounce accounts the authenticated user can access, each with its clients. Each account carries `builders`: whether its plan includes AI Builder (`ai_builder`) and the Classic Builder (`classic`), each true, false, or null when it could not be read. Choose the route for a new page from it: AI Builder (get_ai_builder_catalog, create_ai_builder_page) unless `ai_builder` is false, Classic HTML (create_page_from_html) when it is. Both false means the plan includes neither of these builders, so neither create tool can make a page. Calls the Unbounce API on the caller's behalf. |
| `UNBOUNCE_MCP_LIST_ASSETS` | List assets | Return a client's asset library — uploaded images and files — by the client's numeric `context` (from list_page_variants' `page.context`, or a clientId). Each asset carries its numeric `id`, `uuid`, `name`, `content_type`, `file_size`, and a servable `cdn_url`. Drop a `cdn_url` straight into the HTML/CSS passed to create_page_from_html / create_variant_from_html / update_variant_from_html to reuse that asset without uploading a duplicate (external URLs pass through untouched). Returns metadata and URLs only, never the file bytes. Listing appears to require an author role on the client — a client you can list pages for may still be denied here (HTTP 403). Paginated by `after`, but not the standard first/total contract: this backend returns a bare array with a fixed page size and no total count. Omit `after` for the first page; if the response includes `next_after`, pass it back as `after` for the next page, and keep going until `next_after` is absent. |
| `UNBOUNCE_MCP_LIST_CLIENT_DOMAINS` | List client domains | List the custom domains a client owns, by `client_uuid` (from list_accounts_and_clients). Returns `{ domains: [{ name, state, is_default, certificate_status }], total }`. `name` is the domain string a page can be published on (see set_page_url); `state` is `ok`, `moving`, or `move_error`; `is_default` marks the account's default domain; `certificate_status` is SSL readiness (`ok` means the domain serves HTTPS). The list is complete (unpaginated); an empty list means the client has no domains, not an error. |
| `UNBOUNCE_MCP_LIST_CLIENT_PAGES` | List client pages | Return a client's landing pages, by `client_uuid` (from list_accounts_and_clients), with optional server-side filters and sort. Each page carries its `pageUuid` (feed to list_page_variants), numeric `pageId`, `name`, `url`, `state`, an unpublished-changes flag, last-published timestamp, `routing_strategy` (`smart_traffic` / `weighted` / `single` — the authoritative traffic mode; omitted if unset), and `routing_config` naming the variant letters in play for that mode (the allocation letters for smart_traffic; `champion` + `weights` for weighted; the serving `variant` for single). For a page's variants and their traffic split, call list_page_variants with the `pageUuid` — a per-page variant count isn't returned here because the platform's own count is unreliable for pages under an A/B test. Paginated: `total` is the full post-filter count, and `next_after` (when present) is the offset to pass as `after` for the next page; page until it's absent. Under the default `classic` scope, an empty list means no matching pages, not an error. `builder` selects which builders to list — `classic` (the default), `ai_builder`, or `any` for both. Only Classic can be filtered upstream, so the other two scopes are narrowed by this server after fetching, which changes the paging contract: **`total` is absent** for them (the upstream count covers the wider, unnarrowed set and would overstate what came back), and `next_after` becomes a full-slice heuristic — present whenever the upstream returned a full page, meaning more *may* remain. Page until it is absent. Under `ai_builder` or `any`, an empty slice that still carries `next_after` means keep paging — that slice held none of the requested builder; an empty slice with no `next_after` means no matching pages, not an error. Each of those pages also carries `builder`. Smart Builder pages are never listed under any scope: no tool here can act on one. |
| `UNBOUNCE_MCP_LIST_PAGE_GROUPS` | List page groups | List the page groups (named folders for organizing pages) a client uses, by `client_uuid` (from list_accounts_and_clients). Returns `{ groups: [{ group_uuid, group_id, name, page_count }], total }`. Use `group_uuid` with manage_page_group and delete_page_group. The list is complete (unpaginated); an empty list means the client has no custom groups. The UI's "All Pages" view is not a real group and is never listed. |
| `UNBOUNCE_MCP_LIST_PAGE_VARIANTS` | List page variants | Return a page's variants (by `page_uuid` from list_client_pages), ordered champion, then other active variants, then discarded. Works on Classic Builder landing pages (not AMP) and AI Builder pages; anything else — AMP, Smart Builder, popups, sticky bars — is refused, as no tool here can act on one, and the error names the type it actually got. On an **AI Builder** page, `variant_id` and `preview_url` are **absent**: the platform reports the numeric id as `0` for every variant of such a page, so it identifies nothing and the preview link it builds cannot work. To check what an AI Builder variant renders to, use get_ai_builder_render with its `letter`. Identify those variants by `letter`, and note the page-editing tools that take a `variant_id` are Classic-only regardless. Their `standing` comes from the page's traffic settings (a variant in `routing_config` is live, one outside it is discarded), because the platform reports every AI Builder variant's `state` as `testing`. So a variant you just created reads as `discarded` until it is given traffic (set_variant_standing to `challenger`, or set_traffic), as it does in the Unbounce app. Each variant carries its numeric `variant_id` (Classic only — see above; the id the page-editing tools take), its `letter` (a/b/c label), name, its stored SEO `title` and `description` (metadata is per-variant and unsynced, so divergence shows here at a glance — set with set_page_metadata, full set via get_variant), its `standing` (champion/challenger/discarded — the same vocabulary set_variant_standing takes, so you can round-trip without translating), the raw platform `state` (testing/paused/untested/discarded), traffic `weight`, `is_champion`, `has_conversion_goal` (whether the platform counts anything as a conversion on it — get_variant returns the goal definitions themselves), and a `preview_url`. The `page` block includes `context` (the owning client's numeric id the page-editing tools require) and `routing_strategy` (`smart_traffic` / `weighted` / `single`), the authoritative traffic mode: under `smart_traffic` the platform allocates dynamically, so a variant's `weight` is the stored split, NOT the live allocation — do not infer an A/B test from weights alone. `routing_config` names the variants in play for that mode (the letters in the Smart Traffic allocation; the `champion` + per-variant `weights` for a weighted test; the serving `variant` for single). `routing_strategy` and `routing_config` are both omitted when the page has no routing strategy set. `preview_url` opens that variant's staged rendering in the Unbounce app for a human to review (not edit) — it requires the viewer's own Unbounce session, so it is NOT a public URL and cannot be fetched or screenshotted by the agent. `include_discarded` defaults to true; set false to return only the live set (`discarded_count` is reported either way). Errors if the page isn't found/accessible, or isn't a landing page. |
| `UNBOUNCE_MCP_MANAGE_PAGE_GROUP` | Manage page group | Create, rename, or change the membership of a client's page groups — named folders for organizing pages. Pick an `action`: `create` (needs `client_uuid` + `name`), `rename` (needs `group_uuid` + `name`), `add_pages` or `remove_pages` (needs `group_uuid` + `page_uuids`, and `remove_pages` leaves the pages themselves untouched). Discover ids with list_accounts_and_clients, list_page_groups, and list_client_pages. Groups are pure organization — changes take effect immediately, no publish step — and a page can belong to several groups at once (add_pages is additive, not a move); to delete a group entirely, use delete_page_group. `create` is a get-or-create: the backend enforces no name uniqueness, so a same-named group already existing is returned instead of duplicated (`already_existed: true`). `add_pages`/`remove_pages` report any `skipped` page_uuids the backend couldn't resolve (not found, not accessible, or not a Classic/CCP page) without failing the rest. Group names are capped at 20 characters and can't be blank. Returns `{ ok: true, … }` on success or `{ ok: false, code, reason, remedy }`. |
| `UNBOUNCE_MCP_MANAGE_PAGE_REDIRECT` | Manage page redirect | Set or clear a page's redirect (by `page_uuid` from list_client_pages). A redirect forwards visitors from the page's own URL to another URL — the page stops serving its content, so this is how you retire or forward a published page without deleting it. Pass an absolute `redirect_url` to forward visitors there, replacing any existing redirect, with an optional `status_code` (301 permanent, the default — for retiring/replacing a page for good, so search engines transfer the old URL's ranking to the target; 302 temporary — the original URL keeps its equity). Pass `redirect_url: null` to clear the redirect so the page serves its own content again. Applies IMMEDIATELY — no publish step — and is reversible. This does NOT preserve a page's old URL after set_page_url: a redirect attaches to a page at its current URL and points away, so it can't resurrect an already-orphaned URL. Returns `{ ok: true, page_uuid, ... }`. |
| `UNBOUNCE_MCP_PUBLISH_PAGE` | Publish page | Publish a Classic landing page or an AI Builder page (by `page_uuid` from list_client_pages), making its current draft state the served version. Publishing is the commit step: content and traffic/routing changes made by other tools stage as draft and only take effect once the page is (re)published. The publish is asynchronous — this tool polls briefly and reports `done:true` with `state:"published"` once the page settles, or `done:false` with the in-progress state and a note to re-check later. Publishing deletes nothing: the draft stays editable afterwards, repeated publishes settle to the same `published` state, and unpublish_page takes the page offline again. An AI Builder page is checked before anything is published: it must have at least one variant in its traffic routing, and every such variant must have saved content. A page that fails either check is refused with an error naming the cause and the variants concerned, and is left untouched. If the check itself cannot be completed, the publish is not sent. Errors if the page isn't found, is neither a Classic landing page nor an AI Builder page, or can't be published. |
| `UNBOUNCE_MCP_RECIPES` | Recipes | List common tasks you can accomplish with Unbounce MCP, each with an example prompt to ask for it. Takes no input. Returns `{ recipes: [{ title, prompts }], total, presentation }` — use it to discover capabilities and how to phrase a request. Present the result to the user as a list or table of title + full prompt(s) verbatim — never summarize, paraphrase, or truncate the prompts (see the returned `presentation` directive). |
| `UNBOUNCE_MCP_RESET_PAGE_STATS` | Reset page stats | Zero ALL of an Unbounce page's A/B stats — every variant at once — by `page_uuid` (from list_client_pages). This is page-wide and IRREVERSIBLE, and it takes effect LIVE and IMMEDIATELY: there is no draft/publish step to undo it, and the visit/conversion history every variant decision rests on is gone the moment this returns. It starts a fresh measurement window. Call get_page_stats first if you want a fuller record. The response includes `wiped`, a best-effort snapshot of the totals just before the reset (as of the last stats aggregation, so it may omit the most recent traffic) — it is the only record you will have otherwise. On a page with no traffic recorded yet there is no per-variant breakdown, so `wiped.variants` is empty and a `variants_unavailable` note says so. Returns `{ ok: true, … }` on success, or `{ ok: false, code, reason, remedy }` so you can correct and retry. |
| `UNBOUNCE_MCP_SET_AI_BUILDER_CUSTOM_CODE` | Set ai builder custom code | Set the custom-code slots of an AI Builder page's variant — the three fields Page Settings calls Custom HTML. This is the sanctioned place for a deliberate script (a countdown, a tag manager, a third-party embed). Do not put that code in the document passed to create_ai_builder_page or edit_ai_builder_page. Create rejects the slot holders (custom-html-body, custom-html-after-body) and the customCodeHead / customCodeBody settings. Edit rejects slot content the page did not already have and keeps the slots the page already had. Pass only the slots to change. An omitted slot is left as it is; null or an empty string clears that slot. - `head` — inside `` (customCodeHead). Verification meta tags, early styles. - `after_body_tag` — immediately after ``. A script that must run before the page, such as a tag manager. - `before_body_end` — immediately before `` (customCodeBody). A script that needs the DOM, such as a countdown or an embed. A `` is stored with that src and run by the browser on the published page. This call does not fetch the URL. The account must have one of pageScripts, pageStylesheets or customHtmlElements — the same gate Page Settings uses to unlock these fields. Without it the call is refused and names the gate. A gate that cannot be read is refused too. `variant` defaults to `a`. Each variant has its own slots. The write is saved against the version just read, after a restore point (`snapshot_version_id`). The result's `custom_code` is the three slots as stored, and get_ai_builder_document returns the same object. Staged until publish_page. |
| `UNBOUNCE_MCP_SET_CONVERSION_GOALS` | Set conversion goals | Declare which parts of a Classic or AI Builder page count as conversion goals: the form submission and/or clicks on chosen links (http(s), tel:, and on an AI Builder page a lightbox). Takes the COMPLETE desired set and converges every active variant onto it. The form posts as a goal (/fsg) or non-goal (/fsn — the lead is still captured, just not counted). An unmatched URL is rejected with the real candidates echoed back. On a Classic MCP-managed page, chosen links are rewritten to the platform's goal-click tracking and the stored goal list is updated. A URL must exactly match an anchor href (candidates are listed by create_page_from_html / create_variant_from_html / update_variant_from_html / get_variant). Discarded and builder-built variants are left alone. Link and phone goals ARE tracked, but they do NOT appear in the Classic builder's Conversion Goals panel — that panel lists only builder-native elements. Manage those goals here. On an AI Builder page the same call writes pages[0].settings.activeGoals on every active variant (the ones in the routing config). builder-api stamps data-goal from that list when the page is published, which is what counts the form and the clicks. A URL matches a candidate from get_ai_builder_document's conversion_goals block (the first page of a components view, or any full view); a trailing slash is ignored. A goal already stored that matches no candidate is kept and named in goals_kept, so a goal this walk cannot see is not dropped. These goals DO show in the Unbounce AI builder's Goals panel, and a save there keeps a goal whose element is still on the page. A variant whose stored goals already match is not saved, and its version_id does not move (variants_updated marks it unchanged). A variant that changes gets a new version_id — pass that to the next edit_ai_builder_page. Page-scoped: every active variant gets the same goal set, so A/B conversion rates stay comparable. Changes are STAGED in draft — publish the page (publish_page) to make them live. |
| `UNBOUNCE_MCP_SET_PAGE_METADATA` | Set page metadata | Set a page's SEO head fields and Open Graph (social-card) data: the ``, meta description, robots noindex, favicon, and og:* tags. Works on Classic and AI Builder pages. PARTIAL update: only the fields you pass change, `null` clears a field, omitted fields keep their value. Applies to ALL active variants by default — variants share one URL, so divergent metadata makes search snippets and social previews nondeterministic — pass `letter` to target one variant instead. `favicon` takes an `upload://` reference or an existing asset id/uuid (from list_assets); `open_graph.image` takes an absolute URL or an `upload://` reference (uploaded as a client asset; 1200×630 is the social-card convention). `title`/`description`/`keywords` accept Dynamic Text Replacement (``) tags on a Classic page — ask the user first. `keywords` is legacy (ignored by search engines since 2009) — usually leave it unset. Changes are STAGED in draft: a published page keeps its old metadata until publish_page. On a Classic page, MCP-managed variants only (builder-built variants are skipped); read the result back via get_variant. On an AI Builder page the values are the page's settings (`pages[0].settings` of each variant's editor document, read back via get_ai_builder_document), every active variant is written, and each write creates a new version: the result lists each variant's new `version_id` for edit_ai_builder_page. There `open_graph.type` is always `website` and `open_graph.url` has no slot, and `` is not rendered in the head — those come back as `warnings`, never silently dropped. The result echoes the applied metadata. |
| `UNBOUNCE_MCP_SET_PAGE_URL` | Set page url | Set an Unbounce page's published URL — domain + path — by `page_uuid` from list_client_pages. `path` (required) is the new slug; `domain` (optional) defaults to the page's current domain, so you can change just the slug or move the page to another of the client's domains (from list_client_domains). The change applies immediately and puts the page into a `urlchange` state rather than staging as a normal draft edit, so you must (re)publish the page (publish_page) for it to serve at the new URL. Changing a published page's URL orphans the old one — existing links to it break. Returns `{ ok: true, url, domain, path, state, note }` on success; errors if the page isn't found or the URL is rejected (e.g. the path is already taken on that domain). |
| `UNBOUNCE_MCP_SET_TRAFFIC` | Set traffic | Stage how an Unbounce page splits visitors across its variants, by `page_uuid` from list_client_pages. Variant identifiers are letters (a/b/c) from list_page_variants. Choose a `strategy`: `single` (one variant serves all traffic — pass `champion`), `weighted` (fixed per-variant shares — pass `weights`, plus an optional `champion`), or `dta` (Smart Traffic dynamically allocates traffic — optionally pass `variants` to scope which take part). The change is STAGED in the page's draft and only goes live when the page is (re)published (publish_page). `weighted` (A/B testing) and `dta` (Smart Traffic) are paid features: if the account isn't entitled, the call is rejected up front before anything is staged — check the plan with get_account_plan, or use `single` to serve one variant. Returns `{ ok: true, … }` with the staged state on success, or `{ ok: false, code, reason, remedy }` so you can correct the inputs and retry. |
| `UNBOUNCE_MCP_SET_VARIANT_NAME` | Set variant name | Rename one of an Unbounce page's variants, by `page_uuid` from list_client_pages and the variant `letter` a/b/c from list_page_variants. A variant's name is editor metadata, not page content, so the rename applies immediately — no publish_page step is needed and visitors are unaffected. Returns `{ ok: true, … }` with the new name on success, or `{ ok: false, code, reason, remedy }` so you can correct the inputs and retry. |
| `UNBOUNCE_MCP_SET_VARIANT_STANDING` | Set variant standing | Move one of an Unbounce page's variants through the A/B-test lifecycle, by `page_uuid` from list_client_pages and the variant `letter` a/b/c from list_page_variants. Choose a `standing`: `champion` (make this variant the page's baseline), `discarded` (pull a challenger out of the test — reversible, not a delete), or `challenger` (bring a discarded variant back into the test). This is the same `standing` list_page_variants reports for each variant, so you can read a variant's current standing there and pass the target one here without translating. The change is STAGED in the page's draft and only goes live when the page is (re)published (publish_page). Returns `{ ok: true, … }` with the staged state on success, or `{ ok: false, code, reason, remedy }` so you can correct the inputs and retry. Works on Classic and AI Builder pages. On an AI Builder page, promoting the current champion or a discarded variant is rejected (`set-variant-standing.upstream-validation`) — a variant listed as a challenger there may be discarded, so set it to `challenger` first, then promote it. Asking for `challenger` on a variant already in the test (an active challenger, or the champion, which stays champion) changes nothing and returns ok; to replace the champion, promote another variant. |
| `UNBOUNCE_MCP_SUBMIT_FEEDBACK` | Submit feedback | Record feedback about the Unbounce MCP tools — a bug, praise, a feature request, confusion, or other — to the team's feedback store, without copy/paste. Use the mcp-feedback skill to drive this: it composes the record, redacts secrets, and shows you the exact content for an explicit yes before calling this tool. The server re-scrubs secrets and stamps identity, time, and build itself; only `type` and `message` travel through the conversation. Returns the stored feedback id and how many secrets were redacted. |
| `UNBOUNCE_MCP_UNPUBLISH_PAGE` | Unpublish page | Unpublish a Classic landing page or an AI Builder page, by `page_uuid` from list_client_pages, taking it offline so its URL stops serving. The unpublish is asynchronous: the tool polls briefly and reports `done:true` with `state:"unpublished"` once the page settles, or `done:false` with the in-progress state and a note to re-check. Errors if the page isn't found, is neither a Classic landing page nor an AI Builder page, or isn't currently published. |
| `UNBOUNCE_MCP_UPDATE_VARIANT_FROM_HTML` | Update variant from html | Full-replace an existing MCP-managed variant's body (`page_uuid` from list_client_pages, variant `letter` a/b/c from list_page_variants) with already-uploaded HTML/CSS/JS: pass the `upload://` references from `upload` as `html_ref` (body-content HTML), optional `css_refs` (stylesheet), and optional `scripts` (custom-JavaScript elements). The HTML and CSS are a TRUE FULL REPLACE — CSS not passed on this call is REMOVED, so send every stylesheet you want the variant to keep, every time. JavaScript is different: OMIT `scripts` and the variant's existing custom-JavaScript elements are kept as they are (reported back as `scripts_preserved`) — that protects scripts added outside these tools, such as an Unbounce popup. Pass `scripts` to state the complete desired set and replace them; whatever it drops comes back in `removed_scripts`. Entries in `removed_scripts` and `scripts_preserved` are themselves `scripts` entries — pass one back unchanged to restore that script (a plain include appears as `src`, with its `async`/`defer`; anything else, including an include carrying other attributes, as verbatim `tag`). Pass `scripts: []` to remove them all. Referenced images and fonts are rehosted as client-owned Unbounce assets and the markup rewritten to the CDN URLs (reuse an existing asset via its `cdn_url` from list_assets instead of uploading a duplicate — uploads are deduplicated against the client's library); external http(s) URLs are left untouched. A `` in the new HTML is automatically wired for lead capture; it must be well-formed — one `` with named fields and a submit button, no `pageId`/`pageVariant` fields, no `onsubmit`/`onclick` handlers — or the call fails listing every issue. Submission belongs to the Unbounce runtime: no script (inline or in `scripts`) may listen for `submit`, POST to `/fsg`/`/fsn`/`/fs` or the form's `action` itself, or assign to a `window.ub.hooks` array — the call rejects those too (a hand-rolled POST is flagged as spam; remote `src` includes are not inspected). A wired form shows a default "Thank you!" confirmation dialog on submit, so it's never a silent dead end; `.push` a callback onto `window.ub.hooks.afterFormSubmit` (in a `scripts` entry or an inline `` in the body HTML) to customize the post-submit experience — message, redirect, webhook mirror — or suppress the default dialog. Only MCP-managed variants can be updated this way — a variant hand-built in the Unbounce builder is refused (import it into an editable MCP copy first with create_variant_from_existing_variant, or author a fresh variant with create_variant_from_html); the reverse also holds, an MCP-managed variant cannot be edited in the Unbounce builder. The change is STAGED and only goes live when the page is (re)published (publish_page), so editing a live champion is safe. Head metadata tags in the HTML — ``, ``, `og:*`, `` — are lifted out and applied as this variant's metadata (reported under `head_metadata`, with a divergence warning when sibling variants exist — converge with set_page_metadata). Dynamic Text Replacement (``) is a paid feature: HTML containing it is rejected up front if the account isn't entitled (remove it, or check the plan with get_account_plan). File bytes are read server-side and never pass through this conversation. |
| `UNBOUNCE_MCP_UPLOAD` | Upload | Upload local files (html/css/js + assets) to your server-side workspace without sending their bytes through this conversation. Returns one temporary upload URL per file; run the printed `curl -T ''` for each (no auth header needed — auth is baked into the URL), so bytes go straight to storage, never through the model. Declare each file's exact byte size (`wc -c `); the size is enforced on upload. Pass the returned `upload_path` values (`upload:///`) to other tools — as html_ref for the HTML-authoring tools, or as an image/font reference inside authored HTML and bulk_edit_variants op values (rehosted to a client-owned CDN URL when applied). Each call creates a fresh upload folder, so refs are immutable snapshots — a later upload never changes what an existing ref points to. A relative reference written inside your HTML/CSS resolves only within the HTML's own folder: upload the HTML together with everything it references by relative path in ONE call, or write the full `upload://` ref in the markup instead. Can't run shell/curl? Use `upload_inband` instead. |
| `UNBOUNCE_MCP_UPLOAD_INBAND` | Upload inband | Upload text files (HTML/CSS/JS) to your server-side workspace by sending each file's content inline as a tool argument. Use this only if you cannot run shell/`curl` commands locally; if you can, prefer `upload`, which keeps bytes out of this conversation. Content rides through the conversation here, so keep files small and text-only — binary assets (images, fonts) are NOT supported: reference them by external http(s) URL instead, or reuse an existing asset's `cdn_url` from list_assets. Returns one `upload:///` reference per file, usable anywhere the references from `upload` are — html_ref / css_refs, and a `scripts` entry's `ref`, for create_page_from_html / create_variant_from_html / update_variant_from_html. Relative paths share one upload folder, so a file can reference a sibling by relative path — but ONLY a sibling from the same call: each call (to this tool or to `upload`) creates a fresh folder, so refs are immutable snapshots and cross-call files must be referenced by their full `upload://` ref, not a relative path. |
| `UNBOUNCE_MCP_VERSION` | Version | Return which build of the unbounce-mcp server is running: the git commit SHA (full and short) the deployed artifact was released from, and the environment (integration, production, or local). |
| `UNBOUNCE_MCP_WHOAMI` | Whoami | Return the authenticated Unbounce user (sub, id, email, first_name, last_name) by calling the Unbounce API on the caller's behalf. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, ChatGPT can access the Unbounce MCP server via Composio to run actions that you authorize, directly in your workspace.

## Complete Code

None listed.

## How to build Unbounce MCP Agent with another framework

- [Claude Cowork](https://composio.dev/toolkits/unbounce_mcp/framework/claude-cowork)

## Related Toolkits

- [Metaads](https://composio.dev/toolkits/metaads) - Metaads is Meta's official Ads API that lets you manage, analyze, and optimize your Facebook and Instagram ad campaigns. Streamline ad operations and gain deeper insights with robust automation.
- [AdMakeAI](https://composio.dev/toolkits/admakeai) - AdMakeAI is an advertising platform for brand research, creative generation, and Meta campaign workflows. It helps teams create and manage ad assets faster through one REST API.
- [AdMakeAI MCP](https://composio.dev/toolkits/admakeai_mcp) - AdMakeAI MCP is a hosted marketing service for researching competitor ads and creating ad content. It connects Meta ad uploads and analytics in one MCP server.
- [Adrapid](https://composio.dev/toolkits/adrapid) - Adrapid is a platform for rapid creation of digital marketing visuals using templates. It streamlines design workflows for banners, images, and HTML5 content with automation.
- [AdRoll](https://composio.dev/toolkits/adroll) - AdRoll is a digital marketing platform for managing advertising campaigns, audiences, and account-based marketing. It helps marketers retarget customers across channels and measure performance.
- [Adtraction](https://composio.dev/toolkits/adtraction) - Adtraction is an affiliate marketing platform for partner programs, tracking links, transactions, commissions, statistics, and payments. It helps advertisers and publishers manage performance marketing with clear reporting and payout workflows.
- [Adyntel](https://composio.dev/toolkits/adyntel) - Adyntel is an API that retrieves LinkedIn ads for any company using a domain or LinkedIn Page ID. Easily access competitive ad intelligence to power your marketing workflows.
- [Airbridge MCP](https://composio.dev/toolkits/airbridge_mcp) - Airbridge is a mobile measurement platform for attribution, user engagement, retention, and revenue analytics. It helps mobile teams understand campaign performance and improve app growth with trusted data.
- [Beaconstac](https://composio.dev/toolkits/beaconstac) - Beaconstac is a platform for creating and managing QR codes and proximity beacons. It helps businesses engage customers and track marketing performance with powerful analytics.
- [Bouncify](https://composio.dev/toolkits/bouncify) - Bouncify is an email verification service for single addresses and bulk lists. Use it to reduce bounces, protect sender reputation, and track verification credits.
- [Bulk Email Checker](https://composio.dev/toolkits/bulk_email_checker) - Bulk Email Checker is an email verification service for checking address validity, mailbox status, domains, and mail-server signals. It helps reduce bounces, spot risky emails, and keep outreach lists cleaner before you send.
- [Campaign cleaner](https://composio.dev/toolkits/campaign_cleaner) - Campaign cleaner is an email campaign optimization tool that boosts compatibility and deliverability across email clients. It helps marketers get better results by cleaning, enhancing, and ensuring high performance for every campaign.
- [Conqueror MCP](https://composio.dev/toolkits/conqueror_mcp) - Conqueror MCP is a hosted SEO and AI-search visibility research service. It brings keyword, backlink, analytics, and page-optimization data into one MCP connection.
- [Creatify MCP](https://composio.dev/toolkits/creatify_mcp) - Creatify MCP is a hosted Model Context Protocol server for Creatify's Ad Agent. It brings video ad creation and connected ad account workflows into AI tools.
- [Deadline funnel](https://composio.dev/toolkits/deadline_funnel) - Deadline Funnel lets you create personalized deadlines and timers for your marketing campaigns. It helps marketers boost conversions by adding authentic urgency to offers.
- [DeBounce](https://composio.dev/toolkits/debounce) - DeBounce is an email verification service for checking address validity, deliverability, and risk. It helps keep contact lists clean so your campaigns reach real inboxes.
- [Easy Email Verification](https://composio.dev/toolkits/easy_email_verification) - Easy Email Verification is an email validation service for checking single addresses and bulk lists. Use it to reduce bounces, clean contact data, and protect sender reputation.
- [Elastic Email](https://composio.dev/toolkits/elastic_email) - Elastic Email is an email delivery and marketing platform for transactional emails, campaigns, contacts, and reporting. Use it to send reliable emails, manage audiences, verify addresses, and track performance.
- [Fairing](https://composio.dev/toolkits/fairing) - Fairing is a post-purchase survey and attribution platform for ecommerce brands. It helps teams measure which marketing channels, campaigns, and customer touchpoints drive purchases.
- [GetResponse MCP](https://composio.dev/toolkits/getresponse_mcp) - GetResponse is an email marketing platform for newsletters, autoresponders, automation messages, templates, and contact data. It helps teams manage campaigns and measure engagement from one place.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Unbounce MCP?

With a standalone Unbounce MCP server, the agents and LLMs can only access a fixed set of Unbounce tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Unbounce and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with ChatGPT?

Yes, you can. ChatGPT fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Unbounce tools.

### Can I manage the permissions and scopes for Unbounce while using Tool Router?

Yes, absolutely. You can configure which Unbounce scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Unbounce data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
