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

# Flowstep MCP — Cursor

> Connecta Flowstep a Cursor utilitzant el transport MCP HTTP transmissible.

## Configuració

Afegiu el servidor a la vostra configuració MCP. Cursor busca aquesta configuració en dues ubicacions — utilitzeu l'arxiu global per habilitar-lo en tots els projectes, o l'arxiu del projecte per mantenir-lo restringit a l'abast del projecte.

<Tabs>
  <Tab title="Global (~/.cursor/mcp.json)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Project (.cursor/mcp.json)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>
</Tabs>

Reinicieu Cursor després de guardar l'arxiu.

## Autenticació

Obriu **Settings → MCP** i feu clic a **Connect** al costat de Flowstep. Cursor obri el vostre navegador a `https://api.flowstep.ai/oauth/authorize`. Inicieu sessió amb les vostres credencials de Flowstep (correu electrònic/contrasenya o Google SSO). Cursor captura la crida de retorn automàticament i emmagatzema el token.

<Note>
  Necessiteu un compte de Flowstep abans de connectar-vos. Creeu-ne un a [app.flowstep.ai](https://app.flowstep.ai).
</Note>

## Verificar la connexió

En un xat de Cursor, escriviu:

```
List my Flowstep files
```

Si la crida a l'eina es realitza correctament, la connexió funciona.

## 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-prompt` → `get-screen-image` en seqüència.
