Draft content through MCP
MCP lets an AI client read project content and prepare drafts in Flowtomate. The connection is limited to the selected project and granted permissions. Access to your website and browser is separate.
This guide covers MCP access for projects in the Russian Flowtomate environment. Use the connection details from the account that owns your project.
Connect and create a first draft
In ChatGPT, first check whether the current mode supports adding a custom MCP connection. Connecting to MCP and using a browser are separate capabilities; do not assume every mode provides both.
- In a client that supports MCP, add your Flowtomate environment's address:
https://api.flowtomate.ru/mcp. For an agreed staging test, usehttps://api.staging.flowtomate.ru/mcp. - Complete OAuth sign-in on the Flowtomate page, then select the project, permissions and access lifetime. The default is 30 days; you can choose “No expiration”. Draft preparation needs read and write access for the relevant content type; publishing and deletion are not needed.
- Ask the agent to retrieve
get_onboarding_playbook, check the selected project and prepare a draft. Provide the user's task, benefit and product page. - Open the returned editor link. Sign in to Flowtomate as a user with access to the project. The link selects an accessible project; it grants no new permissions.
The ChatGPT → OAuth → method → saved draft → editor path has been verified. A working connection alone does not mean the agent can open your product.
Connection and service token lifetime
Choosing “No expiration” during OAuth consent keeps the connection valid until revoked, as long as you retain the selected project permissions. It does not expire after 30 days or due to inactivity. The client must support OAuth refresh to renew its short-lived access tokens. Existing connections keep their expiry dates; reconnect to choose a different lifetime.
If your client accepts an API or MCP service token, create one in the target project's “API and MCP” section. The default is 30 days, with “No expiration” available here too. Its secret appears once; save it in the client's settings. Existing tokens are not extended.
Revoke connections and tokens in the dashboard. Having no expiry grants no extra permissions or browser access and does not replace sign-in to your product.
Give the agent interface context
| Available access | How to proceed |
|---|---|
| A public page and an agent browser | Provide the exact URL and authorize inspection of the relevant screen. |
| A product that requires sign-in | Use an authorized user session. If none is available, sign in through the supported browser flow. |
| No usable browser or session | Provide current screenshots, URL, date, user role and interface state. The agent should label provisional copy and unverified assumptions. |
Do not pass passwords or session tokens through MCP. Screenshots help establish terms and copy; they do not prove selectors, working buttons or keyboard accessibility.
Preview a popup on your site
Save the popup as a draft. In the editor, select “Test on your site”, enter the target page URL, then choose “Create link” → “Open preview”. The agent can get the same link through popup_preview_create, passing the popup id and input: {targetUrl, expectedVersion} with the version from a fresh draft read. The tool returns previewUrl and expiresAt; it does not publish the popup or enable delivery.
The link lasts five minutes. Anyone with it can view the draft, so share it only with intended reviewers. It is bound to the project, target origin, saved version and connection grant. Changing the draft, revoking the connection or reaching the expiry time invalidates the link.
The target page needs the current Flowtomate SDK installed for the same project. Install the SDK first if it is missing. Preview grants no access to private pages or iframes and does not replace product sign-in.
Check text, layout and dismissal. Preview disables forms, JavaScript actions, navigation, analytics and frequency tracking. It does not prove real CTA success, targeting or production delivery. Receiving a link alone does not prove that the popup rendered in a browser.
Review the result
Ask the agent to distinguish screens it inspected directly, information from screenshots, the draft it saved and actions it tested. Successful document validation does not prove display on your website. If no browser test took place, the report should say so.
Publishing and enabling delivery require a separate request and the relevant permissions. Review project connections in the dashboard's “API and MCP” section.