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