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

> Flowstep’ni Streamable HTTP MCP transporti orqali Cursor’ga ulang.

## Sozlash

Serverni bir bosishda o‘rnatish uchun [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D) tugmasini bosing.

Yoki serverni MCP konfiguratsiyangizga o‘zingiz qo‘shing. Cursor buni ikki joydan qidiradi — barcha loyihalarda yoqish uchun global faylni, yoki faqat shu loyiha uchun saqlash uchun loyiha faylini ishlating.

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

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

Faylni saqlaganingizdan so‘ng Cursor’ni qayta ishga tushiring.

## Autentifikatsiya

**Settings → MCP** ni oching va Flowstep yonidagi **Connect** tugmasini bosing. Cursor brauzeringizni `https://api.flowstep.ai/oauth/authorize` manziliga ochadi. Flowstep ma’lumotlaringiz bilan tizimga kiring (email/password yoki Google SSO), so‘ng ruxsat ekranida **Allow** ni bosing. Cursor qayta chaqiruvni avtomatik qabul qiladi va tokenni saqlaydi.

> [!NOTE]
>
> Ulanishdan oldin Flowstep hisobingiz bo‘lishi kerak. Uni [app.flowstep.ai](https://app.flowstep.ai) da yarating.

## Ulanishni tekshirish

Cursor chatida yozing:

```
List my Flowstep files
```

Vosita chaqiruvi muvaffaqiyatli bo‘lsa, ulanish ishlayapti.

## Foydalanish misoli

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

Cursor ketma-ket `create-file` → `ai-design-screens` → `get-screen-image` ni chaqiradi.
