> ## 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 — Claude Desktop

> 使用 Streamable HTTP MCP 傳輸協議將 Flowstep 連接至 Claude Desktop。

## 設定

編輯 `claude_desktop_config.json`。檔案位置取決於您的作業系統：

* **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
* **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

<Tabs>
  <Tab title="原生 HTTP (Claude Desktop v0.9+)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "type": "http",
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="mcp-remote (較舊版本)">
    需要安裝 Node.js。

    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://api.flowstep.ai/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

儲存後重新啟動 Claude Desktop。

## 驗證

Claude Desktop 在首次連接時會開啟您的瀏覽器至 `https://api.flowstep.ai/oauth/authorize`。使用您的 Flowstep 認證登入，應用程式會擷取回調。

<Note>
  連接前您需要有 Flowstep 帳戶。可在 [app.flowstep.ai](https://app.flowstep.ai) 建立。
</Note>

## 驗證連接

在 Claude Desktop 對話中：

```
List my Flowstep files
```

如果您看到檔案清單（如果沒有檔案則為空陣列），連接即可運作。

## 使用範例

```
Create a Flowstep file called "Profile page", generate a mobile profile screen
with an avatar, display name, bio, and an edit button. Show me the rendered image.
```

Claude Desktop 會依序呼叫 `create-file` → `ai-prompt` → `get-screen-image`。
