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

> Ligue o Flowstep ao Claude Code (CLI) utilizando o transporte HTTP MCP Streamable.

## Configuração

Adicione o servidor às definições do Claude Code. Utilize o ficheiro de definições global para o ativar em toda a parte, 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>

Em alternativa, utilize a CLI:

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

## Autenticação

O Claude Code processa o fluxo OAuth 2.1 PKCE automaticamente na primeira vez que chama uma ferramenta Flowstep. O seu navegador abre para `https://api.flowstep.ai/oauth/authorize`. Inicie sessão com as suas credenciais Flowstep e a CLI captura o callback.

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

## Verificar a ligação

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

O servidor deve aparecer como conectado. Depois, numa sessão Claude Code:

```
List my Flowstep files
```

## Exemplo de utilização

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