Back to docs
API Reference

ChatGPT MCP Integration

Connect Flint to ChatGPT and create landing pages just by asking - no app switching, no manual building.

Overview

Flint has a remote MCP (Model Context Protocol) server that connects directly to ChatGPT. Once connected, you can create landing pages just by describing what you want - no app switching, no manual building required.

This integration allows ChatGPT to create, modify, and manage your Flint pages directly through conversation. Full MCP support with write and modify actions is currently available on ChatGPT Business, Enterprise, and Edu plans. Pro and Plus users can connect MCP servers with read and fetch permissions. Availability and permissions may change while this feature is in beta.

Behind the scenes, ChatGPT chats with Flint's agent on your site. You can open the same chat in the Flint editor at any time.

Set Up in 60 Seconds

Follow these steps to connect Flint to ChatGPT through the MCP server:

1. Enable Developer Mode

In ChatGPT, open Settings, select Security and login, and turn on Developer mode. On managed Business, Enterprise, or Edu workspaces, an admin may first need to grant access. Depending on your workspace, the setting may appear under Settings > Apps > Advanced Settings or while creating an app from Workspace settings > Apps.

2. Create the Flint App

Go to chatgpt.com/plugins, select the plus button, and create a developer-mode app. Name it Flint, then enter the remote MCP server URL:

text
https://mcp.tryflint.com/mcp

3. Authenticate and Scan Tools

Choose OAuth authentication, then select Scan Tools. Sign in to your Flint account when prompted and wait for ChatGPT to finish discovering the available tools. Select Create to save the app.

4. Start Building

Open a new ChatGPT conversation. Choose Developer mode from the plus menu, select Flint for the conversation, and describe the page you want to create.

Connection Details

Copy this value when setting up the integration:

FieldValue
Server URLhttps://mcp.tryflint.com/mcp

Creating Pages

Once connected, you can ask ChatGPT to build landing pages for any campaign, ICP, or keyword. Describe the audience, the offer, and the tone - ChatGPT handles the rest and builds the page directly in Flint, ready to review.

Example Prompt

text
Generate a personalized account page targeting OpenAI. Tailor the messaging to address their specific industry needs.

ChatGPT will use Flint to generate and create the page, which you can then preview and publish. ChatGPT may ask you to approve tool calls before it makes changes.

If Flint needs more detail, it asks in its reply. ChatGPT passes the question to you and sends your answer back in the same chat.

Available Tools

The Flint MCP server gives ChatGPT three groups of tools: chat tools for building and editing pages, site and publishing tools, and two deprecated tools.

Use the chat tools to have Flint's agent work on a site. Each chat runs on one site.

start_chat

Starts a chat with the Flint agent on a site. It returns right away, before Flint replies.

ParameterTypeDescription
siteIdstring (UUID)The Flint site to work on
messagestringWhat you want Flint to do

Returns {"chatId", "messageId"}. Pass both to wait_for_reply.

send_message

Sends a follow-up in an existing chat, such as an answer to a question Flint asked.

ParameterTypeDescription
chatIdstringThe ID returned from start_chat
messagestringYour follow-up or answer

Returns {"chatId", "messageId"} with a new messageId. A chat takes one message at a time, so this fails while Flint is still replying, with the error "Flint is still replying in this chat. Wait for its reply, then send again."

wait_for_reply

Waits up to 45 seconds for Flint's reply to a message.

ParameterTypeDescription
chatIdstringThe ID of the chat
messageIdstringThe ID returned from start_chat or send_message

Returns one of three statuses:

StatusResponseWhat to do
running{"status": "running"}Flint is still working. Call wait_for_reply again right away.
completed{"status": "completed", "reply": "..."}Read Flint's reply. If it asks a question, answer with send_message.
failed{"status": "failed"}Send the message again.

How a Chat Works

A chat with Flint is a loop: send a message, wait for the reply, repeat.

  1. 1.Call start_chat with the site ID and your request. It returns a chatId and messageId right away.
  2. 2.Call wait_for_reply with both IDs. If the status is running, call it again right away. Keep going until it returns completed or failed.
  3. 3.Read Flint's reply. If Flint asks a question, answer it with send_message in the same chat, then go back to step 2 with the new messageId.
  4. 4.If the status is failed, send the same message again.

One message at a time

A chat takes one message at a time. Wait for completed before you call send_message, or it fails.

Run separate work in parallel

Start a separate chat for each independent piece of work, such as one chat per page. The chats run in parallel.

Pick up a chat in Flint

Chats started over MCP appear in the site's chat list in the Flint editor, titled from the first message. Anyone on your team can open one and keep going.

Google Ads changes

Flint can't run Google Ads changes over MCP. It drafts them, and a person runs them from that chat in Flint.

Site and Publishing Tools

list_organizations

Lists the Flint organizations your account belongs to. No parameters required.

Returns each organization's ID and name. Pass an organization ID to list_sites to see only that organization's sites.

list_sites

Lists your Flint sites.

ParameterTypeDescription
organizationIdstring (optional)Only list sites in this organization

Without an organizationId, it lists the 10 newest sites across all your organizations. With one, it lists that organization's 10 newest sites. Each result includes the site name, site ID, organization ID, and organization name. Ask ChatGPT "what sites do I have?" to look up a site ID without leaving the conversation.

publish_site

Deploys a Flint site to production.

ParameterTypeDescription
siteIdstring (UUID)The target site to publish

Publishes the latest saved changes on the site. Chat with Flint to make changes, review the results, then ask ChatGPT to publish when you're ready.

Deprecated Tools

run_background_agent and check_background_agent_status still work but are deprecated. Use start_chat, send_message, and wait_for_reply instead.

Troubleshooting

Connection not working?

  1. 1.Verify Developer mode is enabled for your account and allowed by your workspace admin
  2. 2.Confirm the server URL is entered exactly as shown above
  3. 3.Open the Flint app settings, select Refresh, and scan the tools again
  4. 4.Confirm Flint is selected from the conversation's Developer mode tools

Authentication issues?

  1. 1.Open the Flint app settings in ChatGPT and reconnect
  2. 2.Complete the Flint sign-in flow in your browser
  3. 3.If access expires, authenticate again to refresh the connection

Message rejected while Flint is replying?

A chat takes one message at a time. Call wait_for_reply until it returns completed, then send your message again.

Reply still running?

That's normal while Flint works. Larger changes take several calls. Call wait_for_reply again right away until it returns completed or failed.

Pages not appearing?

  1. 1.Confirm your ChatGPT plan supports MCP write actions
  2. 2.Check that wait_for_reply returned completed and any required tool approvals went through in ChatGPT's response
  3. 3.Refresh your Flint dashboard to see newly created pages
  4. 4.Verify you have the correct Flint site selected