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

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

## 設定

編輯 `~/.codeium/windsurf/mcp_config.json`：

```json
{
  "mcpServers": {
    "flowstep": {
      "serverUrl": "https://api.flowstep.ai/mcp"
    }
  }
}
```

儲存後請重新啟動 Windsurf。

## 驗證

第一次使用時，Windsurf 會在瀏覽器中開啟 Flowstep OAuth 登入頁面。請使用你的 Flowstep 憑證登入（電子郵件/密碼或 Google SSO），在授權畫面點擊 **Allow**，Windsurf 便會儲存權杖。

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

## 驗證連線

開啟 Windsurf 中的 MCP 面板，確認 Flowstep 已列出。在 Cascade 對話中：

```
List my Flowstep files
```

## 使用範例

```
Create a Flowstep file called "Empty states", then generate a mobile empty-state screen
for a task list app with an illustration placeholder and a call-to-action button.
Show me the rendered result.
```

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