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

> Connecta Flowstep a Cursor mitjançant el transport HTTP en flux de MCP.

## Configuració

Fes clic a [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D) per instal·lar el servidor en un clic.

O afegeix el servidor tu mateix a la configuració de MCP. Cursor busca això en dues ubicacions: fes servir el fitxer global per activar-lo a tots els projectes, o el fitxer del projecte per limitar-lo a un projecte.

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

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

Reinicia Cursor després de desar el fitxer.

## Autenticació

Obre **Settings → MCP** i fes clic a **Connect** al costat de Flowstep. Cursor obre el navegador a `https://api.flowstep.ai/oauth/authorize`. Inicia sessió amb les teves credencials de Flowstep (correu electrònic i contrasenya o Google SSO) i després fes clic a **Allow** a la pantalla de consentiment. Cursor captura la resposta de retorn automàticament i desa el token.

> [!NOTE]
>
> Necessites un compte de Flowstep abans de connectar-te. Crea’n un a [app.flowstep.ai](https://app.flowstep.ai).

## Verifica la connexió

En un xat de Cursor, escriu:

```
List my Flowstep files
```

Si la crida a l’eina funciona, la connexió és correcta.

## Exemple d’ús

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

Cursor cridarà `create-file` → `ai-design-screens` → `get-screen-image` en seqüència.
