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

> Streamable HTTP MCP 전송 방식을 사용해 Claude Code(CLI)에 Flowstep을 연결하세요.

## 설정

Claude Code CLI로 서버를 추가하세요.

```bash
claude mcp add --transport http flowstep https://api.flowstep.ai/mcp
```

저장소에서 작업하는 모든 사용자와 서버를 공유하려면, 프로젝트 루트의 `.mcp.json`에 추가하고 파일을 커밋하세요.

```json
{
  "mcpServers": {
    "flowstep": {
      "type": "http",
      "url": "https://api.flowstep.ai/mcp"
    }
  }
}
```

> [!NOTE]
>
> `"type": "http"` 필드는 Claude Code HTTP 서버에 필수입니다.

## 인증

Claude Code는 처음 Flowstep 도구를 호출할 때 OAuth 2.1 PKCE 흐름을 자동으로 처리합니다. 브라우저가 Flowstep 로그인 페이지를 엽니다. Flowstep 자격 증명(이메일/비밀번호 또는 Google)으로 로그인하고 동의 화면에서 **Allow**를 클릭하면, CLI가 콜백을 받습니다. 생성하거나 교체해야 하는 API 키는 없습니다.

> [!NOTE]
>
> 인증하기 전에 Flowstep 계정이 필요합니다. [app.flowstep.ai](https://app.flowstep.ai)에서 계정을 만드세요.

## 연결 확인

Claude Code 세션에 `/mcp`를 입력하세요. Flowstep이 연결된 상태로 표시되고 도구를 사용할 수 있어야 합니다. 그런 다음 다음 내용을 입력하세요.

```
List my Flowstep files
```

## 사용 예시

```
Generate a desktop settings screen in Flowstep for a developer tool, with sections
for API keys, notifications, and team members. Show me the rendered image when done.
```

Claude Code는 `ai-design-screens`를 호출한 다음 `get-screen-image`를 호출하고, 렌더링 결과를 인라인으로 보여줍니다. Claude Code는 이미 저장소를 열어 두고 있으므로, 이어서 “Now build this screen in our app”(이제 우리 앱에서 이 화면을 만들어 줘)이라고 요청할 수 있습니다. 그러면 `get-screen-jsx`로 디자인을 읽고 여러분의 컴포넌트를 사용해 구현합니다.
