Skip to content

Commit 902461a

Browse files
committed
added visuals
1 parent b5b012d commit 902461a

1 file changed

Lines changed: 105 additions & 0 deletions

File tree

docs/ff-concepts/advanced/flutterflow-cli/flutterflow-mcp.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,32 @@ When the wizard finishes, you'll have a workspace folder ready for your agent. D
9393

9494
Each file points the corresponding agent at the FlutterFlow AI MCP server.
9595

96+
<div style={{
97+
position: 'relative',
98+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
99+
height: 0,
100+
width: '100%'}}>
101+
<iframe
102+
src="https://demo.arcade.software/mBJK3OJs4yg0WY3GxSU0?embed&show_copy_link=true"
103+
title=""
104+
style={{
105+
position: 'absolute',
106+
top: 0,
107+
left: 0,
108+
width: '100%',
109+
height: '100%',
110+
colorScheme: 'light'
111+
}}
112+
frameborder="0"
113+
loading="lazy"
114+
webkitAllowFullScreen
115+
mozAllowFullScreen
116+
allowFullScreen
117+
allow="clipboard-write">
118+
</iframe>
119+
</div>
120+
<p></p>
121+
96122
## Launch your Agent
97123

98124
Move into the workspace and start your agent. The example below uses Claude Code; the same pattern applies to any agent you registered in the wizard — `cd` into the workspace and launch the agent's CLI.
@@ -119,6 +145,32 @@ Choose **option 1** to approve the FlutterFlow AI MCP server (and any others add
119145

120146
> **Why approve?** Without the MCP server, the agent can edit local files but can't push changes to your FlutterFlow project. With it approved, the agent has the same tools you'd run yourself from the CLI.
121147
148+
<div style={{
149+
position: 'relative',
150+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
151+
height: 0,
152+
width: '100%'}}>
153+
<iframe
154+
src="https://demo.arcade.software/wPBM094bg4iDSWblXpnG?embed&show_copy_link=true"
155+
title=""
156+
style={{
157+
position: 'absolute',
158+
top: 0,
159+
left: 0,
160+
width: '100%',
161+
height: '100%',
162+
colorScheme: 'light'
163+
}}
164+
frameborder="0"
165+
loading="lazy"
166+
webkitAllowFullScreen
167+
mozAllowFullScreen
168+
allowFullScreen
169+
allow="clipboard-write">
170+
</iframe>
171+
</div>
172+
<p></p>
173+
122174
## Generate a New App
123175

124176
With the agent connected, describe the app you want at the prompt:
@@ -138,6 +190,32 @@ Let me check the workspace and read the edit template.
138190

139191
From that point on, the same rules apply as when [editing an existing project](#edit-an-existing-project) - concurrency, branches, scope, and refreshing context.
140192

193+
<div style={{
194+
position: 'relative',
195+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
196+
height: 0,
197+
width: '100%'}}>
198+
<iframe
199+
src="https://demo.arcade.software/RnNngmhVpZflzDWqsDBA?embed&show_copy_link=true"
200+
title=""
201+
style={{
202+
position: 'absolute',
203+
top: 0,
204+
left: 0,
205+
width: '100%',
206+
height: '100%',
207+
colorScheme: 'light'
208+
}}
209+
frameborder="0"
210+
loading="lazy"
211+
webkitAllowFullScreen
212+
mozAllowFullScreen
213+
allowFullScreen
214+
allow="clipboard-write">
215+
</iframe>
216+
</div>
217+
<p></p>
218+
141219
## Edit an Existing Project
142220

143221
:::info[Prerequisite]
@@ -154,6 +232,33 @@ Project ID
154232

155233
The workspace is now bound to that project. `cd` into the workspace folder, [launch your agent](#launch-your-agent), and describe the changes you want — "add a profile screen", "switch the primary color to teal", "wire up the login form to Firebase Auth". The agent reads the current project, plans the change, and pushes it through the MCP server. Open FlutterFlow in your browser to verify.
156234

235+
236+
<div style={{
237+
position: 'relative',
238+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
239+
height: 0,
240+
width: '100%'}}>
241+
<iframe
242+
src="https://demo.arcade.software/VNb9xlkwjZGrdaeIpUb1?embed&show_copy_link=true"
243+
title=""
244+
style={{
245+
position: 'absolute',
246+
top: 0,
247+
left: 0,
248+
width: '100%',
249+
height: '100%',
250+
colorScheme: 'light'
251+
}}
252+
frameborder="0"
253+
loading="lazy"
254+
webkitAllowFullScreen
255+
mozAllowFullScreen
256+
allowFullScreen
257+
allow="clipboard-write">
258+
</iframe>
259+
</div>
260+
<p></p>
261+
157262
### Concurrent Edits with Builder
158263

159264
You can edit visually while an agent is working, but writes use **optimistic concurrency**: when the agent pushes, the server checks the project's last-modified timestamp against the agent's snapshot. If anyone else (you in the visual builder, a teammate, or another agent) modified the project in between, the push is rejected. The agent will re-read the latest state and retry — which may also mean re-planning, if your change conflicts with what it was about to do.

0 commit comments

Comments
 (0)