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

> Hubungkan Flowstep ke Cursor menggunakan transport MCP HTTP Streamable.

## Konfigurasi

Tambahkan server ke konfigurasi MCP Anda. Cursor mencari file ini di dua lokasi — gunakan file global untuk mengaktifkannya di semua proyek, atau file proyek untuk membatasinya ke proyek tertentu.

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

Mulai ulang Cursor setelah menyimpan file.

## Autentikasi

Buka **Settings → MCP** dan klik **Connect** di samping Flowstep. Cursor membuka browser Anda ke `https://api.flowstep.ai/oauth/authorize`. Masuk dengan kredensial Flowstep Anda (email/password atau Google SSO). Cursor menangkap callback secara otomatis dan menyimpan token.

<Note>
  Anda memerlukan akun Flowstep sebelum terhubung. Buat satu di [app.flowstep.ai](https://app.flowstep.ai).
</Note>

## Verifikasi koneksi

Dalam chat Cursor, ketik:

```
List my Flowstep files
```

Jika pemanggilan tool berhasil, koneksi sudah bekerja.

## Contoh penggunaan

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

Cursor akan memanggil `create-file` → `ai-prompt` → `get-screen-image` secara berurutan.
