> ## Documentation Index
> Fetch the complete documentation index at: https://flowstep.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Quickstart

> Connect Flowstep to your coding agent and run your first tool call.

## Prerequisites

* A Flowstep account ([app.flowstep.ai](https://app.flowstep.ai))

> [!TIP]
>
> Using Claude on claude.ai or Claude Desktop? Flowstep is a listed connector in Claude’s directory — add it in one click from [claude.ai/directory/flowstep](https://claude.ai/directory/flowstep). See [claude.ai](https://flowstep.ai/docs/mcp/clients/claude-ai.md).

> [tab] Cursor
>
> **Requires Cursor v0.43+**
>
> ## Step 1 — Add the server
>
> Click [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D) to install it in one click, or create or edit `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` in your project root:
>
> ```json
> {
>   "mcpServers": {
>     "flowstep": {
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```
>
> Restart Cursor after saving.
>
> ## Step 2 — Authenticate
>
> Open the Cursor MCP panel (Settings → MCP) and click **Connect** next to Flowstep. Cursor opens your browser to the Flowstep sign-in page. Sign in with your Flowstep credentials (email/password or Google), then click **Allow** on the consent screen. The browser redirects back and Cursor stores the token automatically.
>
> > [!NOTE]
> >
> > You need a Flowstep account before authenticating. If you don’t have one, sign up at [app.flowstep.ai](https://app.flowstep.ai) first.
>
> ## Step 3 — Run a tool call
>
> In a Cursor chat, ask:
>
> > “List my Flowstep files”
>
> Cursor calls `list-files` and returns your file list. If the response is empty, create a file first:
>
> > “Create a new Flowstep file called ‘Dashboard’”
>
> ## Step 4 — Generate a screen
>
> ```
> Generate a mobile login screen in Flowstep for a SaaS app with email/password
> fields and a Google sign-in button. After it finishes, show me the image.
> ```
>
> Cursor calls `ai-design-screens` (which creates a new file and generates the screens in one step), then `get-screen-image`. You’ll see the rendered design inline in the chat.

> [tab] Claude Code
>
> **Requires Claude Code CLI**
>
> ## Step 1 — Add the server
>
> Run this in your project:
>
> ```bash
> claude mcp add --transport http flowstep https://api.flowstep.ai/mcp
> ```
>
> To share the server with your team, add it to `.mcp.json` in your project root instead:
>
> ```json
> {
>   "mcpServers": {
>     "flowstep": {
>       "type": "http",
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```
>
> > [!NOTE]
> >
> > The `"type": "http"` field is required for Claude Code HTTP servers. Cursor does not need it.
>
> ## Step 2 — Authenticate
>
> Run any Flowstep tool from a Claude Code chat. On first use, Claude Code opens your browser to the Flowstep sign-in page. Sign in with your Flowstep credentials (email/password or Google), then click **Allow** on the consent screen. The browser redirects back and the token is stored automatically. Type `/mcp` in Claude Code to check that Flowstep is connected.
>
> > [!NOTE]
> >
> > You need a Flowstep account before authenticating. If you don’t have one, sign up at [app.flowstep.ai](https://app.flowstep.ai) first.
>
> ## Step 3 — Run a tool call
>
> In a Claude Code chat, ask:
>
> > “List my Flowstep files”
>
> Claude Code calls `list-files` and returns your file list. If the response is empty, create a file first:
>
> > “Create a new Flowstep file called ‘Dashboard’”
>
> ## Step 4 — Generate a screen
>
> ```
> Generate a mobile login screen in Flowstep for a SaaS app with email/password
> fields and a Google sign-in button. After it finishes, show me the image.
> ```
>
> Claude Code calls `ai-design-screens` (which creates a new file and generates the screens in one step), then `get-screen-image`. You’ll see the rendered design inline in the chat.

> [!NOTE]
>
> `ai-design-screens` and the other AI design tools draw on your Flowstep message allowance. Listing, reading, and rendering screens is free. See [Usage limits](https://flowstep.ai/docs/mcp/usage-limits.md).

## Next steps

* [Tools reference](https://flowstep.ai/docs/mcp/tools.md) — full input/output docs for all 22 tools
* [Examples](https://flowstep.ai/docs/mcp/examples.md) — multi-step workflows
* [Other clients](https://flowstep.ai/docs/mcp/clients/claude-code.md) — Windsurf, Codex, Claude Desktop, claude.ai
