Flowstep MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Flowstep MCP or direct API to generate UI designs, edit screens, manage design files, and import Figma frames through natural language.

Flowstep MCP logoFlowstep MCP
Dcr Oauth

Flowstep MCP is a hosted design service for creating and managing multi-screen UI files. It helps teams turn design ideas into editable screens and inspectable code faster.

23 Tools

Try Flowstep MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Flowstep MCP
Try asking
TOOLS

Supported Tools

Every Flowstep MCP action and event your agent gets out of the box.

Add screen jsx

Add a screen's JSX and metadata to one of the current user's Flowstep files.

Ai design screens

Generate one or more new screens, edit one or more existing ones in place, or both in one turn, from a text description — theming, copy, layout, new flows, or coordinated changes across screens.

Ai edit screen variant

Modify exactly one existing screen in place using a preset.

Ai generate screen variant

Add a screen derived from exactly one existing screen — a next-step, error or empty state, or platform variant of that screen.

Create file

Create a blank Flowstep file for the current user, with no screens.

Delete file

Permanently delete one of the current user's Flowstep files.

Delete file instructions

Delete the instructions from one of the current user's Flowstep files.

Delete screen

Permanently delete a screen from one of the current user's Flowstep files.

Get chat history

Get the chat history for one of the current user's Flowstep files.

Get design status

Check on a design started by ai-design-screens, ai-generate-screen-variant, or ai-edit-screen-variant.

Get file

Get metadata for one of the current user's Flowstep files.

Get file instructions

Get the instructions attached to one of the current user's Flowstep files: markdown the user wrote, sent as context with every AI request made against the file.

Get plan details

Get the current user's Flowstep plan, usage, and remaining quota.

Get screen image

Get a rendered PNG of a screen in one of the current user's Flowstep files.

Get screen jsx

Get a screen's JSX and metadata from one of the current user's Flowstep files.

Import figma

Import a Figma frame into one of the current user's Flowstep files as editable canvas elements.

List files

List metadata for the current user's Flowstep files.

List screens

List metadata for screens in one of the current user's Flowstep files.

Rename screen

Rename a screen's canvas label in one of the current user's Flowstep files.

Replace screen jsx

Replace an existing screen's JSX and metadata in one of the current user's Flowstep files.

Update file

Rename one of the current user's Flowstep files.

Update file instructions

Set or replace the instructions for one of the current user's Flowstep files: markdown sent as context with every AI request made against the file, so product rules, tone and layout conventions need not be repeated in each prompt.

Upload attachment

Upload a reference file for ai-design-screens, or an image to place with add-screen-jsx or replace-screen-jsx.

SETUP GUIDE

Connect Flowstep MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["flowstep_mcp"],
  mcp: true,
});
Create a session scoped to Flowstep MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Generate a three-screen mobile banking dashboard with a login screen, account overview, and transaction history, then show the screen JSX.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Flowstep MCP request
SETUP GUIDE

Connect Flowstep MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["flowstep_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Flowstep MCP
3

Run Flowstep MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Generate a three-screen mobile banking dashboard with a login screen, account overview, and transaction history, then show the screen JSX." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Flowstep MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Flowstep MCP Integration

  • Supports both Flowstep MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable design tool execution
  • Rich coverage for generating, editing, reading, and importing Flowstep MCP designs

Managed Auth

  • Connect Flowstep MCP with OAuth credentials managed through Composio
  • Central place to manage, scope, and revoke Flowstep MCP access
  • Per user and per environment credentials instead of hard-coded secrets

Agent Optimized Design

  • Tools are tuned for agents that create and update multi-screen UI designs
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Flowstep MCP
  • Scoped, least privilege access to Flowstep MCP design resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Flowstep MCP with any AI Agent Framework

Choose a Framework you want to connect Flowstep MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Flowstep MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Flowstep MCP tool your agent needs.Free to start.

Start building