Skip to main content
Floot
Previewv0.1.0
63 actions · 1 auth method
Developer ToolsMCP

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See Organizations & Projects.
2

Configure the Connector

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.

MCP (OAuth) · Connector Profile

Each user signs in to Floot and approves access. No app registration required; the OAuth client is registered when the a…
3

Link an Account

Link an account from the dashboard (or via StackOne Hub).See the guide for the authentication type chosen in the Connector Profile:

MCP (OAuth) · Link Account

4

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Actions

63 actions
Action
Description
Get Visitor Analytics
The published app’s visitor analytics, as the editor’s Analytics tab shows them: visitors, page views and a daily trend,…
Generate Image
Generate AI images into the project’s asset storage, for PROJECT-SPECIFIC imagery (mascots, illustrations, app icons, a…
Upload Asset
Upload a binary asset (image, font, audio, …) you actually hold (generated, downloaded or read yourself) to the project’…
Request A File From The User
Show the user an inline upload card so they can hand you a file from their device (image/font/audio/…) — it lands in the…
Delete Storage Files
Delete files from the project’s storage (what the app uploaded or serves from /_cdn/), by their full keys as run_code_in…
Fork Project
Fork a project (main or any fork) into a new branch with its own database branch and test keys, when the user asks to fo…
List Branches
List a project’s main project and every branch you can open, with their ids, names and status. projectId may be the main…
Compare Branches
Show what merging one branch into another branch of the same project would change. projectId is always the TARGET (the b…
Read Merge Conflict
Read one conflicted file of a merge in pages (cat -n style, 400 lines by default), with its conflict block line ranges…
Start Merge
Merge sourceProjectId into projectId (the target). This changes the target: its code becomes the merged code, and the mi…
Get Merge Status
State of a merge by mergeId (merges started in the UI too): running, done or failed. On failed: the failing step or migr…
Get Branch Settings
Read a branch’s six switches (all off by default): Receive main’s email, Send email, Scheduled jobs, Receive main’s real…
Delete Branch
Permanently delete a branch: its files, database copy and comments (merged code stays). Only when the user asked. A bran…
Publish Card
Internal bridge for the publish card (not for agents: use publish_app and get_job_status).
Merge Card Bridge
Internal bridge for the merge card’s Merge button (not for agents).
Merge Card Status
Internal bridge for the merge card’s state (not for agents).
Resources Card Bridge
Internal bridge for the resources card’s Confirm button (not for agents).
Resources Card Bridge
Internal bridge for the resources card’s Decline button (not for agents).
Upload Card Bridge
Internal bridge for the upload card (not for agents — use request_user_upload / upload_asset). phase ‘presign’ mints the…
Query Database (Read-Only)
Run a READ-ONLY SQL query against the project’s Postgres database (SELECT, EXPLAIN, etc.) — the Floot-managed database,…
Execute SQL (Writes)
Run WRITE SQL on the project’s Postgres database (Floot-managed or an external one the user connected): CREATE/ALTER, IN…
Pull Database Schema
Introspect the database and write a typed schema helper the app uses for queries (kysely on current projects; some legac…
Add Dependency
Add npm packages to the project (validated against Floot’s supported set — rejected packages get a supported alternative…
Remove Dependency
Remove npm packages from a Floot project’s dependency record (record-only; nothing runs).
List Project Files
List a Floot project’s virtual file tree with sizes, plus its dependencies, current version (pass the version to write t…
Read File
Read a file from a Floot project (cat -n style); offset/limit for large files, column to start mid-line (a capped read n…
Read Files
Read up to 20 files in ONE call, much cheaper than repeated read_file: prefer it whenever you need several files togethe…
Search Code
Search a Floot project’s files (string or regex) with optional glob filters (e.g. [‘components/*’, ‘endpoints/**’]). Ret…
Write File
Create or fully overwrite a file in a Floot project. Content is written literally. Paths must follow the item scheme (se…
Edit File
Replace old_string with new_string in a project file. old_string must match the current content exactly (including white…
Apply Patch
Apply a V4A patch to a Floot project — create and update multiple files in ONE atomic operation. Format: ”*** Begin Patc…
Rename File
Rename one or more items and automatically rewrite every file that imports them. Use item names WITHOUT extensions (e.g…
Copy File
Copy one or more items to new names (e.g. {from:‘components/Card’, to:‘components/BigCard’}). Item names without extensi…
Delete File
Delete a project file. Deleting an item’s main code file (e.g. components/Foo.tsx) removes the whole item including its…
Floot Guides
Floot documentation for agents. Call with no arguments to list available guides. Pass topic for one guide (e.g. topic:…
Get Job Status
Poll a pending tool call by its jobId. Each poll either returns the final result (succeeded/failed/cancelled), or report…
Get Live Payments (Read-Only)
Look up your Floot Payments records in Stripe across all your projects: one record by id, or a list of one record type…
Get Preview URL
Show the user a live preview card and return the preview link. On an EXISTING project this is typically called EARLY, be…
Navigate The User’s Preview
Point the user’s OPEN Floot preview at what you built, to SHOW it to them; pair it with screenshot_preview to see it you…
Screenshot The User’s Preview
Capture a screenshot of the user app. Call it whenever you want to SEE what the app currently looks like (layout, stylin…
Get Current Editor Context
What the user is looking at RIGHT NOW in their open Floot editor: the active page/component, the preview element they se…
View Annotation
View a screenshot annotation the user drew on the app preview (annotationId comes from get_current_context). Returns the…
List Projects
List your Floot projects (id, name, last-updated, whether an app icon is set), most recently updated first. name_filter…
Search Projects
Search your Floot projects and their code. Returns result ids usable with fetch. For richer options, list_projects enume…
Fetch Search Result
Fetch a search result by id: a project overview (‘<projectId>’) or a file (‘<projectId>:<path>’). For direct access to a…
Create Project
Create a new Floot project (pre-seeded with the shared component library) and return its id. initial_prompt describes…
Update Project Metadata
Update project settings; current values appear at the top of list_files. Changes reach the published app at the next pub…
Create Checkpoint
Create a NAMED checkpoint — a labeled restore point the user sees in the project’s Checkpoints panel and can revert to l…
Get Publish Status
Read-only publish snapshot for a project: published (true/false, with the live URL when published), customDomains (the u…
Compare With Published Source
Read-only: the source changes a publish now would ship. Current saved code vs the live release (or release): both source…
Publish App
Publish the app to production: the first publish, a new publish of changes the user wants live, or a custom domain. Read…
Unpublish App
Take the published app offline and release its subdomain — destructive, confirm with the user first. Details: get_guides…
List Available Resources
List the env vars a project’s code can use and the resources behind them: (1) resources CONNECTED to the project — usabl…
Provision Resource
Provision a Floot-managed backend resource for the project, fully server-side (Floot mints the secrets), and seed the wo…
Request External Resource
Request the user’s own credential for an outside service on this project: their OpenAI or Anthropic key, an external Pos…
Cancel Request
Withdraw a pending request you created — a credential request from request_external_resource, a custom-domain setup requ…
Get Logs
Call FIRST when debugging a runtime problem (a 500, a failed request, a blank page, ‘it doesn’t work’), before theorizin…
Typecheck Project
Typecheck the project (incremental tsc on the project VM). Type errors don’t block the app from running. Without paths i…
Run Tests
Run the project’s Jasmine specs (helpers/*.spec.tsx) on the project VM (jsdom): specs may render components (@testing-li…
Run Code In VM
Run a Node.js snippet on the project’s compute VM and return its stdout and stderr. ESM (a bare require() snippet runs a…
Run Code In Browser
Run a TypeScript snippet inside the running app’s preview document in the user’s open Floot editor and return the string…
Call App Function
Run one function of this project’s own backend code, exported from its helpers/flootAppExports.tsx (code written in this…
Run Scheduled Job
Run one job of static/__dev/scheduled-jobs.json once now on the preview backend (the editor’s Run now; no publish needed…