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

# Flowstep MCP — Cursor

> Connetti Flowstep a Cursor usando il trasporto MCP Streamable HTTP.

## Configurazione

Fai clic su [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D) per installare il server con un solo clic.

Oppure aggiungi il server tu stesso alla configurazione MCP. Cursor cerca questa configurazione in due posizioni: usa il file globale per abilitarlo in tutti i progetti, oppure il file di progetto per limitarlo al progetto.

> [tab] Globale (~/.cursor/mcp.json)
>
> ```json
> {
>   "mcpServers": {
>     "flowstep": {
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```

> [tab] Progetto (.cursor/mcp.json)
>
> ```json
> {
>   "mcpServers": {
>     "flowstep": {
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```

Riavvia Cursor dopo aver salvato il file.

## Autenticazione

Apri **Settings → MCP** e fai clic su **Connect** accanto a Flowstep. Cursor apre il browser su `https://api.flowstep.ai/oauth/authorize`. Accedi con le tue credenziali Flowstep (email/password o Google SSO), poi fai clic su **Allow** nella schermata di consenso. Cursor cattura automaticamente il callback e salva il token.

> [!NOTE]
>
> Ti serve un account Flowstep prima di connetterti. Crealo su [app.flowstep.ai](https://app.flowstep.ai).

## Verifica la connessione

In una chat di Cursor, digita:

```
List my Flowstep files
```

Se la chiamata allo strumento riesce, la connessione funziona.

## Esempio di utilizzo

```
Create a Flowstep file called "Onboarding", generate a mobile sign-up screen
with name, email, and password fields, then show me the image.
```

Cursor chiamerà `create-file` → `ai-design-screens` → `get-screen-image` in sequenza.
