# Flowstep MCP

```json
{
  "name": "Flowstep MCP",
  "slug": "flowstep_mcp",
  "url": "https://composio.dev/toolkits/flowstep_mcp",
  "markdown_url": "https://composio.dev/toolkits/flowstep_mcp.md",
  "logo_url": "https://logos.composio.dev/api/flowstep_mcp",
  "categories": [
    "design & creative tools"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-12-02T05:38:54.571Z"
}
```

![Flowstep MCP logo](https://logos.composio.dev/api/flowstep_mcp)

## Description

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.

## Summary

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.

## Categories

- design & creative tools

## Toolkit Details

- Tools: 23

## Images

- Logo: https://logos.composio.dev/api/flowstep_mcp

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for Flowstep MCP.
  - Setup:
    - Configure Dcr Oauth credentials for Flowstep MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Generate a three-screen travel booking interface
- Import Figma frames into a design file
- Read JSX from the checkout screen

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `FLOWSTEP_MCP_ADD_SCREEN_JSX` | Add screen jsx | Add a screen's JSX and metadata to one of the current user's Flowstep files. Use only when the user asks for a screen written in code, or to bring existing code (such as a repo's UI) onto the canvas. To design, change, restyle, or vary a screen, use ai-design-screens or the variant tools instead, even if you could write the JSX yourself. Always creates a new screen: use replace-screen-jsx to overwrite an existing one from JSX, or ai-edit-screen-variant for a preset AI change. When the new screen is based on an existing one, start from get-screen-jsx (without includeIds) for name, fidelity, screenType, colorTheme, and jsx, then change whatever should differ. A screen's JSX is a tree of elements. Each element has: - a tag: an HTML element; a library component such as Button, Card, Field, or ChartContainer (the library keeps shadcn's names); a chart component such as BarChart or LineChart; or a Lucide icon - attributes: className (Tailwind CSS classes) and other attributes, written on the tag - children: nested elements or text, written between the opening and closing tags Returns { fileId, screenId, warnings? }. warnings lists non-blocking issues (such as an img with no alt); the screen was saved, so fix them with replace-screen-jsx. - jsx: data-id is ignored; the new screen gets new element ids. Images in jsx: - Put an image in img src, or in className as bg-[url(...)]. Give every img an alt: describe the image, or alt="" if it is purely decorative. Size it for its purpose; use w-full h-full object-cover only when the image fills its container. - Take every image from one of these sources, checked in this order: 1. An image the user supplied: run the upload-attachment curl, then paste that assetUrl verbatim. A screen with an assetUrl whose file was never uploaded, is empty, or is over the size limit is rejected and not saved. Use it only when type is "image", where the user asked for it or, on a ui-fidelity screen, where it clearly belongs. 2. An image already in this file, or in another file you read with get-screen-jsx (pass that fileId in imageSourceFileIds): keep its URL and any data-* attributes exactly as get-screen-jsx returned them. Never put an image from a ui-fidelity screen on a lofi or hifi screen; use a placeholder (4) there instead. 3. A map on a ui-fidelity screen: one of https://screens-image-components-public.s3.eu-north-1.amazonaws.com/city-map-2d.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/city-navigation-map.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/world-map-2d.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/world-map-3d.png. 4. Any other image on a lofi or hifi screen, maps included: a placeholder such as https://placehold.co/600x400, where the numbers give the size. - If a ui-fidelity screen would naturally include a photo (hero, cover, avatar, product) that none of these sources gives, ask the user before calling add-screen-jsx or replace-screen-jsx. Offer three options: supply the photo, use ai-design-screens (which can find stock photos and use images from a webpage), or continue without photos. If they continue without, stand in for the photo with a gradient, pattern, icon, initials, or a simple flat illustration in CSS or inline SVG. Do not try to recreate the photo itself with CSS or SVG, and never write an image URL from memory, images.unsplash.com included. A screen with an Unsplash photo that is not already in this file or in a file in imageSourceFileIds is rejected and not saved. - Icons, gradients, and shapes are fine for decorative and UI elements. |
| `FLOWSTEP_MCP_AI_DESIGN_SCREENS` | 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. This is the same design agent as the chat in the Flowstep editor; it decides from message and elementIds what to build or change. Pass fileId when the user means a file they already have (find it with list-files and list-screens) or is continuing work from this conversation. A new, unrelated design goes in a new file: omit fileId and name the file with fileName. If it's unclear which, ask the user first. Use ai-generate-screen-variant for a next-step, error or empty state, or platform variant of one screen, or ai-edit-screen-variant for a preset edit or redesign of one screen. Use add-screen-jsx or replace-screen-jsx when you already have JSX — this tool always designs from the description and never takes JSX. elementIds are optional screenIds (list-screens) and/or subelement data-ids (get-screen-jsx with includeIds) to edit in place or use as visual reference for new screens, like a selection in the editor. Say which in message. A screen id targets the whole screen. fileId is required when elementIds is set. attachments come from upload-attachment as { id, path, type }; files are images or documents the user attached in ChatGPT. Include webpage URLs in message. Ask the user yourself if the brief is ambiguous. Returns { status: "running", fileId, fileUrl, canvasUrl, jobId, nextStep } within seconds, as soon as the design starts. Flowstep designs for about a minute, and the screens appear live in the file. Follow nextStep, then call get-design-status with fileId and jobId until status is no longer "running". Never call a design tool again for the same request. - fileUrl: opens the file in the Flowstep editor. canvasUrl: the same file as the canvas alone, for a browser beside the chat. - If a design is already running on the file, this returns an error with that design's jobId; wait for it with get-design-status first. |
| `FLOWSTEP_MCP_AI_EDIT_SCREEN_VARIANT` | Ai edit screen variant | Modify exactly one existing screen in place using a preset. Theme or polish it, try a different layout or visual style, or redesign it from scratch. Use ai-design-screens for brand-new screens, a free-form AI change, or a precise subelement edit, and ai-generate-screen-variant to add a next-step, error or empty state, or platform variant. screenId is one screenId from list-screens. operationVariant selects either an edit preset (dark_theme, light_theme, make_pretty) or a redesign preset (different_layout, different_style, from_scratch). Returns { status: "running", fileId, fileUrl, canvasUrl, jobId, nextStep } within seconds, as soon as the design starts. Flowstep designs for about a minute, and the screens appear live in the file. Follow nextStep, then call get-design-status with fileId and jobId until status is no longer "running". Never call a design tool again for the same request. - fileUrl: opens the file in the Flowstep editor. canvasUrl: the same file as the canvas alone, for a browser beside the chat. - If a design is already running on the file, this returns an error with that design's jobId; wait for it with get-design-status first. |
| `FLOWSTEP_MCP_AI_GENERATE_SCREEN_VARIANT` | 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. Not an unrelated new screen and not an in-place change. Use ai-design-screens with fileId for a screen that is not a variant of an existing one (e.g. add a settings screen) or for a free-form AI change, or ai-edit-screen-variant for a preset AI edit or redesign of one screen. screenId is one screenId from list-screens. Returns { status: "running", fileId, fileUrl, canvasUrl, jobId, nextStep } within seconds, as soon as the design starts. Flowstep designs for about a minute, and the screens appear live in the file. Follow nextStep, then call get-design-status with fileId and jobId until status is no longer "running". Never call a design tool again for the same request. - fileUrl: opens the file in the Flowstep editor. canvasUrl: the same file as the canvas alone, for a browser beside the chat. - If a design is already running on the file, this returns an error with that design's jobId; wait for it with get-design-status first. |
| `FLOWSTEP_MCP_CREATE_FILE` | Create file | Create a blank Flowstep file for the current user, with no screens. Prefer ai-design-screens without a fileId when you also want screens generated. Use this only for code-first workflows, then add-screen-jsx. Returns { file: { id, name, access_level, visibility, owner, url }, user_access_level }. - owner: always true (the caller created the file). - user_access_level: always "write". - url: opens the file in the Flowstep editor. |
| `FLOWSTEP_MCP_DELETE_FILE` | Delete file | Permanently delete one of the current user's Flowstep files. Confirm with the user first. name must match the current display name or deletion is aborted. Opening a file the user was invited to, but hasn't joined yet, accepts the invitation. Returns { deleted: true }. |
| `FLOWSTEP_MCP_DELETE_FILE_INSTRUCTIONS` | Delete file instructions | Delete the instructions from one of the current user's Flowstep files. Deleting missing instructions is a no-op. Returns { deleted: true }. |
| `FLOWSTEP_MCP_DELETE_SCREEN` | Delete screen | Permanently delete a screen from one of the current user's Flowstep files. Confirm with the user first. name must match the current display name or deletion is aborted. Returns { deleted: true }. |
| `FLOWSTEP_MCP_GET_CHAT_HISTORY` | Get chat history | Get the chat history for one of the current user's Flowstep files. This is the design conversation associated with the file, not this MCP client's conversation. Use it to resume prior work on the file. Not a substitute for list-screens or get-file-instructions. Returns { messages: [{ role, text, screenIds? }] }. - role: "user" or "flowstep". - screenIds: the screens a Flowstep reply added or changed. - messages: empty when this user has no design conversation associated with the file. |
| `FLOWSTEP_MCP_GET_DESIGN_STATUS` | Get design status | Check on a design started by ai-design-screens, ai-generate-screen-variant, or ai-edit-screen-variant. Waits up to 40 seconds for it to finish, then answers. Checking doesn't use the message allowance. Returns { status, fileId, fileUrl, screens, reply?, message? }. - status "running": still designing. Call this tool again with the same fileId and jobId. If it's still running after about 5 minutes, tell the user it's taking longer than usual; they can watch it or stop it in Flowstep. - status "done": finished. screens lists the screens added or changed, by name; they're already in the file. If the user isn't watching the canvas, show them with get-screen-image. - status "chat": Flowstep answered instead of designing. Pass reply on to the user. - status "failed" or "cancelled": the design stopped; message says why. |
| `FLOWSTEP_MCP_GET_FILE` | Get file | Get metadata for one of the current user's Flowstep files. No screen content — use get-screen-image or get-screen-jsx. Opening a file the user was invited to, but hasn't joined yet, accepts the invitation. Returns { file: { id, name, access_level, visibility, owner, url }, user_access_level }. - owner: true if the caller created the file. - url: opens the file in the Flowstep editor. |
| `FLOWSTEP_MCP_GET_FILE_INSTRUCTIONS` | 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. Returns { instructions }. - instructions: the markdown text, or null if none has been set. |
| `FLOWSTEP_MCP_GET_PLAN_DETAILS` | Get plan details | Get the current user's Flowstep plan, usage, and remaining quota. Returns { plan: { name, code, type }, subscription: { isPaid, isTrial, startDate, endDate, trialDaysRemaining }, limits, usage, remaining }. - plan.type: "free" or "paid". - remaining: quota left per feature (daily/monthly); omitted for unlimited features. |
| `FLOWSTEP_MCP_GET_SCREEN_IMAGE` | Get screen image | Get a rendered PNG of a screen in one of the current user's Flowstep files. No JSX — use get-screen-jsx. Use it to show the user screens a design finished when they aren't watching the canvas, to show a screen they ask to see, or to check a screen you wrote with add-screen-jsx, replace-screen-jsx, or brought in with import-figma. Call it once per screenId. Returns { type: "image", mimeType: "image/png", data }. - mimeType: always "image/png". - data: standard base64 of the PNG bytes, not a data URI. |
| `FLOWSTEP_MCP_GET_SCREEN_JSX` | Get screen jsx | Get a screen's JSX and metadata from one of the current user's Flowstep files. No rendered preview — use get-screen-image. Set includeIds when you need element data-id values in jsx to pass in elementIds for ai-design-screens. A screen's JSX is a tree of elements. Each element has: - a tag: an HTML element; a library component such as Button, Card, Field, or ChartContainer (the library keeps shadcn's names); a chart component such as BarChart or LineChart; or a Lucide icon - attributes: className (Tailwind CSS classes) and other attributes, written on the tag - children: nested elements or text, written between the opening and closing tags Returns { fileId, screenId, name, prompt, fidelity, screenType, colorTheme, jsx, fragments }. - jsx: data-id is included only when includeIds is true. - prompt: last generation prompt; empty if the screen was never generated. - fragments: shared chrome (e.g., nav, header, logo) stored on the screen. Empty when none. Pass them back on replace-screen-jsx to keep or update them. - Image URLs in jsx and fragments: keep them exactly as returned. To add, move, or copy an image, follow the image rules in add-screen-jsx and replace-screen-jsx. |
| `FLOWSTEP_MCP_IMPORT_FIGMA` | Import figma | Import a Figma frame into one of the current user's Flowstep files as editable canvas elements. The file's organisation must have Figma connected. Each import adds a new screen — importing the same frame twice gives two screens, so delete the old one if you meant to replace it. Returns { fileId, screenId, frameCount? }. - screenId: imported screen, or null when a page URL imported multiple frames; call list-screens to find them. - frameCount: set only on that page-fallback path. |
| `FLOWSTEP_MCP_LIST_FILES` | List files | List metadata for the current user's Flowstep files. Call this first to check if a relevant file already exists. No screen content — use get-screen-image or get-screen-jsx. Returns { files: [{ id, name, shared_with_me, owner, url }] }. Default order is newest created first; orderByCreation false is most recently edited first. - owner: true if the caller created the file. - shared_with_me: shared with the caller directly, not only via the organisation. - url: opens the file in the Flowstep editor. A full page may mean more files exist — fetch the next page with offset. |
| `FLOWSTEP_MCP_LIST_SCREENS` | List screens | List metadata for screens in one of the current user's Flowstep files. Call this after list-files to see what's already in the file. No rendered preview or JSX — use get-screen-image or get-screen-jsx. Returns { screens: [{ screenId, name, prompt, fidelity }] }. - prompt: last generation prompt; empty if the screen was never generated. |
| `FLOWSTEP_MCP_RENAME_SCREEN` | Rename screen | Rename a screen's canvas label in one of the current user's Flowstep files. Does not change layout, size, or content — use ai-design-screens for that. Returns { screenId, name }. |
| `FLOWSTEP_MCP_REPLACE_SCREEN_JSX` | Replace screen jsx | Replace an existing screen's JSX and metadata in one of the current user's Flowstep files. Use only when the user asks for a screen written in code, or to bring existing code onto the canvas. To change, restyle, or redesign a screen, use ai-design-screens or ai-edit-screen-variant instead, even if you could write the JSX yourself. Use add-screen-jsx to create a new screen instead. Start from get-screen-jsx (without includeIds) for name, fidelity, screenType, colorTheme, jsx, and fragments, then change whatever should differ. Omit those fields to keep the current values. Pass fragments: [] to clear stored shared chrome. A screen's JSX is a tree of elements. Each element has: - a tag: an HTML element; a library component such as Button, Card, Field, or ChartContainer (the library keeps shadcn's names); a chart component such as BarChart or LineChart; or a Lucide icon - attributes: className (Tailwind CSS classes) and other attributes, written on the tag - children: nested elements or text, written between the opening and closing tags Returns { fileId, screenId, warnings? }. warnings lists non-blocking issues (such as an img with no alt); the screen was saved, so fix them with another replace-screen-jsx call. - jsx: data-id is ignored; nested elements get new ids. Images in jsx: - Put an image in img src, or in className as bg-[url(...)]. Give every img an alt: describe the image, or alt="" if it is purely decorative. Size it for its purpose; use w-full h-full object-cover only when the image fills its container. - Take every image from one of these sources, checked in this order: 1. An image the user supplied: run the upload-attachment curl, then paste that assetUrl verbatim. A screen with an assetUrl whose file was never uploaded, is empty, or is over the size limit is rejected and not saved. Use it only when type is "image", where the user asked for it or, on a ui-fidelity screen, where it clearly belongs. 2. An image already in this file, or in another file you read with get-screen-jsx (pass that fileId in imageSourceFileIds): keep its URL and any data-* attributes exactly as get-screen-jsx returned them. Never put an image from a ui-fidelity screen on a lofi or hifi screen; use a placeholder (4) there instead. 3. A map on a ui-fidelity screen: one of https://screens-image-components-public.s3.eu-north-1.amazonaws.com/city-map-2d.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/city-navigation-map.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/world-map-2d.png, https://screens-image-components-public.s3.eu-north-1.amazonaws.com/world-map-3d.png. 4. Any other image on a lofi or hifi screen, maps included: a placeholder such as https://placehold.co/600x400, where the numbers give the size. - If a ui-fidelity screen would naturally include a photo (hero, cover, avatar, product) that none of these sources gives, ask the user before calling add-screen-jsx or replace-screen-jsx. Offer three options: supply the photo, use ai-design-screens (which can find stock photos and use images from a webpage), or continue without photos. If they continue without, stand in for the photo with a gradient, pattern, icon, initials, or a simple flat illustration in CSS or inline SVG. Do not try to recreate the photo itself with CSS or SVG, and never write an image URL from memory, images.unsplash.com included. A screen with an Unsplash photo that is not already in this file or in a file in imageSourceFileIds is rejected and not saved. - Icons, gradients, and shapes are fine for decorative and UI elements. |
| `FLOWSTEP_MCP_UPDATE_FILE` | Update file | Rename one of the current user's Flowstep files. Opening a file the user was invited to, but hasn't joined yet, accepts the invitation. Returns { file: { id, name, access_level, visibility, owner, url }, user_access_level }. - owner: true if the caller created the file. - url: opens the file in the Flowstep editor. |
| `FLOWSTEP_MCP_UPDATE_FILE_INSTRUCTIONS` | 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. Colours, rounding and fonts come from the file's theme; instructions that name them are applied through the theme's tokens. instructions must be a plain string of the raw text — not an object or JSON. If reading from a file, pass that file's text. Use delete-file-instructions to clear them. Returns { updated: true }. |
| `FLOWSTEP_MCP_UPLOAD_ATTACHMENT` | Upload attachment | Upload a reference file for ai-design-screens, or an image to place with add-screen-jsx or replace-screen-jsx. Bytes never pass through the LLM; this tool does not fetch URLs. Not used by ai-generate-screen-variant or ai-edit-screen-variant. Files the user attached in ChatGPT don't need it: pass them to ai-design-screens in files. Mode A needs a shell to run its upload command. Without a shell, use mode B for text documents only, and ask the user to attach images and PDFs to the chat or describe them in the request. Use exactly one mode: A. mimeType + fileName — prepare a one-time PUT to Flowstep. fileName is only a label stored with the upload (the original name with extension, e.g. cat.png, design.md); mimeType sets the stored type. For a remote URL, use the URL basename or a descriptive name with the correct extension. Replace LOCAL_FILE_PATH in uploadCommand with an absolute path and run that curl. Check that it exited 0 before using the result; otherwise nothing was stored, and curl prints the server's error message, so fix what it says and rerun it. Then pass only { id, path, type } into the design tool. For add-screen-jsx or replace-screen-jsx, after that curl put assetUrl verbatim in img src or in className as bg-[url(assetUrl)], and only when type is "image". Skipping the curl leaves storage empty. Max 20 MB for an image and 3 MB for a document; a larger file fails the curl with HTTP 413 and is not stored. Conversation-attached or workspace file: use that path. Remote http(s) URL: download locally first, then Mode A. Never pass the URL as LOCAL_FILE_PATH or as type:image. B. text + mimeType — text/markdown, text/plain, text/javascript only. No curl. Do not use text for images or PDFs. If longer than the text field allows, use Mode A. Returns { id, path, assetUrl, type, mimeType, uploadUrl?, uploadCommand?, nextStep? }. - assetUrl: put this URL in the JSX for add-screen-jsx or replace-screen-jsx, in img src or bg-[url(...)]. Use it only when type is "image", after the Mode A curl. Do not put path, uploadUrl, or uploadCommand in src. - type: "image" or "document". - uploadUrl, uploadCommand, nextStep: set only on Mode A. Do not pass them into design tools. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Flowstep MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["flowstep_mcp"])
tools = session.tools()
```

```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();
```

#### Path 1, Step 3: Run Flowstep MCP tools with your agent

Send a request, execute the Flowstep MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=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 True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```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);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Flowstep MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["flowstep_mcp"], mcp=True)
```

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

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["flowstep_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Flowstep MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Flowstep MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Generate a three-screen mobile banking dashboard with a login screen, account overview, and transaction history, then show the screen JSX.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```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();
```

## Why Use Composio?

### 1. 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

### 2. 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

### 3. 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

### 4. 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

## Use Flowstep MCP with any AI Agent Framework

Choose a framework you want to connect Flowstep MCP with:

- [ChatGPT](https://composio.dev/toolkits/flowstep_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/flowstep_mcp/framework/claude-cowork)

## Related Toolkits

- [Figma](https://composio.dev/toolkits/figma) - Figma is a collaborative interface design tool for teams and individuals. It streamlines design workflows with real-time collaboration and easy sharing.
- [Abyssale](https://composio.dev/toolkits/abyssale) - Abyssale is a creative automation platform for generating images, videos, GIFs, PDFs, and HTML5 content programmatically. It streamlines and scales visual content production for marketing, design, and operations teams.
- [Alttext ai](https://composio.dev/toolkits/alttext_ai) - AltText.ai is a service that generates alt text for images automatically. It helps boost accessibility and SEO for your visual content.
- [Are.na](https://composio.dev/toolkits/arena) - Are.na is a creative research platform for collecting images, links, notes, and ideas in channels. Use it to organize inspiration, build knowledge maps, and connect research across projects.
- [Bannerbear](https://composio.dev/toolkits/bannerbear) - Bannerbear is an API-driven platform for generating images and videos automatically at scale. It helps businesses create custom graphics, social visuals, and marketing assets using powerful templates.
- [Bannerbite](https://composio.dev/toolkits/bannerbite) - Bannerbite is a creative automation platform for generating images and videos from reusable projects and templates. It helps teams produce on-brand visual assets faster without rebuilding designs from scratch.
- [BeatAPI](https://composio.dev/toolkits/beatapi) - BeatAPI is an asynchronous API platform for AI image, video, and music workflows. It enables scalable generation, video analysis, uploads, and ecommerce video pipelines.
- [Builder.io](https://composio.dev/toolkits/builder_io) - Builder.io is a visual development platform for managing content, models, assets, and Space configuration. Use it to ship editable digital experiences faster without waiting on every code change.
- [Canva](https://composio.dev/toolkits/canva) - Canva is a drag-and-drop design suite for creating professional graphics, presentations, and marketing materials. It makes it easy for anyone to design with beautiful templates and a vast library of elements.
- [Canva MCP](https://composio.dev/toolkits/canva_mcp) - Canva MCP is Canva's remote MCP server for accessing designs and content. It centralizes design assets and enables programmatic design workflows.
- [Claid ai](https://composio.dev/toolkits/claid_ai) - Claid.ai delivers AI-driven image editing APIs for tasks like background removal, upscaling, and color correction. It helps automate and enhance image workflows with powerful, developer-friendly tools.
- [Cloudinary](https://composio.dev/toolkits/cloudinary) - Cloudinary is a cloud-based platform for managing, uploading, and transforming images and videos. It streamlines media workflows and delivers optimized assets globally.
- [Clueso MCP](https://composio.dev/toolkits/clueso_mcp) - Clueso is a product video and documentation platform for creating polished visual content. It brings video editing, voiceovers, captions, animations, and exports into one hosted workspace.
- [Contentdrips](https://composio.dev/toolkits/contentdrips) - Contentdrips is an asynchronous rendering API for branded graphics and carousels. It turns reusable templates into on-brand social visuals at scale.
- [Creatomate](https://composio.dev/toolkits/creatomate) - Creatomate is an API for generating automated videos, images, GIFs, and reusable media templates. Use it to turn structured data into polished visual content at scale.
- [Creatomate MCP](https://composio.dev/toolkits/creatomate_mcp) - Creatomate is a hosted video and image generation platform for creating dynamic media from reusable templates. It helps teams automate branded content production without building a rendering pipeline.
- [Cults](https://composio.dev/toolkits/cults) - Cults is a digital marketplace for 3D printing models, connecting designers and makers. It lets creators share, sell, and discover a huge variety of printable designs easily.
- [DeepImage](https://composio.dev/toolkits/deepimage) - DeepImage is an AI-powered image enhancer and upscaler. Get higher-quality images with just a few clicks.
- [Details MCP](https://composio.dev/toolkits/details_mcp) - Details MCP is a curated library of web design references and paste-ready Vault code. It helps teams quickly find polished transitions, buttons, and page sections.
- [Dreamstudio](https://composio.dev/toolkits/dreamstudio) - DreamStudio is Stability AI’s platform for generating and editing images with AI. It lets you easily turn ideas into stunning visuals, fast.

## Frequently Asked Questions

### Do I need my own developer credentials to use Flowstep MCP with Composio?

Yes, Flowstep MCP requires you to configure your own DCR OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
