Flowstep MCP for Windsurf

Flowstep's MCP server gives Windsurf's Cascade agent a design tool. Add one block to mcp_config.json, refresh your servers, and sign in with your Flowstep account. Cascade can then generate real UI screens, look at the renders, and edit them as part of the work it is already doing.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "flowstep": {
      "serverUrl": "https://api.flowstep.ai/mcp"
    }
  }
}

Merge this into the mcpServers object if you already have servers configured, then refresh servers in Windsurf settings.

Signs in with your Flowstep account. No API keys.

Why connect Flowstep to Windsurf

Design inside the flow Cascade is already running

Cascade works across your project in long, multi-step runs. Adding Flowstep means a run can produce the screen and the implementation together, instead of stopping to wait on a design.

One config block, every project

mcp_config.json is global to Windsurf, so Flowstep is available in every workspace you open. Nothing to repeat per repo.

Pin the output to your design system

update-design-guidelines stores your colours, type and component rules on the Flowstep file. Every screen Cascade generates against that file follows them, without you restating the system in each prompt.

How to connect Flowstep to Windsurf

Setup takes about two minutes and there is no API key at any point. Windsurf authenticates against your Flowstep account over OAuth.

  1. Edit mcp_config.json

    Open ~/.codeium/windsurf/mcp_config.json and add the flowstep entry. If the file already has an mcpServers object, add the key rather than replacing it.

  2. Refresh servers

    In Windsurf settings, refresh the MCP server list. Flowstep appears with its tools once the connection is made.

  3. Sign in with Flowstep

    The first Flowstep tool call sends you to the browser to sign in. There is no API key to generate and nothing to paste back into the config file.

  4. Ask Cascade for a screen

    Cascade generates it in Flowstep and brings the render back into the conversation, then carries on with the code.

A Windsurf session, start to finish

How it reads in Cascade once the server is refreshed:

You

“Read design-system.md, save it as the design guidelines on our Flowstep file, then design the notification settings screen.”

Windsurf

Called update-design-guidelines with the file's contents, then create-new-design. The screen comes back on-brand first time.

You

“Make a dark theme version.”

Windsurf

Called expand-design with a platform variant and returned the render.

You

“Ship both. Build the components and wire them to the settings route.”

What Windsurf can do once connected

The server exposes 20 tools. Windsurf picks the ones it needs. You describe the outcome, not the tool call.

Generate and edit designs

The four operations that produce or change screens.

Generate and edit designs
ToolWhat it does
create-new-designGenerate brand-new screens from a description. Starts a new file, or adds screens to one you already have.
edit-designChange one or more existing screens in place: theming, copy, or layout.
expand-designDerive a new screen from an existing one: the next step in a flow, an error or empty state, or another platform.
regenerate-designRedo a single screen from scratch, optionally in a different style.

Read what already exists

How the agent sees your canvas before it changes anything.

Read what already exists
ToolWhat it does
list-screensList every screen in a file with its prompt, fidelity and creation date.
get-screenReturn a screen's component tree, dimensions and fidelity as structured data.
get-screen-imageRender a screen to a PNG and return it inline, so your agent can look at the design it just made.
get-chat-historyRead the Flowstep chat history attached to a file.

Manage files

Project housekeeping without switching to the browser.

Manage files
ToolWhat it does
list-filesList the files in your account.
get-fileFetch a single file by ID.
create-fileCreate a new Flowstep file.
update-fileRename an existing file.
delete-fileDelete a file.

Keep output on-brand

Design guidelines are free-form text stored on a file and injected into every generation made against it.

Keep output on-brand
ToolWhat it does
update-design-guidelinesSet the colours, type, spacing and component rules a file should follow. Point it at the design system doc already in your repo.
get-design-guidelinesRead the guidelines currently attached to a file.
delete-design-guidelinesRemove a file's guidelines.

Bring in your own material

Reference images, PRDs, existing Figma frames and raw JSX.

Bring in your own material
ToolWhat it does
upload-attachmentAttach a reference image or document. Bytes upload straight to Flowstep storage rather than through your agent's context.
import-figmaImport a Figma frame into a Flowstep file as editable elements. Re-importing the same frame updates it in place.
add-screenAdd a screen from a raw JSX string. This is the code-first path for turning components you already have into canvas screens.
get-plan-detailsCheck your plan, usage and remaining quota before a long run.

Windsurf FAQs

Setup, billing and the things people hit on the way in

Using a different client?

Flowstep's MCP server is a standard remote HTTP server, so it works with any MCP client. These are the ones with step-by-step setup written up.

See the full Flowstep MCP overview for the server URL, authentication details and the complete tool list.

Design from Windsurf

Free to start. Connect the server, generate your first screen, keep the file.

No credit card required