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

> اربط Flowstep بـ Claude Desktop باستخدام نقل Streamable HTTP MCP.

## التكوين

عدّل `claude_desktop_config.json`. يعتمد موقع الملف على نظام التشغيل لديك:

* **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
* **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

<Tabs>
  <Tab title="HTTP الأصلي (Claude Desktop v0.9+)">
    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "type": "http",
          "url": "https://api.flowstep.ai/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="mcp-remote (الإصدارات الأقدم)">
    يتطلب تثبيت Node.js.

    ```json theme={"system"}
    {
      "mcpServers": {
        "flowstep": {
          "command": "npx",
          "args": ["-y", "mcp-remote", "https://api.flowstep.ai/mcp"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

أعد تشغيل Claude Desktop بعد الحفظ.

## المصادقة

يفتح Claude Desktop متصفحك إلى `https://api.flowstep.ai/oauth/authorize` عند أول اتصال. قم بتسجيل الدخول باستخدام بيانات اعتمادك في Flowstep وسيلتقط التطبيق رد الاستدعاء.

<Note>
  تحتاج إلى حساب Flowstep قبل الاتصال. أنشئ واحداً في [app.flowstep.ai](https://app.flowstep.ai).
</Note>

## التحقق من الاتصال

في محادثة Claude Desktop:

```
List my Flowstep files
```

إذا رأيت قائمة ملفات (أو مصفوفة فارغة إذا كنت لم تنشئ أي ملفات بعد)، فإن الاتصال يعمل.

## مثال على الاستخدام

```
Create a Flowstep file called "Profile page", generate a mobile profile screen
with an avatar, display name, bio, and an edit button. Show me the rendered image.
```

سيستدعي Claude Desktop `create-file` → `ai-prompt` → `get-screen-image` بالتسلسل.
