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

> Conecte o Flowstep ao Claude Code (CLI) usando o transporte HTTP MCP Streamable.

## Configuração

Adicione o servidor às suas configurações do Claude Code. Use o arquivo de configurações global para habilitá-lo em qualquer lugar ou adicione-o por projeto.

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

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

Alternativamente, use a CLI:

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

## Autenticação

Claude Code gerencia o fluxo OAuth 2.1 PKCE automaticamente na primeira vez que chama uma ferramenta Flowstep. Seu navegador abre para `https://api.flowstep.ai/oauth/authorize`. Faça login com suas credenciais Flowstep e a CLI captura o callback.

<Note>
  Você precisa de uma conta Flowstep antes de autenticar. Crie uma em [app.flowstep.ai](https://app.flowstep.ai).
</Note>

## Verificar a conexão

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

O servidor deve aparecer como conectado. Então, em uma sessão do Claude Code:

```
List my Flowstep files
```

## Exemplo de uso

```
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.
```
