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

> Streamable HTTP MCP トランスポートを使用して Flowstep を Claude Code (CLI) に接続します。

## 設定

Claude Code の設定にサーバーを追加してください。グローバル設定ファイルを使用してすべての場所で有効にするか、プロジェクト単位で追加できます。

<Tabs>
  <Tab title="グローバル (~/.claude/settings.json)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep-production": {
          "type": "http",
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="プロジェクト (.claude/settings.json)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep-production": {
          "type": "http",
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>
</Tabs>

または、CLI を使用してください：

```bash theme={"system"}
claude mcp add --transport http flowstep-production https://api.flowstep.ai/mcp
```

## 認証

Claude Code は Flowstep ツールを初めて呼び出すときに OAuth 2.1 PKCE フローを自動的に処理します。ブラウザが `https://api.flowstep.ai/oauth/authorize` に開き、Flowstep の認証情報でサインインすると、CLI がコールバックをキャプチャします。

<Note>
  認証する前に Flowstep アカウントが必要です。[app.flowstep.ai](https://app.flowstep.ai) で作成してください。
</Note>

## 接続を確認する

```bash theme={"system"}
claude mcp list
```

サーバーが接続済みとして表示されるはずです。その後、Claude Code セッションで以下を実行してください：

```
List my Flowstep files
```

## 使用例

```
Create a Flowstep file called "Settings page", generate a desktop settings screen
for a developer tool with sections for API keys, notifications, and team members.
Show me the rendered image when done.
```
