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

> 使用 Streamable HTTP MCP 傳輸方式，將 Flowstep 連接到 Cursor。

## 設定

點擊 [**Add Flowstep to Cursor**](https://cursor.com/install-mcp?name=flowstep\&config=eyJ1cmwiOiJodHRwczovL2FwaS5mbG93c3RlcC5haS9tY3AifQ%3D%3D)，即可一鍵安裝伺服器。

你也可以自行將伺服器加入 MCP 設定。Cursor 會在兩個位置尋找此設定：若要在所有專案中啟用，請使用全域檔案；若要限定於特定範圍，請使用專案檔案。

> [tab] 全域（\~/.cursor/mcp.json）
>
> ```json theme={"system"}
> {
>   "mcpServers": {
>     "flowstep": {
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```

> [tab] 專案（.cursor/mcp.json）
>
> ```json theme={"system"}
> {
>   "mcpServers": {
>     "flowstep": {
>       "url": "https://api.flowstep.ai/mcp"
>     }
>   }
> }
> ```

儲存檔案後，請重新啟動 Cursor。

## 驗證

開啟 **Settings → MCP**，然後點擊 Flowstep 旁的 **Connect**。Cursor 會在瀏覽器中開啟 `https://api.flowstep.ai/oauth/authorize`。請使用你的 Flowstep 憑證登入（電子郵件/密碼或 Google SSO），接著在授權畫面點擊 **Allow**。Cursor 會自動接收回呼並儲存權杖。

> [!NOTE]
>
> 連接前你需要一個 Flowstep 帳號。請在 [app.flowstep.ai](https://app.flowstep.ai) 建立。

## 驗證連線

在 Cursor 對話中輸入：

```
List my Flowstep files
```

若工具呼叫成功，表示連線正常。

## 使用範例

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

Cursor 會依序呼叫 `create-file` → `ai-design-screens` → `get-screen-image`。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.