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

> Anslut Flowstep till Claude Code (CLI) med HTTP MCP-transporten Streamable.

## Konfiguration

Lägg till servern i dina Claude Code-inställningar. Använd den globala inställningsfilen för att aktivera den överallt, eller lägg till den per projekt.

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

Du kan också använda CLI:

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

## Autentisering

Claude Code hanterar OAuth 2.1 PKCE-flödet automatiskt första gången det anropar ett Flowstep-verktyg. Din webbläsare öppnas på `https://api.flowstep.ai/oauth/authorize`. Logga in med dina Flowstep-uppgifter och CLI fångar upp återanropet.

<Note>
  Du behöver ett Flowstep-konto innan du autentiserar. Skapa ett på [app.flowstep.ai](https://app.flowstep.ai).
</Note>

## Verifiera anslutningen

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

Servern bör visas som ansluten. Sedan i en Claude Code-session:

```
List my Flowstep files
```

## Användningsexempel

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