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

> Anslut Flowstep till Cursor med Streamable HTTP MCP-transporten.

## Konfiguration

Klicka på [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D) för att installera servern med ett klick.

Eller lägg till servern i din MCP-konfiguration själv. Cursor letar efter den på två platser. Använd den globala filen för att aktivera den i alla projekt, eller projektfilen för att begränsa den till projektet.

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

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

Starta om Cursor efter att du har sparat filen.

## Autentisering

Öppna **Settings → MCP** och klicka på **Connect** bredvid Flowstep. Cursor öppnar din webbläsare till `https://api.flowstep.ai/oauth/authorize`. Logga in med dina Flowstep-uppgifter (e-post/lösenord eller Google SSO) och klicka sedan på **Allow** på godkännandesidan. Cursor fångar callbacken automatiskt och sparar token.

> [!NOTE]
>
> Du behöver ett Flowstep-konto innan du ansluter. Skapa ett på [app.flowstep.ai](https://app.flowstep.ai).

## Verifiera anslutningen

I en Cursor-chatt skriver du:

```
List my Flowstep files
```

Om verktygsanropet lyckas fungerar anslutningen.

## Användningsexempel

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

Cursor anropar `create-file` → `ai-design-screens` → `get-screen-image` i följd.
