> ## 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` を編集してください。ファイルの場所はOSによって異なります。

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

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

  <Tab title="mcp-remote (older versions)">
    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` の順に呼び出します。
